aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2021-01-31 23:31:52 -0500
committerThedro Neely <thedroneely@gmail.com>2021-01-31 23:31:52 -0500
commitfd9ffb4f37bba7c2b3ebfc85ad560fd51d641eb9 (patch)
tree695a679458d63dd7678df4dff37a470478b38d0e
parent6e84cbc297c88db6aa575b79d32e2986a183b818 (diff)
downloadthedroneely.com-fd9ffb4f37bba7c2b3ebfc85ad560fd51d641eb9.tar.gz
thedroneely.com-fd9ffb4f37bba7c2b3ebfc85ad560fd51d641eb9.tar.bz2
thedroneely.com-fd9ffb4f37bba7c2b3ebfc85ad560fd51d641eb9.zip
public/css/tdro: Group font directives
-rw-r--r--public/css/tdro.css42
1 files changed, 19 insertions, 23 deletions
diff --git a/public/css/tdro.css b/public/css/tdro.css
index baa0989..d801823 100644
--- a/public/css/tdro.css
+++ b/public/css/tdro.css
@@ -168,24 +168,6 @@ section {
display: block;
}
-body,
-button,
-input,
-select,
-textarea,
-.sans-serif {
- font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans',
- 'Droid Sans', 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
-}
-
-code,
-pre,
-.monospace {
- -moz-osx-font-smoothing: auto;
- -webkit-font-smoothing: auto;
- font-family: 'Fira Code', Consolas, monaco, monospace;
-}
-
body {
color: #222;
font-size: 1rem;
@@ -3829,9 +3811,6 @@ ol li:before {
position: absolute;
}
-.is-size-serif { font-size: 1.25rem !important; }
-.serif, ol li { font-family: Charter, Georgia, 'Book Antiqua', serif; }
-.sans-serif a, .serif a, .document h2 a, .document h3 a { color: #222; }
figure a, .navbar-item, .webring a, .article__more__content a, .front__more,
.is-mobile .has-text-centered > a, .article__list li a, ol li > a, .tableofcontents li a,
@@ -3844,6 +3823,25 @@ figure a, .navbar-item, .webring a, .article__more__content a, .front__more,
* Fonts
*/
+body, button, input, select, textarea, .sans-serif {
+ font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans',
+ 'Droid Sans', 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
+}
+
+.serif, ol li { font-family: Charter, Georgia, 'Book Antiqua', serif; }
+
+code, pre, blockquote > p.serif, .monospace {
+ -moz-osx-font-smoothing: auto;
+ -webkit-font-smoothing: auto;
+ font-family: 'Fira Code', Consolas, monaco, monospace;
+}
+
+.is-size-serif { font-size: 1.25rem !important; }
+.sans-serif a, .serif a, .document h2 a, .document h3 a { color: #222; }
+
+blockquote .blockquote-footer { margin-top: 1.3rem; }
+blockquote > p.serif { font-size: 1.2rem !important; }
+
.smallcaps { font-variant: small-caps; letter-spacing: 0.05rem; line-height: 0; text-transform: lowercase; }
.smallcapsintro { font-size: 2rem !important; text-transform: none; }
@@ -4212,8 +4210,6 @@ label.marginnote-toggle:not(.sidenote-number) { display: inline; }
.sidenote mark { background-color: transparent !important; color: unset !important; }
}
-blockquote .blockquote-footer { font-size: 1.1rem; margin-top: 1.3rem; }
-blockquote p { font-size: 1.3rem !important; }
.document .subtitle { margin-top: 0 !important; margin-bottom: 1.5em !important; }
.recent__article .marginnote, .recent__article .sidenote { margin-top: 0 !important; }