theme: refine styles

This commit is contained in:
Le Tan 2018-06-16 08:59:53 +08:00
parent 4267875e1c
commit a0b032ddfc
3 changed files with 16 additions and 8 deletions

View File

@ -9,12 +9,17 @@ body {
}
h1, h2, h3, h4, h5, h6 {
color: #E4E4E4;
font-weight: bold;
margin-top: 20px;
margin-bottom: 10px;
padding: 0;
}
strong, em {
color: #E4E4E4;
}
p {
padding: 0;
margin-top: 16px;

View File

@ -58,32 +58,32 @@ vim-visual-background: 484f5d
vim-replace-background: 2f3377
H1
foreground: dadada
foreground: e4e4e4
font-style: bold
font-size: +8
H2
foreground: dadada
foreground: e4e4e4
font-style: bold
font-size: +6
H3
foreground: dadada
foreground: e4e4e4
font-style: bold
font-size: +4
H4
foreground: dadada
foreground: e4e4e4
font-style: bold
font-size: +2
H5
foreground: dadada
foreground: e4e4e4
font-style: bold
font-size: +2
H6
foreground: dadada
foreground: e4e4e4
font-style: bold
font-size: +2
@ -118,9 +118,11 @@ foreground: 98c379
font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
EMPH
foreground: e4e4e4
font-style: italic
STRONG
foreground: e4e4e4
font-style: bold
HTML_ENTITY

View File

@ -1,5 +1,6 @@
; File path could be absolute path or relative path (related to this file).
; Use @color_tag to reference a style.
; Fork from [detorte](https://github.com/tamlok/detorte).
; Le Tan (tamlokveer@gmail.com)
[metadata]
@ -8,13 +9,13 @@ mdhl_file=v_detorte.mdhl
css_file=v_detorte.css
codeblock_css_file=v_detorte_codeblock.css
mermaid_css_file=v_detorte_mermaid.css
version=1
version=2
; This mapping will be used to translate colors when the content of HTML is copied
; without background. You could just specify the foreground colors mapping here.
; It is useful for dark mode theme. '#aabbcc' or 'red' formats are supported.
; col1:col1_new,col2:col2_new
css_color_mapping=#dadada:#222222,#61afef:#0099ff,#98c379:#8e24aa,#bcbcbc:#666666,#8a8a8a:#7a7a7a,#767676:#aaaaaa,#af8787:#767676,#ccb24c:#0000ee,#e37c84:#880000,#56b6c2:#af00d7,#f06292:#bc6060,#80cbc4:#008700,#ce93db:#4d99bf,#84c0f2:#1f7199
css_color_mapping=#dadada:#222222,#61afef:#0099ff,#98c379:#8e24aa,#bcbcbc:#666666,#8a8a8a:#7a7a7a,#767676:#aaaaaa,#af8787:#767676,#ccb24c:#0000ee,#e37c84:#880000,#56b6c2:#af00d7,#f06292:#bc6060,#80cbc4:#008700,#ce93db:#4d99bf,#84c0f2:#1f7199,#e4e4e4:#222222
[phony]
; Abstract color attributes.