hugo-theme-more-contentful/assets/scss/main.scss

44 lines
873 B
SCSS
Raw Normal View History

:root {
/* The fonts. */
--body-family: serif;
--header-family: sans-serif;
--mono-family: monospace;
/* Spacing options. */
--font-size: 20px;
--mono-font-size: 0.9em;
--vertical-rhythm: 24px;
--content-width: 750px;
--code-block-size: 50vh;
2022-06-13 09:06:52 +00:00
--border-style: var(--base05) solid 1px;
2022-05-01 12:38:07 +00:00
--background: var(--base00);
--foreground: var(--base05);
--accent-color: var(--base0C);
}
$mobile-breakpoint: 600px;
$tablet-breakpoint: 860px;
:root {
font-family: var(--body-family);
font-size: clamp(var(--font-size), 1.4vw, calc(var(--font-size) * 3));
2022-05-01 12:38:07 +00:00
background: var(--background);
color: var(--foreground);
line-height: var(--vertical-rhythm);
margin: 0;
padding: 0;
}
@mixin header-link-hover-style {
> *:hover {
2022-05-01 12:38:07 +00:00
color: var(--accent-color);
text-decoration: none;
}
}
@import "base";
@import "layout";
@import "extend";
2021-01-27 16:21:42 +00:00