diff --git a/src/stylesheet.css.pp b/src/stylesheet.css.pp index 0ffdf71..254e1ea 100644 --- a/src/stylesheet.css.pp +++ b/src/stylesheet.css.pp @@ -100,6 +100,7 @@ pre > code.hljs { margin-top: ◊|navbar-height|px; grid-column: 5 / 10; hyphens: auto; + max-width: 100%; } ul.navigation { @@ -138,3 +139,18 @@ div.divider { margin-bottom: 2em; border-top: 1px solid ◊|divider-color|; } + +@media screen and (max-width: 720px) { + .content { + grid-column: 2 / 12; + } + + .float-left { + float: none; + margin-right: auto; + } + + ul, ol { + margin: 0 0 1.5em 1em; + } +} diff --git a/src/template.html.p b/src/template.html.p index 5e856c3..a901822 100644 --- a/src/template.html.p +++ b/src/template.html.p @@ -3,7 +3,7 @@ (select 'h1 doc) "Jeremy Dormitzer")) - +