commit 15a00f95cae3095cfa96dafe1cc67bf97267740d
parent 760ce8d47365f1124b76a1db7b948ce7621bd5ce
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date: Sat, 13 Jun 2020 19:46:04 -0700
Disable images, mess with fonts and colors
blue is less intense
serif font used for extra emphasis
remove webkit scrollbar disabling code
Diffstat:
1 file changed, 14 insertions(+), 19 deletions(-)
diff --git a/vimb/.config/vimb/style.css b/vimb/.config/vimb/style.css
@@ -2,41 +2,44 @@
* vimb specific stylesheet by Jacob R. Edwards. [https://github.com/jacobs-github]
* original: [https://fanglingsu.github.io/vimb/howto.html#commented-sample-config]
*
- * features:
- * - 8 generic variables for everything
- * - static, meaning font size, margins, etc are not touched.
- *
- * style:
+ * how it looks:
* - dark backgrounds white text, and limited orange and blue highlights.
* - sharp borders
+ * - no images
*/
:root {
--background: #000;
--background-focus: #0a0a0a;
- --foreground: #f5f5f5;
+ --foreground: #dfdfdf;
--foreground-focus: #fff;
--red: #fa3a3a;
--green: #3afa3a;
- --blue: #3a3afa;
+ --blue: #3a3aaa;
}
* {
background-color: var(--background)!important;
- color: var(--foreground)!important;
- border-color: var(--blue)!important;
+ color: var(--foreground-focus)!important;
background-image: none!important;
border-radius: 0!important;
box-shadow: none!important;
border-width: 0.1rem!important;
+ border-color: var(--foreground)!important;
+}
+
+img,svg {
+ display: none!important;
}
h1,h2,h3,h4,h5,h6 {
+ font-family: serif!important;
color: var(--forground-focus)!important;
}
/* quotation */
q,blockquote {
+ font-family: serif!important;
color: var(--red)!important;
}
@@ -47,16 +50,13 @@ th {
a {
color: var(--red)!important;
+ text-decoration: underline!important;
}
-a:visited {
+a:hover,a:focus,a:visited {
color: var(--blue)!important;
}
-a:hover,a:focus {
- color: var(--green)!important;
-}
-
code {
background-color: var(--background-focus)!important;
background-origin: content-box!important;
@@ -64,11 +64,6 @@ code {
color: var(--blue)!important;
}
-/* disable scrollbar (with webkit engine) */
-body::-webkit-scrollbar {
- display: none;
-}
-
span[vimbhint^='label'] {
font: normal 10pt monospace!important;
text-transform: uppercase!important;