hugo-theme-more-contentful/assets/scss/main.scss
Gabriel Arazas 023c34c22a Update the site layout
Made the resulting HTML cleaner and added a color to the border for more
personality.
2020-12-23 18:20:16 +08:00

43 lines
846 B
SCSS

: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;
--border-style: var(--base06) solid 1px;
}
:root {
font-family: var(--body-family);
font-size: var(--font-size);
background: var(--base00);
color: var(--base05);
line-height: var(--vertical-rhythm);
margin: 0;
padding: 0;
}
@function decToHex($dec) {
$hex: "0123456789ABCDEF";
$first: (($dec - $dec % 16)/16)+1;
$second: ($dec % 16)+1;
@return str-slice($hex, $first, $first) + str-slice($hex, $second, $second)
}
@mixin header-link-hover-style {
> *:hover {
color: var(--base0C);
text-decoration: none;
}
}
@import "base";
@import "layout";
@import "extend";