From 976f7ff403053e3b98068b95a74ff1a4eec09674 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Wed, 18 Jul 2018 20:05:59 +0800 Subject: [PATCH] theme: refine styles --- src/resources/themes/v_detorte/v_detorte.css | 9 +++++---- src/resources/themes/v_moonlight/v_moonlight.css | 8 ++++---- src/resources/themes/v_moonlight/v_moonlight.palette | 6 +++--- src/resources/themes/v_native/v_native.css | 8 ++++---- src/resources/themes/v_pure/v_pure.css | 9 +++++---- 5 files changed, 21 insertions(+), 19 deletions(-) diff --git a/src/resources/themes/v_detorte/v_detorte.css b/src/resources/themes/v_detorte/v_detorte.css index a0639186..5b6b6190 100644 --- a/src/resources/themes/v_detorte/v_detorte.css +++ b/src/resources/themes/v_detorte/v_detorte.css @@ -103,13 +103,14 @@ pre code { padding: 0.5em; color: #DADADA; background-color: #4A4A4A; + border-left: .5em solid #865E1B; line-height: 1.5; font-family: Consolas, Monaco, Monospace, Courier; white-space: pre; } pre code.markdown-metadata { - border-left: 5px solid #D89F3E; + border-left: .5em solid #D89F3E; } aside { @@ -121,9 +122,9 @@ aside { blockquote { color: #BCBCBC; background-color: #4A4A4A; - border-left:.5em solid #8A8A8A; - padding: 0 2em; - margin-left:0; + border-left: .5em solid #8A8A8A; + padding: 0 1em; + margin-left: 0; } blockquote p { diff --git a/src/resources/themes/v_moonlight/v_moonlight.css b/src/resources/themes/v_moonlight/v_moonlight.css index e2e4688a..b10eb5da 100644 --- a/src/resources/themes/v_moonlight/v_moonlight.css +++ b/src/resources/themes/v_moonlight/v_moonlight.css @@ -105,7 +105,7 @@ pre code { } pre code.markdown-metadata { - border-left: 5px solid #00695C; + border-left: .5em solid #3F51B5; } aside { @@ -116,9 +116,9 @@ aside { blockquote { color: #5C6370; - border-left:.5em solid #5C6370; - padding: 0 2em; - margin-left:0; + border-left: .5em solid #5C6370; + padding: 0 1em; + margin-left: 0; } blockquote p { diff --git a/src/resources/themes/v_moonlight/v_moonlight.palette b/src/resources/themes/v_moonlight/v_moonlight.palette index b51d809e..02bcccdc 100644 --- a/src/resources/themes/v_moonlight/v_moonlight.palette +++ b/src/resources/themes/v_moonlight/v_moonlight.palette @@ -20,9 +20,9 @@ css_color_mapping=#abb2bf:#222222,#282c34:#f5f5f5,#61afef:#0099ff,#98c379:#8e24a master_fg=@edit_fg master_bg=#5768c4 master_light_bg=#7482CF -master_dark_bg=#3f51b5 -master_focus_bg=#3a4aa6 -master_hover_bg=#6575ca +master_dark_bg=#3F51B5 +master_focus_bg=#3A4AA6 +master_hover_bg=#6575CA master_pressed_bg=#354498 base_fg=#9DA5B4 diff --git a/src/resources/themes/v_native/v_native.css b/src/resources/themes/v_native/v_native.css index c286088a..1d7ad0fb 100644 --- a/src/resources/themes/v_native/v_native.css +++ b/src/resources/themes/v_native/v_native.css @@ -105,7 +105,7 @@ pre code { } pre code.markdown-metadata { - border-left: 5px solid #00897B; + border-left: .5em solid #00897B; } aside { @@ -116,9 +116,9 @@ aside { blockquote { color: #666; - border-left:.5em solid #7A7A7A; - padding: 0 2em; - margin-left:0; + border-left: .5em solid #7A7A7A; + padding: 0 1em; + margin-left: 0; } blockquote p { diff --git a/src/resources/themes/v_pure/v_pure.css b/src/resources/themes/v_pure/v_pure.css index 33eb7b61..57ae5024 100644 --- a/src/resources/themes/v_pure/v_pure.css +++ b/src/resources/themes/v_pure/v_pure.css @@ -100,13 +100,14 @@ pre code { padding: 0.5em; color: #222222; background-color: #E0E0E0; + border-left: .5em solid #00897B; line-height: 1.5; font-family: Consolas, Monaco, Monospace, Courier; white-space: pre; } pre code.markdown-metadata { - border-left: 5px solid #00897B; + border-left: .5em solid #80CBC4; } aside { @@ -117,9 +118,9 @@ aside { blockquote { color: #666; - border-left:.5em solid #7a7a7a; - padding: 0 2em; - margin-left:0; + border-left: .5em solid #7a7a7a; + padding: 0 1em; + margin-left: 0; } blockquote p {