]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - static/css/style.css
highlight all code blocks on registration page
[irc/freenode/web-7.0.git] / static / css / style.css
index 40bee2a669e7c5eec3524c8b3c350dd458727ac5..a13b4ee5e16e0e0c543eecbbc66ebdb6e730ac4a 100644 (file)
@@ -4,6 +4,7 @@
     --c-bg-dark:  #3a4346;
     --c-bg-light: #4c5456;
     --c-light:    #ecf7fa;
+    --c-off-white: #f9f9f9;
     --c-hl-dark:  #008499;
     --c-hl-light: #3baec4;
     --c-shadow:   #dae5e2;
@@ -29,7 +30,7 @@
     /* box colors */
     --border-color:    var(--c-dark);
     --box-color:       var(--c-bg-light);
-    --box-hover-color: var(--c-dark);;
+    --box-hover-color: var(--c-dark);
     --box-round:       10px;
 
     /* other */
@@ -243,6 +244,14 @@ img {
     margin-top: 0;
 }
 
+.main .page-variant-registration ~ pre, .main .page-variant-registration ~ * pre {
+    padding: .5em .75em;
+    border-radius: .25em;
+    background: var(--c-off-white);
+    color: var(--c-hl-dark);
+    box-shadow: 0 0 1px  var(--c-bg-light);
+}
+
 .toclink,
 .toclink:hover {
     color: var(--text-color);