113 lines
1.8 KiB
CSS
113 lines
1.8 KiB
CSS
:root {
|
|
--black: #110d0c;
|
|
--dark-red: #401815;
|
|
--off-white: #fdfdfd;
|
|
}
|
|
|
|
.cormorant-garamond-regular {
|
|
font-family: 'Cormorant Garamond', serif;
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
}
|
|
|
|
.cormorant-garamond-semibold {
|
|
font-family: 'Cormorant Garamond', serif;
|
|
font-weight: 600;
|
|
font-style: normal;
|
|
}
|
|
|
|
.eb-garamond-regular {
|
|
font-family: 'EB Garamond', serif;
|
|
font-optical-sizing: auto;
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
}
|
|
|
|
.eb-garamond-semibold {
|
|
font-family: 'EB Garamond', serif;
|
|
font-optical-sizing: auto;
|
|
font-weight: 600;
|
|
font-style: normal;
|
|
}
|
|
|
|
html {
|
|
font-size: 14pt;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: var(--off-white);
|
|
}
|
|
|
|
header,
|
|
footer {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 15px 25px;
|
|
}
|
|
|
|
header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
justify-content: space-between;
|
|
background: linear-gradient(90deg, var(--dark-red), var(--black));
|
|
color: white;
|
|
filter: drop-shadow(var(--black) 0 3px 3px);
|
|
}
|
|
|
|
footer {
|
|
justify-content: center;
|
|
}
|
|
|
|
header .titles {
|
|
display: flex;
|
|
align-items: baseline;
|
|
column-gap: 15px;
|
|
}
|
|
|
|
nav ul {
|
|
display: flex;
|
|
column-gap: 25px;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
nav a,
|
|
nav a:visited {
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
nav a:hover {
|
|
color: hsl(from white h s calc(l * 0.8));
|
|
}
|
|
|
|
main {
|
|
padding: 0 25px;
|
|
text-align: justify;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
article {
|
|
padding: 15px 0;
|
|
max-width: 700px;
|
|
}
|
|
|
|
.headshot-container {
|
|
width: 100vw;
|
|
background: linear-gradient(90deg, #0d1313, var(--black));
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
filter: drop-shadow(var(--black) 0 3px 3px);
|
|
}
|
|
|
|
.headshot {
|
|
max-width: 700px;
|
|
}
|