From 70973fdff8447c3d443477f5b7b8d296ff2964cf Mon Sep 17 00:00:00 2001 From: overdodactyl Date: Thu, 7 Dec 2017 10:27:35 -0700 Subject: [PATCH] Improvements to view-source pages #7 --- userContent.css | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/userContent.css b/userContent.css index 51a5e0c..436cfff 100644 --- a/userContent.css +++ b/userContent.css @@ -86,11 +86,6 @@ } -/* Purple: #b78cfd - * Green: #86de74 - * Steelblue: steelblue - * */ - @-moz-document url-prefix(view-source) { *|*:root { background-color: var(--primary-dark-color) !important; @@ -98,46 +93,28 @@ } pre[id]:before, span[id]:before { - content: counter(line) " "; - counter-increment: line; - -moz-user-select: none; - display: inline-block; - width: 5ch; - margin: 0 0 0 -5ch; - text-align: right; - color: #ccc; - font-weight: normal; - font-style: normal; + color: var(--primary-light-color) !important; } .highlight .start-tag { color: #b78cfd !important; - font-weight: bold; } .highlight .end-tag { color: #b78cfd !important; - font-weight: bold; } .highlight .comment { color: #86de74 !important; - font-style: italic; } .highlight .cdata { color: #CC0066 !important; } .highlight .doctype { color: steelblue !important; - font-style: italic; } .highlight .pi { color: #ff7de9 !important; - font-style: italic; } .highlight .entity { color: #FF4500 !important; - font-weight: normal; - } - .highlight .text { - font-weight: normal; } .highlight .attribute-name { color: var(--primary-light-color) !important; @@ -145,23 +122,15 @@ } .highlight .attribute-value { color: #75bfff !important; - font-weight: normal; } .highlight .markupdeclaration { color: steelblue !important; font-style: italic; } - span:not(.error), a:not(.error) { - unicode-bidi: embed; - } - span[id] { - unicode-bidi: isolate; - } .highlight .error, .highlight .error > :-moz-any(.start-tag, .end-tag, .comment, .cdata, .doctype, .pi, .entity, .attribute-name, .attribute-value) { color: red; - font-weight: bold; } }