help/rtfd/public/html/style/main.css

163 lines
1.9 KiB
CSS
Raw Normal View History

2025-01-25 15:01:16 +01:00
/*
2025-01-27 10:58:14 +01:00
16 1
17 1.0625
18 1.125
19 1.1875
20 1.25
21 1.3125
22 1.375
phone: 480 px
tablet: 768 px
laptop: 1024 px
desktop: 1366 px
2025-01-25 15:01:16 +01:00
block-size height
2025-01-25 17:19:30 +01:00
(border|padding)-block[-start|end]
(border|padding)-inline[-start|end]
2025-01-25 15:01:16 +01:00
inline-size width
margin-block vspace
*/
2025-01-26 15:52:36 +01:00
/**/
@import "debug.css";
/**/
@import "reset.css";
2025-01-25 17:19:30 +01:00
2025-01-25 14:01:09 +01:00
html {
}
2025-01-24 18:02:11 +01:00
body {
2025-01-25 10:58:39 +01:00
background-color: #111;
2025-01-26 15:52:36 +01:00
background-image: url("../images/logo.svg");
2025-01-26 12:35:42 +01:00
background-position: center;
background-size: cover;
2025-01-25 10:58:39 +01:00
color: #777;
2025-01-27 00:31:16 +01:00
font-family: monospace;
2025-01-27 11:48:41 +01:00
line-height: 1.125;
2025-01-26 17:42:04 +01:00
margin-block: 0;
margin-inline: auto;
2025-01-27 00:31:16 +01:00
max-inline-size: 160ch;
2025-01-25 10:58:39 +01:00
text-align: start;
2025-01-24 18:02:11 +01:00
}
header {
2025-01-25 14:01:09 +01:00
background-color: #300;
2025-01-26 19:38:23 +01:00
display: flex;
gap: 1em;
justify-content: space-between;
2025-01-25 19:42:38 +01:00
padding: 1em 2em;
}
2025-01-26 18:33:06 +01:00
.columns {
display: grid;
gap: 1em;
2025-01-27 01:14:29 +01:00
@media (width > 40rem) {
2025-01-26 18:33:06 +01:00
grid-template-columns: 1fr 2fr;
}
2025-01-26 21:55:22 +01:00
}
2025-01-26 18:33:06 +01:00
2025-01-25 19:42:38 +01:00
.sectionless {
background-color: #630;
padding: .5em 1em;
}
2025-01-26 15:33:58 +01:00
.sectionless .thing {
2025-01-25 19:42:38 +01:00
font-size: 1.5em;
2025-01-25 14:01:09 +01:00
}
2025-01-26 17:23:23 +01:00
.wrapper {
display: flex;
}
2025-01-25 14:01:09 +01:00
main {
}
h1, h2, h3, h4, h5, h6 {
background-color: #222;
2025-01-24 18:02:11 +01:00
}
h1 {
2025-01-25 17:19:30 +01:00
border-color: #fff;
border-radius: .25em;
border-style: solid;
border-width: .1em;
2025-01-25 10:58:39 +01:00
color: #f77;
2025-01-27 00:31:16 +01:00
font-size: 3rem;
2025-01-24 18:02:11 +01:00
text-align: center;
}
2025-01-26 17:49:23 +01:00
img {
2025-01-26 18:33:06 +01:00
display: block;
max-inline-size: 100%;
2025-01-26 17:49:23 +01:00
}
2025-01-25 14:01:09 +01:00
p {
background-color: #330;
}
section {
background-color: #033;
2025-01-26 17:23:23 +01:00
margin-block: 1em;
margin-inline: 1em;
2025-01-27 00:31:16 +01:00
max-inline-size: 40ch;
2025-01-25 14:01:09 +01:00
}
2025-01-25 15:01:16 +01:00
strong {
color: red;
}
2025-01-25 14:01:09 +01:00
ol, ul {
background-color: #303;
}
2025-01-26 15:33:58 +01:00
ol {
list-style: decimal;
}
ul {
list-style: disc;
}
li {
margin-block: .25em;
}
2025-01-26 16:13:53 +01:00
ul li::marker {
content: "×";
}
2025-01-25 14:01:09 +01:00
2025-01-26 19:38:23 +01:00
header nav a {
text-decoration: none;
}
header nav a:focus-visible,
header nav a:hover {
background-color: blue;
}
header nav ul {
display: flex;
2025-01-27 01:14:29 +01:00
font-size: 1.5rem;
2025-01-26 19:38:23 +01:00
gap: 1em;
list-style: none;
padding: 0;
}
header nav li::marker {
content: none;
}
2025-01-25 10:58:39 +01:00
a {
2025-01-25 14:01:09 +01:00
color: inherit;
2025-01-25 10:58:39 +01:00
}
2025-01-25 22:56:42 +01:00
a:visited {
}
2025-01-26 19:38:23 +01:00
a:focus-visible,
a:hover {
2025-01-25 22:56:42 +01:00
}
a:active {
}
2025-01-25 10:58:39 +01:00
h2 {
color: #f77;
}
2025-01-24 18:02:11 +01:00
footer {
2025-01-25 14:01:09 +01:00
background-color: #003;
2025-01-25 17:20:46 +01:00
padding: 1em 2em;
2025-01-24 18:02:11 +01:00
text-align: end;
}