resume/css/styles.css

200 lines
2.9 KiB
CSS

@font-face {
font-family: Jura;
src: url(fonts/Jura-VariableFont_wght.ttf) format(tr);
font-style: normal;
}
@font-face {
font-family: League;
src: url(fonts/LeagueGothic-Regular-VariableFont_wdth.ttf);
font-style: bold;
}
:root {
@media (prefers-color-scheme: dark) {
--text: #e0def4;
--love: #eb6f92;
--gold: #f6c177;
--rose: #ebbcba;
--pine: #31748f;
--foam: #9ccfd8;
--iris: #c4a7e7;
--base: #191724;
--surface: #1f1d2e;
--overlay: #26233a;
--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);
}
body {
background-image: linear-gradient(to bottom right, var(--overlay), var(--base));
}
h1,
h2,
h3,
h4 {
font-family: League, Verdana, Geneva, Tahoma, sans-serif;
color: var(--gold);
margin: 0px;
}
h1 {
font-size: 3em;
text-shadow: var(--text-shadow);
}
h2 {
font-size: 2em;
text-shadow: var(--text-shadow);
}
h3 {
font-size: 2em;
color: var(--iris);
}
main {
font-family: Jura, serif;
font-size: 1.6rem;
width: 100%;
max-width: 1200px;
margin: auto;
font-weight: 600;
color: var(--text);
display: flex;
flex-direction: column;
@media screen and (min-width:601px) {
font-size: 1.6rem;
}
@media screen and (max-width:600px) {
font-size: 1.2rem;
}
}
header {
text-align: center;
text-wrap: balance;
@media screen and (min-width:601px) {
font-size: 1.6rem;
}
@media screen and (max-width:600px) {
font-size: 1.2rem;
}
}
section {
margin-bottom: 3em;
display: inline-flex;
justify-content: center;
@media screen and (min-width:601px) {
flex-direction: row;
}
@media screen and (max-width:600px) {
flex-direction: column;
}
}
.container {
margin: 1em;
background-color: var(--surface);
background-image: radial-gradient(circle at top left, var(--overlay), var(--surface));
border-radius: 6em;
padding: 3em;
box-shadow: 1em 1em var(--shadow-color);
}
figcaption {
margin-bottom: 0;
font-size: 2em;
font-weight: 1000;
color: var(--iris);
/* text-shadow: var(--text-shadow); */
}
b {
/* color: var(--foam); */
font-weight: 1000;
font-size: 1.1em
}
a {
text-decoration-line: underline;
text-decoration-style: dotted;
text-decoration-color: var(--pine);
color: var(--foam);
font-weight: bold;
}
a:visited {
text-decoration: none;
color: var(--pine);
}
a:hover {
background-color: var(--hl-med);
}
ul {
list-style-position: inside;
}
li {
list-style-type: '✓ ';
padding: 0.6em;
}
li::marker {
color: var(--pine);
}
.link-list>li {
list-style-type: '> ';
}
.link-list>li:hover::marker {
color: var(--foam);
}
#project-list>li {
list-style-type: none;
}