From abffa253a5e5d4c5db323fcf3f81896e77309510 Mon Sep 17 00:00:00 2001 From: 1nfdev <_infdev@linuxmail.org> Date: Wed, 12 Aug 2020 04:59:38 +0500 Subject: [PATCH] update cppreference and docs.gl style --- cppreference/common.user.css | 21 +++++++++++++++++++-- docs.gl/common.user.css | 16 ++++++++++++++-- 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/cppreference/common.user.css b/cppreference/common.user.css index 77fb7cd..e0a2791 100644 --- a/cppreference/common.user.css +++ b/cppreference/common.user.css @@ -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 <2ds6y3t26@relay.firefox.com> @@ -42,6 +42,11 @@ color: #d33050 !important } + a:hover { + color: #00a000 !important; + text-decoration: underline; + } + hr { background-color: #fff; } @@ -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, @@ -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 { diff --git a/docs.gl/common.user.css b/docs.gl/common.user.css index 4a9bbc1..f444954 100644 --- a/docs.gl/common.user.css +++ b/docs.gl/common.user.css @@ -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 <2ds6y3t26@relay.firefox.com> @@ -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; } @@ -90,7 +102,7 @@ div.funcsynopsis > a, .example .programlisting > a, table.funcprototype-table > a { - text-decoration: underline; + text-decoration: none; } .example .programlisting > span.constant {