1
0
Fork 0
photos/web/shared/css/base.css

81 lines
924 B
CSS

/*
* Typography
*/
@import url('https://fonts.googleapis.com/css2?family=Faustina:wght@400;550&display=swap');
html {
font-family: 'Faustina', serif;
font-weight: 400;
}
body {
margin: 0rem;
font-size: 1em; /* 16pt */
line-height: 1.272;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 550;
}
h1 {
font-size: 2.0581em;
}
h2 {
font-size: 1.618em;
}
h3 {
font-size: 1.272em;
}
h4, h5, h6 {
font-size: 1.272em;
}
/*
* Molecules
*/
.preloaded-thumbnail {
display: block;
position: relative;
}
.preloaded-thumbnail picture:not(.preloaded-thumbnail-image) {
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
.preloaded-thumbnail-image img {
object-fit: cover;
}
/*
* Organisms
*/
nav ul {
padding: calc(0.7862rem / 2);
margin: 0;
list-style: none;
display: flex;
justify-content: flex-end;
}
nav ul li {
margin: calc(0.7862rem / 2);
display: block;
}
header {
padding: 1rem 0.7862rem;
}