@import "normalize";
@import "fonts";
/* Colors */
$foreground: #16100f;
$link-foreground: #681825;
$background: #f7bead;
$header-footer-background: #fec89a;
/* Layout */
html {
background-color: $background;
font-size: 14pt;
color: $foreground;
font-family: Roboto-Slab, sans-serif;
font-weight: 275;
height: 100%;
overflow-x: hidden;
}
body {
width: 100vw;
min-height: 100vh;
display: flex;
flex-flow: column;
}
main {
margin: 1rem auto;
max-width: 40rem;
width: 90%;
flex: 1;
}
header, footer {
background-color: $header-footer-background;
}
p {
line-height: 1.5rem;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
h1, h2 {
text-align: center;
margin: 1rem;
}
h1 {
font-weight: 350;
}
a {
color: $link-foreground;
font-weight: 350;
}
.header-footer {
padding: 0.25rem 0;
width: 100%;
display: flex;
flex-flow: row wrap;
justify-content: center;
align-items: center;
.title {
color: $foreground;
text-decoration: none;
margin: 0.5rem 0;
}
span {
margin: 0.5rem 0.75rem;
}
}
.title {
font-weight: 375;
font-size: 1.5rem;
}
.subtitle {
font-weight: 300;
}
.article {
padding: 0.5rem 0;
}
.article-metadata-wrapper {
text-align: right;
}
.article-metadata {
font-size: 0.8rem;
padding: 0 0.2rem;
}
.tooltip {
cursor: help;
border-bottom: 1px dashed $foreground;
}
.emoji {
display: inline-block;
align-items: center;
vertical-align: middle;
width: auto;
height: 32px;
line-height: 0px;
object-fit: contain;
img {
display: inline-block;
width: auto;
height: 100%;
}
}
.signature {
text-align: right;
margin: 1.5em;
font-size: 1.25rem;
font-variation-settings: 'wght' 150;
}
/* Home-specific styles */
.home-header {
height: 100vh;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
padding: 0 1rem;
text-align: center;
overflow: hidden;
* {
margin: 0.5rem 0;
}
.title {
font-size: 3.5rem;
}
.subtitle {
font-size: 1.5rem;
}
.arrow-down {
content: "";
$width: 0.25rem;
$size: 0.35rem;
border: solid $foreground;
border-width: 0 $width $width 0;
display: inline-block;
padding: $size;
transform: rotate(45deg);
position: absolute;
bottom: 2rem;
}
}