summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'style.css')
-rw-r--r--style.css50
1 files changed, 34 insertions, 16 deletions
diff --git a/style.css b/style.css
index aa281f3..e6ab82f 100644
--- a/style.css
+++ b/style.css
@@ -3,16 +3,16 @@ html {
}
body {
padding: 0;
- margin: 0;
+ margin: 0 auto;
font-family: system-ui, sans-serif;
font-weight: normal;
+ max-width: 600px;
}
main {
- margin: 0 auto;
- padding: 0.5rem 1rem;
- max-width: 650px;
+ margin: 0 1rem;
}
body > header {
+ display: inline-block;
padding: 0.5rem 1rem;
color: FieldText;
background-color: Field;
@@ -21,18 +21,35 @@ section header {
font-style: italic;
}
nav {
- float: right;
+ display: inline-block;
+}
+header > span,
+footer > span {
+ margin-right: 0.5rem;
+}
+footer {
+ border-top: 1px solid FieldText;
+ padding: 0.5rem 1rem;
+}
+footer > ul {
+ display: inline-block;
}
-nav ul {
+nav ul,
+footer ul {
list-style-type: none;
margin: 0;
padding: 0;
}
-nav > ul > li {
+nav > ul > li,
+footer > ul > li {
display: inline-block;
- margin-left: 1rem;
+ margin-right: 0.5rem;
vertical-align: top;
}
+nav > ul > li::before,
+footer > ul > li::before {
+ content: "✧ ";
+}
nav ul li a,
nav ul li a:visited {
color: FieldText;
@@ -42,11 +59,8 @@ p {
line-height: 1.5rem;
}
sup {
- font-size: 0.75rem;
+ font-size: 0.75em;
line-height: 0;
- position: relative;
- vertical-align: baseline;
- top: -0.5em;
}
img {
width: 100%;
@@ -58,13 +72,17 @@ figure {
aside {
color: FieldText;
padding: 1rem;
+ margin: 1rem 0;
border: 1px solid FieldText;
background-color: Field;
font-style: italic;
}
-.footnotes {
- font-size: smaller;
+blockquote {
+ color: FieldText;
+ padding: 0.5rem 1rem;
+ background-color: Field;
+ border-inline-start: 4px solid FieldText;
}
-.footnotes li {
- margin-left: 0;
+h2, h3, h4, h5, h6 {
+ margin-top: 3rem;
}