# HG changeset patch # User Tomas Zeman # Date 1588019089 -7200 # Node ID a3e588dcdcb3564bdc00856e00697a0ec84c366e # Parent b36c5ed3c36099474e06800512542d9be5ed1c07 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html) diff -r b36c5ed3c360 -r a3e588dcdcb3 config/vimb/config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/vimb/config Mon Apr 27 22:24:49 2020 +0200 @@ -0,0 +1,77 @@ + +set home-page=about:blank + +# Path to the default download directory. If no download directory is set, +# download will be written into current directory. The following pattern will +# be expanded if the download is started '~/', '~user', '$VAR' and '${VAR}'. +set download-path=/tmp/ + +# Command with placeholder '%s' called if form field is opened with $EDITOR to +# spawn the editor-like `x-terminal-emulator -e vim %s'. To use Gvim as the +# editor, it's necessary to call it with `-f' to run it in the foreground. +set editor-command=gvim -f %s + +# If enabled the inputbox will be hidden whenever it contains no text. +set input-autohide=true + +# Enable or disable the spell checking feature. +set spell-checking=true + +# Set comma separated list of spell checking languages to be used for +# spell checking. +set spell-checking-languages=en,cs + +# Enable or disable support for WebGL on pages. +set webgl=true + +# While typing a search command, show where the pattern typed so far matches. +set incsearch=true + +# The font family to use as the default for content that does not specify a +# font. +set default-font=DejaVu Sans + +# The font family used as the default for content using monospace font. +set monospace-font=DejaVu Sans Mono + +# The font family used as the default for content using sans-serif font. +set sans-serif-font=DejaVu Sans + +# The font family used as the default for content using serif font. +set serif-font=DejaVu Serif + +# The default font size used to display text. +set font-size=16 + +# Default font size for the monospace font. +set monospace-font-size=13 + +# Default Full-Content zoom level in percent. Default is 100. +#set default-zoom=120 + +# Shortcuts allow the opening of an URI built up from a named template with +# additional parameters. +shortcut-add duck=https://duckduckgo.com/?q=$0 +shortcut-add gg=https://encrypted.google.com/search?q=$0 + +# Set the shortcut as the default, that is the shortcut to be used if no +# shortcut is given and the string to open is not an URI. +shortcut-default duck + +# Map page zoom in normal mode to keys commonly used across applications +# + (zoom in), - (zoom out), = (zoom reset) +nmap + zI +nmap - zO +nmap = zz + +# GUI color settings +# Color scheme: Base16 Eighties (https://github.com/chriskempson/base16) +set completion-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono; +set completion-hover-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono; +set completion-selected-css=color:#d3d0c8;background-color:#515151;font:12pt DejaVu Sans Mono; +set input-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono; +set input-error-css=color:#f2777a;background-color:#393939;font:12pt DejaVu Sans Mono; +set status-css=color:#ffcc66;background-color:#393939;font:12pt DejaVu Sans Mono; +set status-ssl-css=color:#99cc99;background-color:#393939;font:12pt DejaVu Sans Mono; +set status-ssl-invalid-css=color:#f2777a;background-color:#393939;font:12pt DejaVu Sans Mono; + diff -r b36c5ed3c360 -r a3e588dcdcb3 config/vimb/style.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/vimb/style.css Mon Apr 27 22:24:49 2020 +0200 @@ -0,0 +1,52 @@ +*,div,pre,textarea,body,input,td,tr,p { + background-color: #000 !important; + /*background-image: none !important;*/ + color: #00ff00 !important; +} +h1,h2,h3,h4 { + background-color: #111 !important; + color: #08ff08 !important; +} +a { + color: #00ff70 !important; +} +a:hover,a:focus { + color: #00ffe0 !important; +} +a:visited { + color: #00ff70 !important; +} +img { + opacity: .5; +} +img:hover { + opacity: 1; +} + +/* Hint mode color styling + * Color scheme: Base16 Eighties (https://github.com/chriskempson/base16) + * + * The precedence of the user style is lower than that of the website so you + * have to mark your style definition to have higher priority. + */ +span[vimbhint^='label'] { + background-color: #f2f0ec !important; + border: 1px solid #2d2d2d !important; + color: #2d2d2d !important; + font: bold 10pt monospace !important; + opacity: 1 !important; + padding: .1em .4em !important; + text-transform: uppercase !important; +} +span[vimbhint='label focus'] { + font: bold 13pt monospace !important; +} +*[vimbhint^='hint'] { + background-color: #ffcc66 !important; + color: #2d2d2d !important; +} +*[vimbhint='hint focus'] { + background-color: #6699cc !important; + color: #2d2d2d !important; +} +