optimization pass
[kengrimes.com/theme.git] / static / css / speedy.css
index 2be1306..a277f34 100644 (file)
@@ -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;