css: Merge code and screen CSS files.
authorRicardo Wurmus <rekado@elephly.net>
Thu, 7 May 2020 12:48:53 +0000 (14:48 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Thu, 7 May 2020 12:48:53 +0000 (14:48 +0200)
assets/css/screen.css
mumi/web/view/html.scm

index c885f86139189e3f327d8b85b32e3f2d337647ba..deb4ce0b765695bb07b62e1da0d14ea4fd3c6e21 100644 (file)
@@ -397,3 +397,39 @@ details {
 .message .body.card-body {
     padding: .8rem;
 }
+
+
+
+/* Syntax highlighting code, by David Thompson, borrowed
+   from:
+     https://git.dthompson.us/blog.git/blob_plain/refs/heads/haunt-migration:/css/dthompson.css
+   David Thompson gives permission for this to be GPLv3+ and CC BY-SA 4.0
+
+   Modified significantly since.
+*/
+
+
+.syntax-special, .syntax-element {
+    color: #856;
+    font-weight: bold;
+}
+
+.syntax-symbol {
+    color: #423;
+}
+
+.syntax-string {
+    color: #484;
+}
+
+.syntax-keyword, .syntax-attribute {
+    color: #921;
+}
+
+.syntax-comment {
+    color: #666;
+}
+
+.syntax-open, .syntax-close {
+    color: #688;
+}
index f6ab5182f36438af3fc81672c2edb5f28e2ab499..40264899f343f2b7932b5d44e391fbcef2d61ab7 100644 (file)
        (@ (rel "stylesheet")
           (media "screen")
           (type "text/css")
-          (href "/css/screen.css")))
-      (link
-       (@ (rel "stylesheet")
-          (media "screen")
-          (type "text/css")
-          (href "/css/code.css"))))
+          (href "/css/screen.css?20200507"))))
      (body ,@body
            (footer (@ (class "text-center"))
                    (p "Copyright © 2016—2020 by the GNU Guix community."