hugo-WonderMod/assets/css/theme-vars.css

45 lines
888 B
CSS
Raw Normal View History

2020-07-21 04:50:35 -04:00
:root {
--gap: 24px;
2020-07-28 04:36:07 -04:00
--content-gap: 20px;
2020-07-21 04:50:35 -04:00
--nav-width: 1024px;
2020-07-28 02:57:51 -04:00
--main-width: 720px;
2020-07-21 04:50:35 -04:00
--header-height: 60px;
--footer-height: 60px;
--radius: 8px;
--theme: #fff;
--entry: #fff;
--primary: rgba(0, 0, 0, 0.88);
--secondary: rgba(0, 0, 0, 0.56);
--tertiary: rgba(0, 0, 0, 0.16);
--content: rgba(0, 0, 0, 0.88);
--hljs-bg: #1c1d21;
--code-bg: #f5f5f5;
2021-01-11 09:31:19 -05:00
--border: #eee;
2020-07-21 04:50:35 -04:00
}
@media screen and (max-width:600px) {
2020-07-25 03:58:07 -04:00
:root {
--gap: 14px
2020-07-25 03:58:07 -04:00
}
}
2020-07-21 04:50:35 -04:00
.dark {
--theme: #1d1e20;
--entry: #2e2e33;
--primary: rgba(255, 255, 255, 0.84);
--secondary: rgba(255, 255, 255, 0.56);
--tertiary: rgba(255, 255, 255, 0.16);
--content: rgba(255, 255, 255, 0.64);
--hljs-bg: #2e2e33;
--code-bg: #37383e;
2021-01-11 09:31:19 -05:00
--border: #333;
2020-07-21 04:50:35 -04:00
}
.list {
background: var(--code-bg)
2020-07-21 04:50:35 -04:00
}
.dark.list {
background: var(--theme)
}