diff options
author | Amin Bandali <bandali@gnu.org> | 2020-08-24 08:13:06 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2020-08-24 08:13:06 -0400 |
commit | a67e1d6febdd576b27ab47313f1cf58cff2548f1 (patch) | |
tree | 3aab3959059a40ef9200a3576db78a7691f5306a | |
parent | 4f3e4530a3044e756ec50a9b858104869aa737e4 (diff) | |
download | emacsconf-wiki-a67e1d6febdd576b27ab47313f1cf58cff2548f1.tar.xz emacsconf-wiki-a67e1d6febdd576b27ab47313f1cf58cff2548f1.zip |
experiment with narrower widths to improve readability
Diffstat (limited to '')
-rw-r--r-- | local.css | 10 | ||||
-rw-r--r-- | templates/page.tmpl | 4 |
2 files changed, 11 insertions, 3 deletions
@@ -1,6 +1,14 @@ /* ikiwiki local style sheet */ -#content { line-height: 1.5 } +.pageheader, .pagebody, .pagefooter { + max-width: 60rem; + margin: 0 auto; +} + +#content { + max-width: 38rem; + line-height: 1.5; +} video { max-width: 100% } diff --git a/templates/page.tmpl b/templates/page.tmpl index f741a107..0569cf23 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -123,6 +123,8 @@ <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF> +<div id="pagebody"> + <TMPL_UNLESS DYNAMIC> <TMPL_IF SIDEBAR> <TMPL_IF HTML5><aside class="sidebar"><TMPL_ELSE><div class="sidebar"></TMPL_IF> @@ -131,8 +133,6 @@ </TMPL_IF> </TMPL_UNLESS> -<div id="pagebody"> - <TMPL_IF HTML5><section<TMPL_ELSE><div</TMPL_IF> id="content" role="main"> <TMPL_VAR CONTENT> <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF> |