summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-04-13 08:26:22 +0300
committerLars Wirzenius <liw@liw.fi>2021-04-13 08:26:22 +0300
commit9c3aea4d8b39fda71598d952836ff4bf6095e9ab (patch)
treea7188ee884760c4b529c73c73b01047f0521aeed
parentb74d4f43ec255e0a525d4b70309e930ce0d2b1d2 (diff)
downloadvmdb2.liw.fi-9c3aea4d8b39fda71598d952836ff4bf6095e9ab.tar.gz
chore: update styling from ikiwiki-style
-rw-r--r--style.css18
-rw-r--r--templates/page.tmpl9
2 files changed, 27 insertions, 0 deletions
diff --git a/style.css b/style.css
index 88a06e2..9252d88 100644
--- a/style.css
+++ b/style.css
@@ -46,6 +46,7 @@ div.pageheader {
}
.pageheader span.title {
+ display: block;
font-size: 200%;
font-weight: bold;
font-family: sans-serif;
@@ -130,3 +131,20 @@ div.wisdom p.quote {
.normalPC { font-size: 120%; }
.bigPC { font-size: 150%; }
.biggestPC { font-size: 200%; }
+
+
+table {
+ border: 0px;
+ width: 100%;
+}
+
+th {
+ font-weight: bold;
+}
+
+tr {
+}
+
+tr:nth-child(even) {
+ background-color: #f2f2f2;
+}
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 712a65f..849dd7d 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -19,6 +19,15 @@
<span class="title">
<TMPL_VAR TITLE>
</span>
+
+<TMPL_IF TAGS>
+<nav class="tags">
+<TMPL_LOOP TAGS>
+<TMPL_VAR LINK>
+</TMPL_LOOP>
+</nav>
+</TMPL_IF>
+
</span>
</header>
</section>