Skip to content

Commit a7140e8

Browse files
committed
don't allow copy .gp
1 parent 64569f8 commit a7140e8

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

_sass/colors/syntax-dark.scss

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@
1616
--filepath-text-color: #cacaca;
1717

1818
.highlighter-rouge .gp {
19-
color: #87939d;
19+
color: #757575;
20+
-webkit-user-select: none;
21+
-moz-user-select: none;
22+
-ms-user-select: none;
23+
user-select: none;
2024
}
2125

2226
/* --- Syntax highlight theme from `rougify style base16.dark` --- */

_sass/colors/syntax-light.scss

+8
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@
1919
--inline-code-bg: #fbfafa;
2020
}
2121

22+
.highlighter-rouge .gp {
23+
color: #757575;
24+
-webkit-user-select: none;
25+
-moz-user-select: none;
26+
-ms-user-select: none;
27+
user-select: none;
28+
}
29+
2230
/* --- Syntax highlight theme from `rougify style github` --- */
2331

2432
.highlighter-rouge table td {

0 commit comments

Comments
 (0)