mirror of
https://github.com/mmalmi/mmalmi.github.io.git
synced 2025-04-23 01:01:27 +00:00
99 lines
1.9 KiB
SCSS
99 lines
1.9 KiB
SCSS
---
|
|
---
|
|
|
|
@font-face {
|
|
font-family: 'Lato';
|
|
font-weight: 300;
|
|
font-style: normal;
|
|
src: local('Lato Light'),
|
|
local('Lato-300'),
|
|
url('../assets/fonts/Lato-300/Lato-300.woff2') format('woff2'),
|
|
url('../assets/fonts/Lato-300/Lato-300.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Lato';
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
src: local('Lato Regular'),
|
|
local('Lato-regular'),
|
|
url('../assets/fonts/Lato-regular/Lato-regular.woff2') format('woff2'),
|
|
url('../assets/fonts/Lato-regular/Lato-regular.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Lato';
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
src: local('Lato Bold'),
|
|
local('Lato-700'),
|
|
url('../assets/fonts/Lato-700/Lato-700.woff2') format('woff2'),
|
|
url('../assets/fonts/Lato-700/Lato-700.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Lato';
|
|
font-weight: 900;
|
|
font-style: normal;
|
|
src: local('Lato Black'),
|
|
local('Lato-900'),
|
|
url('../assets/fonts/Lato-900/Lato-900.woff2') format('woff2'),
|
|
url('../assets/fonts/Lato-900/Lato-900.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Libre Baskerville';
|
|
font-weight: 300;
|
|
font-style: normal;
|
|
src: local('Libre Baskerville'),
|
|
url('../assets/fonts/LibreBaskerville-Regular.ttf') format('ttf'),
|
|
}
|
|
|
|
@import "minima";
|
|
|
|
body {
|
|
font-family: 'Lato';
|
|
}
|
|
|
|
blockquote {
|
|
font-size: 24px;
|
|
}
|
|
|
|
main {
|
|
font-family: 'Libre Baskerville';
|
|
letter-spacing: -0.003em;
|
|
font-size: 21px;
|
|
line-height: 32px;
|
|
}
|
|
|
|
.site-title {
|
|
text-transform: uppercase;
|
|
letter-spacing: 10px;
|
|
font-weight: 700;
|
|
transition: opacity 0.25s ease;
|
|
@include relative-font-size(0.8);
|
|
|
|
&:hover {
|
|
text-decoration: none;
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 360px) {
|
|
.site-title {
|
|
@include relative-font-size(1.2);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
.site-title {
|
|
@include relative-font-size(1.5);
|
|
}
|
|
}
|
|
|
|
video {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
outline: none;
|
|
}
|