]> git.r.bdr.sh - rbdr/r.bdr.sh/blobdiff - css/style.css
Adapt for page 1.4.0
[rbdr/r.bdr.sh] / css / style.css
index 2ab37cf54dca0b246214a10f02a5a9eff1d78282..1a14f32f857d2ae2f4396fe39eeca2de769a8675 100644 (file)
@@ -71,7 +71,7 @@ pre {
   overflow-x: auto;
   padding: 1em;
 }
-pre[role="img"] { display: none }
+pre[aria-label="rbdr"] { display: none }
 blockquote, p, article > div {
   max-width: 45em
 }
@@ -79,18 +79,24 @@ blockquote {
   border-left: 4px solid #ccc;
   padding-left: 10px;
 }
-br { display: none }
+p { margin: 1em 0 }
+ul { padding-left: 2em }
+p:empty { display: none }
 h1, h2, h3 {
-  font-family: "Avenir Next";
+  font-family: "Avenir Next", "Montserrat", "Segoe UI Variable Display", "Noto Sans", "Roboto", "Segoe UI", sans-serif;
   font-weight: 900
 }
-h1 { font-size: 2em }
+h1, h2 {
+  font-size: 2em;
+  text-transform: lowercase;
+}
 h3 {
+  display: inline-block;
   font-weight: 600;
   margin-top: 1em
 }
 
-h2, h3, a { color: #00f }
+h1, h2, h3, a { color: #00f }
 [data-title="/index.html"] {
   .h2:nth-of-type(n+5):nth-of-type(-n+6) {
     h2, h3, a { color: #EE0700 }
@@ -167,7 +173,7 @@ canvas {
     background-color: #fff;
     border: 1px solid #fff;
   }
-  h2, h3, a { color: #5dc1fd }
+  h1, h2, h3, a { color: #5dc1fd }
   [data-title="/index.html"] .h2:nth-of-type(n+7):nth-of-type(-n+9) {
     h2, h3, a { color: #675CFB }
   }