summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-01-21 10:00:55 +0000
committerLars Wirzenius <liw@liw.fi>2021-01-21 10:00:55 +0000
commit287507822c937881c203adb8c34a57fbdd806763 (patch)
tree8b28178caf82fb8c84782d5ab498b3817f0dde08
parent387dcaa6a4cd78a59ab5631b0aed46eae268de09 (diff)
parent986d779d42b79779a6c8f221459693a0337c0740 (diff)
downloadobnam.org-287507822c937881c203adb8c34a57fbdd806763.tar.gz
Merge branch 'fix' into 'main'
update style.css from my ikiwiki style See merge request larswirzenius/obnam.org!22
-rw-r--r--style.css27
1 files changed, 14 insertions, 13 deletions
diff --git a/style.css b/style.css
index 5dc85a3..e6cb078 100644
--- a/style.css
+++ b/style.css
@@ -6,6 +6,17 @@ html {
margin-top: 2em;
}
+body {
+ display: grid;
+ grid-template-columns: 1em auto 2em;
+}
+
+.page {
+ grid-column-start: 2;
+ grid-column-end: 3;
+ max-width: 60em;
+}
+
h1, h2, h3, h4, h5, h6 {
font-family: sans-serif;
font-weight: bold;
@@ -53,32 +64,22 @@ span.date {
font-family: monospace;
}
-div.inlineheader span.header {
+.inlineheader {
display: block;
font-family: sans-serif;
font-size: 150%;
font-weight: bold;
}
-div.inlinepage {
+.inlinepage {
margin-top: 3em;
margin-bottom: 3em;
}
-div.inlinefooter {
+.inlinefooter {
font-family: monospace;
}
-div.sidebar {
- display: none;
- float: right;
- max-width: 10em;
- margin-top: 0;
- margin-bottom: 0;
- margin-right: 0;
- margin-left: 1em;
-}
-
.float_right {
float: right;
margin-left: 1em;