frontpage/styles/globals.scss

60 lines
2.6 KiB
SCSS
Raw Normal View History

2021-12-14 22:47:12 +01:00
@font-face {
2021-12-16 00:21:14 +01:00
font-family: CascadiaCode;
src: url(fonts/CascadiaCode.woff2);
}
* {
2022-02-09 20:25:15 +01:00
box-sizing: border-box !important;
2022-06-12 14:55:48 +02:00
}
:root {
2022-10-18 12:04:11 +02:00
--repl_color: #188a18;
2022-10-16 00:07:02 +02:00
--repl_color-link: rgb(31, 179, 31);
--repl_color-hint: rgba(24, 138, 24, 0.3);
2022-10-15 23:08:49 +02:00
--blog_nav-background: rgba(128, 128, 128, 0.3);
--blog_nav-border: #ccc;
2022-10-19 11:08:02 +02:00
/* https://doodad.dev/pattern-generator?share=stripes-8-247_250_252_1-229_62_62_1-0_0_0_1-57-45-3-8-0-0-0-0-0-0-0 */
2022-10-15 23:08:49 +02:00
--blog_back-background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='100%25' width='100%25'%3E%3Cdefs%3E%3Cpattern id='doodad' width='57' height='57' viewBox='0 0 40 40' patternUnits='userSpaceOnUse' patternTransform='rotate(45)'%3E%3Crect width='100%25' height='100%25' fill='rgba(32, 19, 19,1)'/%3E%3Ccircle cx='0' cy='20' r='1.5' fill='rgba(247, 250, 252,1)'/%3E%3Ccircle cx='40' cy='20' r='1.5' fill='rgba(247, 250, 252,1)'/%3E%3Cpath d='m 16 19.5 h8 v1 h-8z' fill='rgba(229, 62, 62,1)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23doodad)' height='200%25' width='200%25'/%3E%3C/svg%3E ");
2022-10-18 16:46:33 +02:00
--blog_background-main: rgba(32, 19, 19,1);
2022-10-16 14:43:55 +02:00
--blog_content-background: rgba(40, 40, 40, 0.2);
2022-10-18 12:04:11 +02:00
--blog_content-border: rgba(221, 221, 221, 0.25); /* #ddd but less opacity */
2022-10-15 23:08:49 +02:00
--blog_content-blur: 10px;
--blog_color: #ddd;
2022-10-16 00:05:44 +02:00
--blog_light-el-display: none;
--blog_dark-el-display: initial;
2022-10-15 23:08:49 +02:00
&[data-theme="light"]{
--blog_nav-background: rgba(192, 192, 192, 0.3);
--blog_nav-border: #ccc;
--blog_back-background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='100%25' width='100%25'%3E%3Cdefs%3E%3Cpattern id='doodad' width='57' height='57' viewBox='0 0 40 40' patternUnits='userSpaceOnUse' patternTransform='rotate(45)'%3E%3Crect width='100%25' height='100%25' fill='rgba(245, 179, 179,1)'/%3E%3Ccircle cx='0' cy='20' r='1.5' fill='rgba(247, 250, 252,1)'/%3E%3Ccircle cx='40' cy='20' r='1.5' fill='rgba(247, 250, 252,1)'/%3E%3Cpath d='m 16 19.5 h8 v1 h-8z' fill='rgba(229, 62, 62,1)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23doodad)' height='200%25' width='200%25'/%3E%3C/svg%3E ");
2022-10-18 16:46:33 +02:00
--blog_background-main: rgba(245, 179, 179,1);
2022-10-15 23:08:49 +02:00
--blog_content-background: rgba(160, 160, 160, 0.15);
2022-10-18 12:04:11 +02:00
--blog_content-border: rgb(34, 34, 34, 0.17); /* #222 but less opacity */
2022-10-15 23:08:49 +02:00
--blog_content-blur: 5px;
--blog_color: #222;
2022-10-16 00:05:44 +02:00
--blog_light-el-display: initial;
--blog_dark-el-display: none;
2022-10-15 23:08:49 +02:00
}
2022-10-18 16:46:33 +02:00
--blog_color-accent: rgba(229, 62, 62,1);
--blog_color-accent-dark: rgb(190, 54, 54);
2021-12-16 01:03:54 +01:00
}
body {
margin: 0;
padding: 0;
2022-06-14 23:18:00 +02:00
}
2022-10-07 23:03:39 +02:00
2022-10-08 14:07:56 +02:00
a.nostyle {
text-decoration: inherit;
2022-10-29 21:00:38 +02:00
}
a.nocolor, a.nostyle {
2022-10-08 14:07:56 +02:00
color: inherit;
2022-10-07 23:03:39 +02:00
}