You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2022/03/29 22:40:06 UTC
[libcloud-site] 01/02: Update dark theme.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/libcloud-site.git
commit bdef91baea04b6bdb8c5606cae6a22a2efc842c6
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Wed Mar 30 00:39:46 2022 +0200
Update dark theme.
---
source/_assets/css/main.css | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/source/_assets/css/main.css b/source/_assets/css/main.css
index 4a5020c..d166d6e 100644
--- a/source/_assets/css/main.css
+++ b/source/_assets/css/main.css
@@ -11,6 +11,7 @@ html, html[data-theme="light"] {
--main-code-background-color: #f9f2f4;;
--main-syntax-highlight-background-color: #fff0f0;
--main-syntax-highlight-o-text-color: #333;
+ --main-syntax-highlight-ow-text-color: #000;
--main-carousel-color: #333;
--main-post-date-author: rgba(77,77,77,0.75);
--main-navbar-text-color: #000;
@@ -31,6 +32,7 @@ html[data-theme="dark"] {
--main-code-background-color: rgb(43, 20, 26);
--main-syntax-highlight-background-color: rgb(60, 0, 0);
--main-syntax-highlight-o-text-color: rgb(200, 195, 188);
+ --main-syntax-highlight-ow-text-color: rgb(232, 230, 227);
--main-carousel-color: #fff;
--main-post-date-author: rgba(183, 177, 168, 0.75);
--main-navbar-text-color: #fff;
@@ -52,6 +54,7 @@ html[data-theme="dark"] {
--main-code-background-color: rgb(43, 20, 26);
--main-syntax-highlight-background-color: rgb(60, 0, 0);
--main-syntax-highlight-o-text-color: rgb(200, 195, 188);
+ --main-syntax-highlight-ow-text-color: rgb(232, 230, 227);
--main-carousel-color: #fff;
--main-post-date-author: rgba(183, 177, 168, 0.75);
--main-navbar-text-color: #fff;
@@ -72,6 +75,7 @@ html[data-theme="dark"] {
--main-code-background-color: #f9f2f4;;
--main-syntax-highlight-background-color: #fff0f0;
--main-syntax-highlight-o-text-color: #333;
+ --main-syntax-highlight-ow-text-color: #000;
--main-carousel-color: #333;
--main-post-date-author: rgba(77,77,77,0.75);
--main-navbar-text-color: #000;
@@ -392,10 +396,15 @@ a:focus {
.s {
background-color: var(--main-syntax-highlight-background-color);
}
+
.o {
color: var(--main-syntax-highlight-o-text-color);
}
+.ow {
+ color: var(--main-syntax-highlight-ow-text-color) !important;
+}
+
code {
color: var(--main-code-text-color);
background-color: var(--main-code-background-color);