diff options
author | Amin Bandali <bandali@gnu.org> | 2020-08-24 08:26:15 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2020-08-24 08:26:15 -0400 |
commit | 425b5263c0ba6ca93cfdea4bb325d61c0a964714 (patch) | |
tree | b26d0432b53c8542814a5b04b80af4f0f5de6440 | |
parent | 235cb06e99b4ecaf9840de581b5f3f0af6fd3e4c (diff) | |
download | emacsconf-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.css | 9 | ||||
-rw-r--r-- | templates/page.tmpl | 2 |
2 files changed, 11 insertions, 0 deletions
@@ -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"> |