config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 3bedc5f43b7430a8745831933a77c4f51688ef90
parent c241e8007fa016ffb089d20a0279bfc3c35402d3
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date:   Sat, 30 May 2020 14:02:09 -0700

Keybinds, major stylesheet changes

Zoom keybind magnifies everything instead of font size

stylesheet: two new colors, bright fg and bg. more important elements
are emphasised with colors

Diffstat:
Mvimb/.config/vimb/config | 4++--
Mvimb/.config/vimb/style.css | 71++++++++++++++++++++++++++++++++++++++++++++---------------------------
2 files changed, 46 insertions(+), 29 deletions(-)

diff --git a/vimb/.config/vimb/config b/vimb/.config/vimb/config @@ -45,8 +45,8 @@ shortcut-default x nmap <C-K> :set images!<CR> nmap <C-S> :set stylesheet!<CR> nmap <C-J> :set scripts!<CR>r<CR> -nmap <C-P> :set font-size+=4<CR> -nmap <C-M> :set font-size-=4<CR> +nmap <C-P> :set default-zoom+=10<CR> +nmap <C-M> :set default-zoom-=10<CR> # css: diff --git a/vimb/.config/vimb/style.css b/vimb/.config/vimb/style.css @@ -1,63 +1,80 @@ /* - * Vimb specific stylesheet by Jacob R. Edwards. [https://github.com/jacobs-github] - * Original: [https://fanglingsu.github.io/vimb/howto.html#commented-sample-config] + * vimb specific stylesheet by Jacob R. Edwards. [https://github.com/jacobs-github] + * original: [https://fanglingsu.github.io/vimb/howto.html#commented-sample-config] * - * Features: - * - variables + * features: + * - 8 generic variables for everything + * - static, meaning font size, margins, etc are not touched. * - * Style: - * - mainly dark backgrounds and white text with blue and orange highlights. - * - scrollbar is disabled (when using webkit) - * - 90' angle borders - */ + * style: + * - dark backgrounds white text, and limited orange and blue highlights. + * - sharp borders +*/ -/* variables */ :root { - --background: #111; - --foreground: #f1f1f1; - --red: #fa3a3a; - --green: #3afa3a; - --blue: #3a3afa; + --background: #000; + --background-focus: #0a0a0a; + --foreground: #f5f5f5; + --foreground-focus: #fff; + --red: #fa3a3a; + --green: #3afa3a; + --blue: #3a3afa; } -/* global */ -*,span,div,pre,textarea,body,input,td,tr,p { +* { background-color: var(--background)!important; color: var(--foreground)!important; - background-image: none!important; border-color: var(--blue)!important; - border-radius: 0!important; + background-image: none!important; + border-radius: none!important; box-shadow: none!important; } -/* headers */ -h1,h2,h3,h4 { - color: var(--foreground)!important; +h1,h2,h3,h4,h5,h6 { + color: var(--forground-focus)!important; +} + +/* quotation */ +q { + color: var(--red)!important; +} + +/* table headings */ +th { + background-color: var(--blue)!important; } -/* links: normal, hovering, and visited */ a { color: var(--red)!important; } + +a:visited { + color: var(--blue)!important; +} + a:hover,a:focus { color: var(--green)!important; } -a:visited { + +code { + background-color: var(--background-focus)!important; + background-origin: content-box!important; + display: inline-block!important; color: var(--blue)!important; } -/* scroll bar */ +/* disable scrollbar (with webkit engine) */ body::-webkit-scrollbar { display: none; } -/* hinting */ span[vimbhint^='label'] { font: normal 10pt monospace!important; text-transform: uppercase!important; opacity: 1!important; - padding: .1em .4em !important; + padding: .1em .4em!important; } + span[vimbhint='label focus'] { color: var(--red)!important; }