summaryrefslogtreecommitdiff
path: root/css/content.scss
diff options
context:
space:
mode:
Diffstat (limited to 'css/content.scss')
-rw-r--r--css/content.scss20
1 files changed, 12 insertions, 8 deletions
diff --git a/css/content.scss b/css/content.scss
index 515044f..c80c7c7 100644
--- a/css/content.scss
+++ b/css/content.scss
@@ -1,7 +1,8 @@
#content {
- margin: auto;
- max-width: 72rem;
- padding: 2rem;
+ margin: auto;
+ max-width: 72rem;
+ padding: 1rem;
+ padding-top: calc($frontPageHeight + 1rem);
p:not(.heading, #contentHeading, #cloneNotice p) {
line-height: 2em;
@@ -53,12 +54,14 @@
}
}
- section:nth-of-type(even) p.heading {
- text-align: right;
- }
+ section {
+ & + section {
+ margin-top: 1rem;
+ }
- section + section {
- margin-top: 1rem;
+ &:nth-of-type(even) p.heading {
+ text-align: right;
+ }
}
p.heading {
@@ -119,6 +122,7 @@
font-family: "Martian Mono", "monospace";
font-size: 0.75em;
image-rendering: pixelated;
+ margin-top: 1rem;
padding: 1rem;
.separator {