diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2021-06-08 16:28:11 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2021-06-08 16:28:11 +0200 |
commit | b42d02dee5a9bf410120e0eda00dc5deae4426aa (patch) | |
tree | 98141af418d1cf561e766f59039a1cc14bbf97e4 /themes/elenq | |
parent | 7821f8c780eda6beccf0c2ed12097d804d361474 (diff) |
Different background color for code
Diffstat (limited to 'themes/elenq')
-rw-r--r-- | themes/elenq/static/css/prism.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/elenq/static/css/prism.css b/themes/elenq/static/css/prism.css index 4258e59..d564981 100644 --- a/themes/elenq/static/css/prism.css +++ b/themes/elenq/static/css/prism.css @@ -48,6 +48,7 @@ pre[class*="language-"] { border-radius: .3em; font-size: 0.9em; white-space: normal; + background-color: var(--background-color); } .token.comment, @@ -136,6 +137,7 @@ pre[class*="language-"] { --keyword: #07a; --function: #DD4A68; --variable: #e90; + --background-color: #e8e8e8; } } @@ -159,6 +161,7 @@ pre[class*="language-"] { --keyword: #8be9fd; --function: #f1fa8c; --variable: #ffb86c; + --background-color: #565656; } } @@ -176,6 +179,7 @@ html[data-theme="light"]{ --keyword: #07a; --function: #DD4A68; --variable: #e90; + --background-color: #e8e8e8; } html[data-theme="dark"]{ @@ -188,4 +192,5 @@ html[data-theme="dark"]{ --keyword: #8be9fd; --function: #f1fa8c; --variable: #ffb86c; + --background-color: #565656; } |