PaperModX/assets/css/core/theme-vars.css

55 lines
1.8 KiB
CSS
Raw Normal View History

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;
--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;
--theme: rgb(255, 255, 255);
--entry: rgb(255, 255, 255);
--primary: rgb(30, 30, 30);
--secondary: rgb(108, 108, 108);
2022-04-21 10:32:20 +01:00
--tertiary: rgb(158, 158, 158);
--tertiary-bg: rgb(214, 214, 214);
--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;
--link-color: var(--primary);
--link-hover-color: #573eaa;
--link-underline-shadow: 0 1px 0 var(--link-color);
--link-hover-underline-color: #6549c0;
--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;
--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");
2020-07-21 09:50:35 +01:00
}
.dark {
--theme: rgb(29, 30, 32);
--entry: rgb(46, 46, 51);
--primary: rgb(218, 218, 219);
--secondary: rgb(155, 156, 157);
2022-04-21 10:32:20 +01:00
--tertiary: rgb(123, 124, 124);
--tertiary-bg: rgb(65, 66, 68);
--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;
--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);
2020-07-21 09:50:35 +01:00
}
.list {
background: var(--code-bg);
2020-07-21 09:50:35 +01:00
}
.dark.list {
background: var(--theme);
}