2020-07-21 09:50:35 +01:00
|
|
|
:root {
|
|
|
|
--gap: 24px;
|
2020-07-28 09:36:07 +01:00
|
|
|
--content-gap: 20px;
|
2022-04-09 16:31:15 +01:00
|
|
|
--nav-width: 960px;
|
2020-07-28 07:57:51 +01:00
|
|
|
--main-width: 720px;
|
2022-05-05 10:30:12 +01:00
|
|
|
--post-width: 720px;
|
2020-07-21 09:50:35 +01:00
|
|
|
--header-height: 60px;
|
2022-04-21 18:09:19 +01:00
|
|
|
--footer-height: 80px;
|
2020-07-21 09:50:35 +01:00
|
|
|
--radius: 8px;
|
2022-09-29 17:19:08 +01:00
|
|
|
--monospace: "Lucida Console", Monaco, "Consolas", monospace;
|
2022-04-13 10:23:43 +01:00
|
|
|
|
2021-09-20 16:38:44 +01:00
|
|
|
--theme: rgb(255, 255, 255);
|
|
|
|
--entry: rgb(255, 255, 255);
|
|
|
|
--primary: rgb(30, 30, 30);
|
2022-09-05 17:32:41 +01:00
|
|
|
--primary-dim: rgb(60, 60, 60);
|
2021-09-20 16:38:44 +01:00
|
|
|
--secondary: rgb(108, 108, 108);
|
2022-04-21 10:32:20 +01:00
|
|
|
--tertiary: rgb(158, 158, 158);
|
|
|
|
--tertiary-bg: rgb(214, 214, 214);
|
2021-09-20 16:38:44 +01:00
|
|
|
--content: rgb(31, 31, 31);
|
|
|
|
--code-bg: rgb(245, 245, 245);
|
|
|
|
--border: rgb(238, 238, 238);
|
2022-05-05 10:17:06 +01:00
|
|
|
--link-background-color: #e8e3f7;
|
2022-04-13 10:23:43 +01:00
|
|
|
--link-color: var(--primary);
|
|
|
|
--link-hover-color: #573eaa;
|
|
|
|
--link-underline-shadow: 0 1px 0 var(--link-color);
|
2022-04-21 07:46:25 +01:00
|
|
|
--link-hover-underline-color: #6549c0;
|
2022-04-13 10:23:43 +01:00
|
|
|
--link-hover-underline-shadow: 0 2px 0 var(--link-hover-underline-color);
|
2022-04-21 07:56:33 +01:00
|
|
|
--link-transition: all 0.3s ease;
|
2022-05-31 17:51:18 +01:00
|
|
|
--line-yellow: url("data:image/svg+xml;charset=utf-8,%3Csvg preserveAspectRatio='none' width='120' height='6' viewBox='0 0 120 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M119 0.8C60 4 50-0.5 1 1.5' stroke='%23fc0' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
|
2022-09-09 04:30:49 +01:00
|
|
|
|
|
|
|
/* for type pages theming */
|
|
|
|
--signature: var(--primary);
|
|
|
|
--signature-bg: var(--secondary);
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
2022-09-08 14:50:49 +01:00
|
|
|
@media screen and (max-width: 500px) {
|
|
|
|
:root {
|
|
|
|
--header-height: 52px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2020-07-21 09:50:35 +01:00
|
|
|
|
|
|
|
.dark {
|
2021-09-20 16:38:44 +01:00
|
|
|
--theme: rgb(29, 30, 32);
|
|
|
|
--entry: rgb(46, 46, 51);
|
|
|
|
--primary: rgb(218, 218, 219);
|
2022-09-05 17:32:41 +01:00
|
|
|
--primary-dim: rgb(186, 186, 186);
|
2021-09-20 16:38:44 +01:00
|
|
|
--secondary: rgb(155, 156, 157);
|
2022-04-21 10:32:20 +01:00
|
|
|
--tertiary: rgb(123, 124, 124);
|
|
|
|
--tertiary-bg: rgb(65, 66, 68);
|
2021-09-20 16:38:44 +01:00
|
|
|
--content: rgb(196, 196, 197);
|
|
|
|
--code-bg: rgb(55, 56, 62);
|
|
|
|
--border: rgb(51, 51, 51);
|
2022-05-05 10:17:06 +01:00
|
|
|
--link-background-color: #5242746d;
|
2022-04-13 10:23:43 +01:00
|
|
|
--link-color: var(--primary);
|
|
|
|
--link-hover-color: #876fd6;
|
|
|
|
--link-underline-shadow: 0 1px 0 var(--link-color);
|
|
|
|
--link-hover-underline-color: var(--link-hover-color);
|
|
|
|
--link-hover-underline-shadow: 0 2px 0 var(--link-hover-underline-color);
|
2024-03-04 03:46:53 +00:00
|
|
|
|
|
|
|
/* for type pages theming */
|
|
|
|
--signature: var(--primary);
|
|
|
|
--signature-bg: var(--secondary);
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2022-09-07 14:47:14 +01:00
|
|
|
.list-page {
|
2021-01-16 11:39:53 +00:00
|
|
|
background: var(--code-bg);
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2022-09-07 14:47:14 +01:00
|
|
|
.dark.list-page {
|
2021-01-16 11:39:53 +00:00
|
|
|
background: var(--theme);
|
2020-11-17 07:15:19 +00:00
|
|
|
}
|