summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--style.css101
1 files changed, 34 insertions, 67 deletions
diff --git a/style.css b/style.css
index 31cf46f..6130700 100644
--- a/style.css
+++ b/style.css
@@ -1,87 +1,54 @@
-html {
- font-size: 100%;
-}
body {
- padding: 0;
- margin: 0 auto;
font-family: system-ui, sans-serif;
- font-weight: normal;
max-width: 600px;
+ margin-inline: auto;
+ padding-inline: 1rem;
+ line-height: 1.5;
}
-main {
- margin: 0 1rem;
+
+h2 {
+ margin-block-start: 2rem;
}
-body > header {
- padding: 0.5rem 1rem;
- color: FieldText;
- background-color: Field;
+
+img {
+ max-width: 100%;
}
-section header {
- font-style: italic;
+
+figure {
+ margin-inline: 0;
}
-nav {
- display: inline-block;
+
+nav ul {
+ list-style: none;
+ padding-inline-start: 0;
}
-header > span,
-footer > span {
+
+nav li,
+footer li {
+ display: inline-block;
margin-right: 0.5rem;
}
+
footer {
- border-top: 1px solid FieldText;
- padding: 0.5rem 1rem;
+ border-top: 1px solid;
+ padding-top: 0.5rem;
}
-footer > ul {
- display: inline-block;
-}
-nav ul,
+
footer ul {
- list-style-type: none;
- margin: 0;
- padding: 0;
-}
-nav > ul > li,
-footer > ul > li {
- display: inline-block;
- margin-right: 0.5rem;
- vertical-align: top;
-}
-nav > ul > li::before,
-footer > ul > li::before {
- content: "✧ ";
+ padding-left: 0;
}
-nav ul li a,
-nav ul li a:visited {
- color: FieldText;
-}
-p {
- margin: 1rem 0;
- line-height: 1.5rem;
-}
-sup {
- font-size: 0.75em;
- line-height: 0;
-}
-img {
- width: 100%;
- height: auto;
-}
-figure {
- margin: 1rem 4rem;
+
+blockquote {
+ border-left: 2px solid;
+ padding-left: 1rem;
}
+
aside {
- color: FieldText;
+ border: 1px solid;
padding: 1rem;
margin: 1rem 0;
- border: 1px solid FieldText;
- background-color: Field;
- font-style: italic;
}
-blockquote {
- color: FieldText;
- padding: 0.5rem 1rem;
- background-color: Field;
- border-inline-start: 4px solid FieldText;
-}
-h2, h3, h4, h5, h6 {
- margin-top: 3rem;
+
+figcaption {
+ font-style: italic;
}