diff options
Diffstat (limited to 'assets/css/scopes')
-rw-r--r-- | assets/css/scopes/_code.scss | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/assets/css/scopes/_code.scss b/assets/css/scopes/_code.scss index f024dbd..4a40d0f 100644 --- a/assets/css/scopes/_code.scss +++ b/assets/css/scopes/_code.scss | |||
@@ -1,22 +1,15 @@ | |||
1 | .s-code { | 1 | .s-code { |
2 | pre, | 2 | &--highlight { |
3 | code { | 3 | pre { |
4 | color: var(--fg-lo); | 4 | color: var(--fg-lo); |
5 | } | ||
5 | } | 6 | } |
6 | 7 | ||
7 | pre { | 8 | pre { |
8 | overflow-x: auto; | ||
9 | font-size: 1em; | 9 | font-size: 1em; |
10 | line-height: $line-height; | 10 | line-height: $line-height; |
11 | } | 11 | } |
12 | 12 | ||
13 | &--plain { | ||
14 | pre, | ||
15 | code { | ||
16 | color: var(--fg); | ||
17 | } | ||
18 | } | ||
19 | |||
20 | /* stylelint-disable selector-class-pattern */ | 13 | /* stylelint-disable selector-class-pattern */ |
21 | 14 | ||
22 | .c { | 15 | .c { |