mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-05-02 16:16:36 +00:00
deploy: 42fcbc3084
This commit is contained in:
parent
9fa6da06d8
commit
3c02a49dc3
371 changed files with 8010 additions and 8007 deletions
|
@ -205,6 +205,9 @@
|
|||
|
||||
/* ----------------------------------------------- */
|
||||
/* set default colors as in variant.css for IE11 */
|
||||
html {
|
||||
color-scheme: only light;
|
||||
}
|
||||
body {
|
||||
background-color: #ffffff; /* var(--MAIN-BG-color) */
|
||||
color: #101010; /* var(--MAIN-TEXT-color) */
|
||||
|
|
|
@ -47,7 +47,3 @@
|
|||
--BOX-BG-color: rgba( 255, 255, 255, .833 ); /* color of the content background */
|
||||
--BOX-TEXT-color: rgba( 16, 16, 16, 1 ); /* fixed color of the content text */
|
||||
}
|
||||
|
||||
:root {
|
||||
color-scheme: only light; /* set browser scrollbar color */
|
||||
}
|
||||
|
|
|
@ -48,10 +48,6 @@
|
|||
--BOX-TEXT-color: rgba( 16, 16, 16, 1 ); /* fixed color of the content text */
|
||||
}
|
||||
|
||||
:root {
|
||||
color-scheme: only light; /* set browser scrollbar color */
|
||||
}
|
||||
|
||||
body a#logo,
|
||||
body a#logo:hover,
|
||||
body #logo svg,
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
--CODE-INLINE-BG-color: #282a36; /* background color of inline code */
|
||||
--CODE-INLINE-BORDER-color: #464646; /* border color of inline code */
|
||||
|
||||
--BROWSER-theme: dark; /* name of the theme for browser scrollbars of the main section */
|
||||
--MERMAID-theme: dark; /* name of the default Mermaid theme for this variant, can be overridden in config.toml */
|
||||
--SWAGGER-theme: dark; /* name of the default Swagger theme for this variant, can be overridden in config.toml */
|
||||
|
||||
|
@ -70,10 +71,6 @@
|
|||
--BOX-RED-TEXT-color: var( --BOX-RED-color ); /* text color of red boxes */
|
||||
}
|
||||
|
||||
:root {
|
||||
color-scheme: only dark; /* set browser scrollbar color */
|
||||
}
|
||||
|
||||
body a#logo,
|
||||
body a#logo:hover,
|
||||
body #logo svg,
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
--CODE-INLINE-BG-color: #fffae9; /* background color of inline code */
|
||||
--CODE-INLINE-BORDER-color: #f8e8c8; /* border color of inline code */
|
||||
|
||||
--BROWSER-theme: light; /* name of the theme for browser scrollbars of the main section */
|
||||
--MERMAID-theme: default; /* name of the default Mermaid theme for this variant, can be overridden in config.toml */
|
||||
--SWAGGER-theme: light; /* name of the default Swagger theme for this variant, can be overridden in config.toml */
|
||||
|
||||
|
@ -46,10 +47,6 @@
|
|||
--BOX-TEXT-color: rgba( 16, 16, 16, 1 ); /* text color of colored box content */
|
||||
}
|
||||
|
||||
:root {
|
||||
color-scheme: only light; /* set browser scrollbar color */
|
||||
}
|
||||
|
||||
body a#logo,
|
||||
body a#logo:hover,
|
||||
body #logo svg,
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
--CODE-INLINE-BG-color: #2d2d2d; /* background color of inline code */
|
||||
--CODE-INLINE-BORDER-color: #464646; /* border color of inline code */
|
||||
|
||||
--BROWSER-theme: dark; /* name of the theme for browser scrollbars of the main section */
|
||||
--MERMAID-theme: dark; /* name of the default Mermaid theme for this variant, can be overridden in config.toml */
|
||||
--SWAGGER-theme: dark; /* name of the default Swagger theme for this variant, can be overridden in config.toml */
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
--CODE-INLINE-BG-color: #fffae9; /* background color of inline code */
|
||||
--CODE-INLINE-BORDER-color: #f8e8c8; /* border color of inline code */
|
||||
|
||||
--BROWSER-theme: light; /* name of the theme for browser scrollbars of the main section */
|
||||
--MERMAID-theme: default; /* name of the default Mermaid theme for this variant, can be overridden in config.toml */
|
||||
--SWAGGER-theme: light; /* name of the default Swagger theme for this variant, can be overridden in config.toml */
|
||||
|
||||
|
@ -45,7 +46,3 @@
|
|||
--BOX-BG-color: rgba( 255, 255, 255, .833 ); /* background color of colored boxes */
|
||||
--BOX-TEXT-color: rgba( 16, 16, 16, 1 ); /* text color of colored box content */
|
||||
}
|
||||
|
||||
:root {
|
||||
color-scheme: only light; /* set browser scrollbar color */
|
||||
}
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
|
||||
--INTERNAL-CODE-font: var(--CODE-font, "Consolas", menlo, monospace);
|
||||
|
||||
--INTERNAL-BROWSER-theme: var(--BROWSER-theme, light);
|
||||
--INTERNAL-MERMAID-theme: var(--CONFIG-MERMAID-theme, var(--MERMAID-theme, var(--INTERNAL-PRINT-MERMAID-theme)));
|
||||
--INTERNAL-SWAGGER-theme: var(--CONFIG-SWAGGER-theme, var(--SWAGGER-theme, var(--INTERNAL-PRINT-SWAGGER-theme)));
|
||||
|
||||
|
@ -93,15 +94,19 @@
|
|||
--INTERNAL-BOX-WARNING-TEXT-color: var(--BOX-WARNING-TEXT-color, var(--INTERNAL-BOX-RED-TEXT-color));
|
||||
|
||||
/* print style, values taken from relearn-light as it is used as a default print style */
|
||||
--INTERNAL-PRINT-MERMAID-theme: var(--PRINT-MERMAID-theme, default);
|
||||
--INTERNAL-PRINT-MAIN-BG-color: var(--PRINT-MAIN-BG-color, #ffffff);
|
||||
--INTERNAL-PRINT-CODE-font: var(--PRINT-CODE-font, "Consolas", menlo, monospace);
|
||||
--INTERNAL-PRINT-TAG-BG-color: var(--PRINT-TAG-BG-color, #7dc903);
|
||||
--INTERNAL-PRINT-MAIN-font: var(--PRINT-MAIN-font, "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif);
|
||||
--INTERNAL-PRINT-MAIN-TEXT-color: var(--PRINT-MAIN-TEXT-color, #101010);
|
||||
--INTERNAL-PRINT-MERMAID-theme: var(--PRINT-MERMAID-theme, default);
|
||||
--INTERNAL-PRINT-SWAGGER-theme: var(--PRINT-SWAGGER-theme, light);
|
||||
}
|
||||
|
||||
html {
|
||||
color-scheme: only var(--INTERNAL-BROWSER-theme);
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--INTERNAL-MAIN-BG-color);
|
||||
color: var(--INTERNAL-MAIN-TEXT-color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue