Skip to content

Commit a336d9a

Browse files
committed
Customize selection color
1 parent 2c47bfa commit a336d9a

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

src/css/style.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,14 @@
150150
--codebox-token-string-color: #6f42c1;
151151
}
152152

153+
::selection {
154+
background: #f9e4ac; /* WebKit/Blink Browsers */
155+
}
156+
157+
::-moz-selection {
158+
background: #f9e4ac; /* Gecko Browsers */
159+
}
160+
153161
* {
154162
-webkit-font-smoothing: antialiased;
155163
-webkit-overflow-scrolling: touch;
@@ -948,7 +956,7 @@ body {
948956
.markdown-section h3,
949957
.markdown-section h4,
950958
.markdown-section h5,
951-
.markdown-section h6, {
959+
.markdown-section h6 {
952960
font-family: var(--serif-font);
953961
}
954962

static/main.min.js

Lines changed: 1 addition & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)