]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - static/css/style.css
Blockquote style fixes
[irc/freenode/web-7.0.git] / static / css / style.css
index 598c45659a7f0b92c57844f661fb2a7058d65cd8..53818569fa21348d8447c3368d13f6980c4892bc 100644 (file)
@@ -50,7 +50,7 @@
 
 /* global */
 body {
-    font-family: 'Open Sans';
+    font-family: 'Open Sans', sans-serif;
     font-feature-settings: "lnum";
     font-variant-numeric: lining-nums;
     color: var(--text-color);
@@ -59,6 +59,10 @@ body {
     height: auto;
 }
 
+.invisible {
+    display: none;
+}
+
 a {
     color: var(--link-color);
     text-decoration: none;
@@ -133,7 +137,8 @@ img {
 .main h4,
 .main li,
 .main pre,
-.main p {
+.main p,
+.main blockquote {
     margin-top: .7em;
 }
 
@@ -144,7 +149,8 @@ img {
 .main h1 + p,
 .main h2 + p,
 .main h3 + p,
-.main h3 + p {
+.main h3 + p,
+.main blockquote > p:first-child {
     margin-top: 0;
 }
 
@@ -368,7 +374,7 @@ h1 {
     border-top: 1px solid var(--border-color);
 }
 
-.art-info .art {
+.artlist .art {
     font-weight: bold;
     font-size: 120%;
 }
@@ -391,10 +397,25 @@ h1 {
     display: flex;
     flex-direction: row;
     justify-content: space-between;
-    flex-basis: 30%;
     width: 100%;
 }
 
+.art-nav * {
+    flex-basis: 30%;
+}
+
+.art-nav *:nth-child(1) { text-align: left; }
+.art-nav *:nth-child(2) { text-align: center; }
+.art-nav *:nth-child(3) { text-align: right; }
+
+blockquote {
+    padding-left: 1em;
+    max-width: calc(var(--max-width) - .7em);
+    display: inline-block;
+    border-left: .5em solid var(--c-shadow);
+    font-style: italic;
+}
+
 @media (--max-md) {
     .main.artlist {
         padding-left: 0;
@@ -419,7 +440,7 @@ h1 {
 .kb-index li {
     display: block;
     flex: 1 1 15em;
-    height: 7em;
+    height: 3em;
     margin: 1em;
 }