Skip to content

Commit

Permalink
update cppreference and docs.gl style
Browse files Browse the repository at this point in the history
  • Loading branch information
ptruser committed Aug 11, 2020
1 parent 5f98727 commit abffa25
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 4 deletions.
21 changes: 19 additions & 2 deletions cppreference/common.user.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ==UserStyle==
@name cppreference.com-common.css
@version 1.0.2
@version 1.0.3
@description ❤️ Minimal aestheic with highly refined color palettes
@namespace 1nfdev
@author 1nfdev <[email protected]>
Expand Down Expand Up @@ -42,6 +42,11 @@
color: #d33050 !important
}

a:hover {
color: #00a000 !important;
text-decoration: underline;
}

hr {
background-color: #fff;
}
Expand Down Expand Up @@ -225,6 +230,12 @@
color: #7F7F7F;
}

.c.source-c .kw2,
.cpp.source-cpp .kw2 {
color: #4EC8AF;
font-weight: bold;
}

/* c/c++ types */
.c.source-c .kw4,
.cpp.source-cpp .kw4,
Expand Down Expand Up @@ -259,9 +270,15 @@
color: #F09819;
}

/* c/c++ multiline comment */
.c.source-c .coMULTI,
.cpp.source-cpp .coMULTI {
color: #F09819;
font-style: italic;
}

.mw-geshi a {
color: crimson;
text-decoration: underline;
}

table.ambox {
Expand Down
16 changes: 14 additions & 2 deletions docs.gl/common.user.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ==UserStyle==
@name docs.gl-common.css
@version 1.1.0
@version 1.1.1
@description ❤️ Minimal aestheic with highly refined color palettes
@namespace 1nfdev
@author 1nfdev <[email protected]>
Expand Down Expand Up @@ -48,6 +48,18 @@
color: #d33050 !important
}

a:hover {
color: #00a000 !important;
text-decoration: underline;
}

.codecomment > a:hover,
pre.programlisting > a:hover {
font-weight: bold;
color: #00a000 !important;
text-decoration: underline;
}

.disabled, .disabled a, a.disabled {
color: red !important;
}
Expand Down Expand Up @@ -90,7 +102,7 @@
div.funcsynopsis > a,
.example .programlisting > a,
table.funcprototype-table > a {
text-decoration: underline;
text-decoration: none;
}

.example .programlisting > span.constant {
Expand Down

0 comments on commit abffa25

Please sign in to comment.