resume/styles.css

162 lines
2.3 KiB
CSS
Raw Normal View History

2024-04-24 14:22:46 +00:00
@font-face {
2024-04-25 22:26:41 +00:00
font-family: Jura;
src: url(fonts/Jura-VariableFont_wght.ttf) format(tr);
2024-04-24 14:22:46 +00:00
font-style: normal;
}
2024-04-25 22:26:41 +00:00
@font-face {
font-family: League;
src: url(fonts/LeagueGothic-Regular-VariableFont_wdth.ttf);
font-style: bold;
}
2024-04-24 14:22:46 +00:00
:root {
2024-05-24 10:50:57 +00:00
@media (prefers-color-scheme: dark) {
--text: #e0def4;
--love: #eb6f92;
--gold: #f6c177;
--rose: #ebbcba;
--pine: #31748f;
--foam: #9ccfd8;
--iris: #c4a7e7;
2024-04-24 14:22:46 +00:00
2024-05-24 10:50:57 +00:00
--base: #191724;
--surface: #1f1d2e;
--overlay: #26233a;
2024-04-24 14:22:46 +00:00
2024-05-24 10:50:57 +00:00
--hl-low: #21202e;
--hl-med: #403d52;
--hl-high: #524f67;
}
@media (prefers-color-scheme: light) {
--text: #575279;
--love: #b4637a;
--gold: #ea9d34;
--rose: #d7827e;
--pine: #286983;
--foam: #56949f;
--iris: #907aa9;
--base: #faf4ed;
--surface: #fffaf3;
--overlay: #f2e9e1;
--hl-low: #f4ede8;
--hl-med: #dfdad9;
--hl-high: #cecacd;
}
--shadow-color: rgba(0, 0, 0, 0.6);
--text-shadow: 0.04em 0.04em var(--shadow-color);
2024-04-24 14:22:46 +00:00
}
body {
2024-04-25 22:26:41 +00:00
background-image: linear-gradient(to bottom right, var(--overlay), var(--base));
2024-04-24 14:22:46 +00:00
}
h1,
h2,
h3,
h4 {
2024-04-25 22:26:41 +00:00
font-family: League, Verdana, Geneva, Tahoma, sans-serif;
color: var(--gold);
2024-05-24 10:50:57 +00:00
margin: 0px;
2024-04-25 22:26:41 +00:00
}
h1 {
font-size: 8rem;
2024-05-24 10:50:57 +00:00
text-shadow: var(--text-shadow);
2024-04-25 22:26:41 +00:00
}
h2 {
font-size: 6rem;
2024-05-24 10:50:57 +00:00
text-shadow: var(--text-shadow);
2024-04-25 22:26:41 +00:00
}
h3 {
font-size: 4rem;
2024-05-24 10:50:57 +00:00
color: var(--iris);
2024-04-24 14:22:46 +00:00
}
main {
2024-04-25 22:26:41 +00:00
font-family: Jura, serif;
2024-04-24 14:22:46 +00:00
font-size: 2rem;
width: 60%;
margin: auto;
2024-05-24 10:50:57 +00:00
font-weight: 600;
2024-04-24 14:22:46 +00:00
color: var(--text);
}
2024-05-24 10:50:57 +00:00
section {
margin-bottom: 8rem;
}
.container {
2024-04-25 22:26:41 +00:00
2024-04-24 14:22:46 +00:00
background-color: var(--surface);
border-radius: 10rem;
2024-04-25 22:26:41 +00:00
padding: 5rem;
2024-05-24 10:50:57 +00:00
box-shadow: 1rem 1rem var(--shadow-color);
2024-04-25 22:26:41 +00:00
}
figcaption {
margin-bottom: 0;
font-size: 2em;
font-weight: 1000;
color: var(--iris);
2024-05-24 10:50:57 +00:00
/* text-shadow: var(--text-shadow); */
2024-04-24 14:22:46 +00:00
}
b {
2024-04-25 22:26:41 +00:00
/* color: var(--foam); */
font-weight: 1000;
font-size: 1.1em
2024-04-24 14:22:46 +00:00
}
a {
2024-04-25 22:26:41 +00:00
text-decoration-line: underline;
text-decoration-style: dotted;
text-decoration-color: var(--pine);
2024-04-24 14:22:46 +00:00
color: var(--foam);
2024-04-25 22:26:41 +00:00
font-weight: bold;
2024-04-24 14:22:46 +00:00
}
a:visited {
2024-04-25 22:26:41 +00:00
text-decoration: none;
2024-04-24 14:22:46 +00:00
color: var(--pine);
}
a:hover {
2024-04-25 22:26:41 +00:00
background-color: var(--hl-med);
2024-04-24 14:22:46 +00:00
}
2024-04-25 22:26:41 +00:00
ul {
list-style-position: inside;
}
2024-04-24 14:22:46 +00:00
li {
2024-04-25 22:26:41 +00:00
list-style-type: '✓ ';
2024-04-24 14:22:46 +00:00
margin-bottom: 2rem;
2024-04-25 22:26:41 +00:00
padding: 1rem;
}
2024-04-24 14:22:46 +00:00
2024-04-25 22:26:41 +00:00
li::marker {
color: var(--pine);
}
.link-list>li {
list-style-type: '> ';
}
.link-list>li:hover::marker {
color: var(--foam);
2024-04-24 14:22:46 +00:00
}