summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-08-16 06:19:14 +0000
committerLars Wirzenius <liw@liw.fi>2021-08-16 06:19:14 +0000
commitfa23e4145dcb57c82720956fb81c3a394f0bf8fd (patch)
tree37d0bb7e873d7378637389b7154fe1ecd1f6a1d7
parent6c73a1cf04d3f0f3adcb56b9f02bb06f90653d5d (diff)
parent83deb90ac187ab56a68a0a009e517c9ca0fce8a1 (diff)
downloadobnam.org-fa23e4145dcb57c82720956fb81c3a394f0bf8fd.tar.gz
Merge branch 'style-updatte' into 'main'
style: make page date use monospace; style tables See merge request obnam/obnam.org!52
-rw-r--r--style.css23
-rw-r--r--templates/page.tmpl24
2 files changed, 34 insertions, 13 deletions
diff --git a/style.css b/style.css
index fad5a22..b905050 100644
--- a/style.css
+++ b/style.css
@@ -61,7 +61,11 @@ div.pagefooter {
margin-top: 3em;
}
-span.date {
+span.date, .pagedate {
+ font-family: monospace;
+}
+
+.tags {
font-family: monospace;
}
@@ -131,3 +135,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 849dd7d..d3ef033 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -20,13 +20,18 @@
<TMPL_VAR TITLE>
</span>
-<TMPL_IF TAGS>
-<nav class="tags">
-<TMPL_LOOP TAGS>
-<TMPL_VAR LINK>
-</TMPL_LOOP>
-</nav>
-</TMPL_IF>
+ <nav id="pageinfo">
+ <span class="pagedate"><TMPL_VAR MTIME></span>
+
+ <TMPL_IF TAGS>
+ <span class="tags">
+ <TMPL_LOOP TAGS>
+ <TMPL_VAR LINK>
+ </TMPL_LOOP>
+ </span>
+ </TMPL_IF>
+
+ </nav>
</span>
</header>
@@ -42,11 +47,6 @@
</section>
</div>
- <footer id="footer" class="pagefooter" role="contentinfo">
- <nav id="pageinfo">
- <div class="pagedate">Last edited <TMPL_VAR MTIME></div>
- </nav>
- </footer>
</article>
</body>
</html>