summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-08-24 08:26:15 -0400
committerAmin Bandali <bandali@gnu.org>2020-08-24 08:26:15 -0400
commit425b5263c0ba6ca93cfdea4bb325d61c0a964714 (patch)
treeb26d0432b53c8542814a5b04b80af4f0f5de6440
parent235cb06e99b4ecaf9840de581b5f3f0af6fd3e4c (diff)
downloademacsconf-wiki-425b5263c0ba6ca93cfdea4bb325d61c0a964714.tar.xz
emacsconf-wiki-425b5263c0ba6ca93cfdea4bb325d61c0a964714.zip
wrap .pageheader so that we get a nice full-width bar at the top
-rw-r--r--local.css9
-rw-r--r--templates/page.tmpl2
2 files changed, 11 insertions, 0 deletions
diff --git a/local.css b/local.css
index 26b230bb..b36c0d00 100644
--- a/local.css
+++ b/local.css
@@ -5,6 +5,15 @@
margin: 0 auto;
}
+.pageheader-wrapper {
+ margin: 0;
+ overflow: hidden;
+ background: #eee;
+ border-color: #999;
+ border-style: none none solid none;
+ border-width: 1px;
+}
+
#content {
max-width: 38rem;
margin: 0;
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 0569cf23..28d650ad 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -42,6 +42,7 @@
<TMPL_IF HTML5><article class="page"><TMPL_ELSE><div class="page"></TMPL_IF>
+<TMPL_IF HTML5><section class="pageheader-wrapper"><TMPL_ELSE><div class="pageheader-wrapper"></TMPL_IF>
<TMPL_IF HTML5><section class="pageheader"><TMPL_ELSE><div class="pageheader"></TMPL_IF>
<TMPL_IF HTML5><header class="header"><TMPL_ELSE><div class="header"></TMPL_IF>
<span>
@@ -122,6 +123,7 @@
</TMPL_UNLESS>
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
+<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
<div id="pagebody">