summaryrefslogtreecommitdiff
path: root/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'head.html')
-rw-r--r--head.html27
1 files changed, 22 insertions, 5 deletions
diff --git a/head.html b/head.html
index aa4f00e..b9f0334 100644
--- a/head.html
+++ b/head.html
@@ -6,13 +6,21 @@
body {font-family: sans-serif;font-size:larger;max-width:60ch;margin:auto}
body {background-image: url("/bg.png");image-rendering:pixelated}
h1 {color:#e79e00; text-shadow: 0 0 1px #000, 0 0 1px #000, 0 0 1px #000, 0 0 1px #000, 0 0 1px #000, 0 0 1px #000;}
-section {margin:20px 0;padding:20px;border-radius:20px;border:1.7px solid black;background-color:white}
+section {margin:20px 0;padding:10px 20px;border-radius:20px;border:1.7px solid black;background-color:white}
+
+h2,h3 {margin:5px auto}
header {border: 2px solid black;max-width:100%;margin:1em;background-color:white}
-header {display:grid;grid-template-columns:1fr 3fr;}
-#me {max-width:100%;grid-row: 1/3;grid-column:1;margin:auto}
-header * {margin:auto}
-header p {padding:1em}
+
+header.big-header {display:grid;grid-template-columns:1fr 3fr;}
+header.big-header #me {max-width:100%;grid-row: 1/3;grid-column:1}
+header.big-header * {margin:auto}
+header.big-header p {padding:1em}
+header.big-header h1:last-child {grid-row: 1/3}
+
+header.small-header * {margin:10px auto; width:max-content}
+
+nav {background-color:#eee;border-radius:20px;border:1.7px solid black}
.breadcrumb {font-size:smaller;}
.breadcrumb ol {list-style:none;padding-left:1em}
@@ -21,4 +29,13 @@ header p {padding:1em}
.postlist li {list-style:none;}
.postlist time {color:#555;font-style:italic}
+
+.question-date {color:gray;font-size:small;margin-bottom:0;margin-top:30px}
+.question-date:first-child {margin-top: 0;}
+.question-date::before {content:"["}
+.question-date::after {content:"]"}
+.question-heading {margin-top:0px;margin-bottom:4px}
+.question-heading + p {margin-top:5px}
+
+textarea {width: calc(100% - 14px);height:200px}
</style>