diff options
Diffstat (limited to '_sass/yat')
-rw-r--r-- | _sass/yat/_base.scss | 5 | ||||
-rw-r--r-- | _sass/yat/_dark.scss | 10 |
2 files changed, 8 insertions, 7 deletions
diff --git a/_sass/yat/_base.scss b/_sass/yat/_base.scss index b8a0401..44afc1f 100644 --- a/_sass/yat/_base.scss +++ b/_sass/yat/_base.scss @@ -148,10 +148,9 @@ code { } *:not(pre) > code { - padding: 1px 5px; + padding: 3px 6px; border-radius: 3px; - color: #fff; - background-color: #787878; + background-color: #eee; margin: 0 5px; } diff --git a/_sass/yat/_dark.scss b/_sass/yat/_dark.scss index b227fb8..c8c3932 100644 --- a/_sass/yat/_dark.scss +++ b/_sass/yat/_dark.scss @@ -1,4 +1,5 @@ $dark-background-color: #0e0e0e !default; +$dark-text-color: #bbb !default; html[data-theme="dark"] { @@ -10,12 +11,13 @@ html[data-theme="dark"] { } body { - color: #bbb; + color: $dark-text-color; background-color: $dark-background-color; } *:not(pre) > code { - background-color: #545454; + color: $dark-text-color; + background-color: #454545; } table { @@ -74,7 +76,7 @@ html[data-theme="dark"] { .pagination { .post-link { - color: #bbb; + color: $dark-text-color; } .post-title { @@ -171,7 +173,7 @@ html[data-theme="dark"] { } a { - color: #bbb; + color: $dark-text-color; } a:hover { |