Skip to content

Commit abffa25

Browse files
committed
update cppreference and docs.gl style
1 parent 5f98727 commit abffa25

File tree

2 files changed

+33
-4
lines changed

2 files changed

+33
-4
lines changed

cppreference/common.user.css

+19-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* ==UserStyle==
22
@name cppreference.com-common.css
3-
@version 1.0.2
3+
@version 1.0.3
44
@description ❤️ Minimal aestheic with highly refined color palettes
55
@namespace 1nfdev
66
@author 1nfdev <[email protected]>
@@ -42,6 +42,11 @@
4242
color: #d33050 !important
4343
}
4444

45+
a:hover {
46+
color: #00a000 !important;
47+
text-decoration: underline;
48+
}
49+
4550
hr {
4651
background-color: #fff;
4752
}
@@ -225,6 +230,12 @@
225230
color: #7F7F7F;
226231
}
227232

233+
.c.source-c .kw2,
234+
.cpp.source-cpp .kw2 {
235+
color: #4EC8AF;
236+
font-weight: bold;
237+
}
238+
228239
/* c/c++ types */
229240
.c.source-c .kw4,
230241
.cpp.source-cpp .kw4,
@@ -259,9 +270,15 @@
259270
color: #F09819;
260271
}
261272

273+
/* c/c++ multiline comment */
274+
.c.source-c .coMULTI,
275+
.cpp.source-cpp .coMULTI {
276+
color: #F09819;
277+
font-style: italic;
278+
}
279+
262280
.mw-geshi a {
263281
color: crimson;
264-
text-decoration: underline;
265282
}
266283

267284
table.ambox {

docs.gl/common.user.css

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* ==UserStyle==
22
@name docs.gl-common.css
3-
@version 1.1.0
3+
@version 1.1.1
44
@description ❤️ Minimal aestheic with highly refined color palettes
55
@namespace 1nfdev
66
@author 1nfdev <[email protected]>
@@ -48,6 +48,18 @@
4848
color: #d33050 !important
4949
}
5050

51+
a:hover {
52+
color: #00a000 !important;
53+
text-decoration: underline;
54+
}
55+
56+
.codecomment > a:hover,
57+
pre.programlisting > a:hover {
58+
font-weight: bold;
59+
color: #00a000 !important;
60+
text-decoration: underline;
61+
}
62+
5163
.disabled, .disabled a, a.disabled {
5264
color: red !important;
5365
}
@@ -90,7 +102,7 @@
90102
div.funcsynopsis > a,
91103
.example .programlisting > a,
92104
table.funcprototype-table > a {
93-
text-decoration: underline;
105+
text-decoration: none;
94106
}
95107

96108
.example .programlisting > span.constant {

0 commit comments

Comments
 (0)