hugo-battheme/assets/scss/font.scss

69 lines
779 B
SCSS
Raw Normal View History

2022-04-10 14:55:46 +00:00
$huge: 42pt;
$large: 32pt;
$big: 24pt;
$medium: 18pt;
2022-04-10 14:55:46 +00:00
$small: 12pt;
2022-04-09 16:00:33 +00:00
@font-face {
2022-04-10 19:57:17 +00:00
font-family: CaskaydiaCove;
src: url(/font/CaskaydiaCove.ttf);
2022-04-09 16:00:33 +00:00
}
2022-04-10 14:55:46 +00:00
@font-face {
2022-04-10 19:57:17 +00:00
font-family: CaskaydiaCoveMono;
src: url(/font/CaskaydiaCoveMono.ttf);
2022-04-10 14:55:46 +00:00
}
2022-04-09 16:00:33 +00:00
* {
2022-04-10 19:57:17 +00:00
font-family: CaskaydiaCove;
font-size: $small;
2022-04-15 21:49:55 +00:00
text-overflow: clip;
2022-04-10 19:57:17 +00:00
}
2022-04-15 17:24:57 +00:00
p,
.postdescription,
ul {
line-height: 2em;
}
2022-04-13 17:04:38 +00:00
h1{
2022-04-10 19:57:17 +00:00
font-size: $huge;
}
2022-04-09 16:00:33 +00:00
2022-04-16 16:44:46 +00:00
h1 a,
2022-04-13 17:04:38 +00:00
h2 a{
font-size: $huge;
font-style:bold;
}
2022-04-13 17:04:38 +00:00
h3 a, h4 a {
font-size: $large;
}
2022-04-13 17:04:38 +00:00
h5 a, h6 a {
font-size: $big;
}
2022-04-09 16:00:33 +00:00
a {
2022-04-10 19:57:17 +00:00
text-decoration: none;
2022-04-09 16:00:33 +00:00
}
2022-04-10 14:55:46 +00:00
footer * {
font-size: $big;
2022-04-10 19:57:17 +00:00
font-family: CaskaydiaCoveMono;
2022-04-10 14:55:46 +00:00
}
2022-04-10 19:57:17 +00:00
label::after {
font-family: CaskaydiaCoveMono;
font-size: $big;
2022-04-09 16:00:33 +00:00
}
2022-04-12 21:13:48 +00:00
h6 {
font-style: italic;
}
2022-04-13 17:04:38 +00:00
2022-04-13 20:03:32 +00:00
::before,
code {
2022-04-13 17:04:38 +00:00
font-family: CaskaydiaCoveMono;
}