summaryrefslogtreecommitdiff
path: root/sass
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2023-08-17 17:29:45 +0800
committerMole Shang <[email protected]>2023-08-17 17:29:45 +0800
commitb932add15d89ab854935cd15930c57b3616ea020 (patch)
tree489a189249c937ee6cca3adb8eabda7338a35471 /sass
parent7f3e4a91691cc8dfc1fc0fb74def6a069ea72e27 (diff)
downloadSeje2-b932add15d89ab854935cd15930c57b3616ea020.tar.gz
Seje2-b932add15d89ab854935cd15930c57b3616ea020.tar.bz2
Seje2-b932add15d89ab854935cd15930c57b3616ea020.zip
templates: support conditional code-highlighting
Diffstat (limited to 'sass')
-rw-r--r--sass/_partial/_dark.scss3
-rw-r--r--sass/_partial/_post.scss3
2 files changed, 2 insertions, 4 deletions
diff --git a/sass/_partial/_dark.scss b/sass/_partial/_dark.scss
index 8789275..ab778df 100644
--- a/sass/_partial/_dark.scss
+++ b/sass/_partial/_dark.scss
@@ -32,7 +32,6 @@ body {
.post {
border-color: #616161;
code, pre {
- background-color: black;
color: white;
}
.highlight {
@@ -54,4 +53,4 @@ body {
.archive .post-archive .post-item .post-title {
color: white;
-} \ No newline at end of file
+}
diff --git a/sass/_partial/_post.scss b/sass/_partial/_post.scss
index e1f9c60..b96aad5 100644
--- a/sass/_partial/_post.scss
+++ b/sass/_partial/_post.scss
@@ -33,7 +33,6 @@
}
code, pre {
font-size: 16px;
- background-color: #f7f7f7;
font-family: 'Fantasque Sans Mono', 'PT Mono', 'Source Code Pro', monospace;
}
.highlight {
@@ -180,4 +179,4 @@
.post-meta {
color: black;
}
-} \ No newline at end of file
+}