hugo-battheme/assets/scss/font.scss
2022-04-16 18:44:46 +02:00

68 lines
779 B
SCSS

$huge: 42pt;
$large: 32pt;
$big: 24pt;
$medium: 18pt;
$small: 12pt;
@font-face {
font-family: CaskaydiaCove;
src: url(/font/CaskaydiaCove.ttf);
}
@font-face {
font-family: CaskaydiaCoveMono;
src: url(/font/CaskaydiaCoveMono.ttf);
}
* {
font-family: CaskaydiaCove;
font-size: $small;
text-overflow: clip;
}
p,
.postdescription,
ul {
line-height: 2em;
}
h1{
font-size: $huge;
}
h1 a,
h2 a{
font-size: $huge;
font-style:bold;
}
h3 a, h4 a {
font-size: $large;
}
h5 a, h6 a {
font-size: $big;
}
a {
text-decoration: none;
}
footer * {
font-size: $big;
font-family: CaskaydiaCoveMono;
}
label::after {
font-family: CaskaydiaCoveMono;
font-size: $big;
}
h6 {
font-style: italic;
}
::before,
code {
font-family: CaskaydiaCoveMono;
}