X-Git-Url: https://www.kengrimes.com/gitweb/?p=kengrimes.com%2Ftheme.git;a=blobdiff_plain;f=static%2Fcss%2Fspeedy.css;h=a277f34cb4baab82eaa0510f95906e1811e124a5;hp=2be1306f7dce3ebaab0b8812a60b1f090f0778f0;hb=89599f9d5c5e4e5b8fa50c39e34dd502293fa1f7;hpb=f9e1ed5e957f44d6cc608156ed922d0c08da7d73 diff --git a/static/css/speedy.css b/static/css/speedy.css index 2be1306..a277f34 100644 --- a/static/css/speedy.css +++ b/static/css/speedy.css @@ -40,8 +40,17 @@ h1 { font-size: 1.66em; } h2 { + text-align: center; text-decoration: underline; - font-size: 1.33em; + font-size: 1.48em; +} +h3 { + text-align: center; + font-size: 1.32em; +} +h4 { + text-align: center; + font-size: 1.24em; } body { margin: 0; @@ -56,9 +65,9 @@ body > header { } body > main { margin: 0 1vw; - font-size: calc(10pt + 0.25vw); /* at least 60 chars wide */ - /* font-size: 1.8rem; */ - font-family: sans; + font-size: calc(11pt + 0.22vw); + font-family: sans-serif; + overflow: hidden; } body > footer { font-size: 0.8rem; @@ -258,6 +267,33 @@ ul.pagination > li.disabled { .center { text-align: center; } +.center-justify { + display: flex; + justify-content: center; +} +.float-right { + float: right; +} +.float-left { + float: left; +} +pre { + display: block; + border-radius: 3px; + background-color: white; + box-shadow: 1px 1px 1px black; +} +article > code, +article > p > code, +article > ol > li > code, +article > ul > li > code { + border-radius: 3px; + background-color: white; + box-shadow: 1px 1px 1px black; +} +table { + display: block; +} @media screen and (orientation:landscape) { body > main > article { margin: 1vh 1vw 1vw 1vh;