resume/css/styles.css

324 lines
4.6 KiB
CSS

empty {}
@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;
background: var(--hl-med);
padding: 3rem;
letter-spacing: 0.05em;
border-radius: 3rem 3rem 3rem 3rem;
}
h1 {
font-size: 5em;
text-shadow: var(--text-shadow);
background: var(--hl-med);
padding: 3rem;
border-radius: 3rem 3rem 0.2rem 0.2rem;
}
h2 {
font-size: 3em;
text-shadow: var(--text-shadow);
}
h3 {
font-size: 3em;
color: var(--iris);
margin: 1rem;
width: full;
text-align: center;
text-shadow: 0.04em 0.08em var(--shadow-color);
}
li.container h3 {
font-size: 7rem;
@media screen and (max-width:600px) {
font-size: 5rem;
}
}
#this-website {
background: none;
}
main {
font-family: Jura, Verdana, Geneva, Tahoma, sans-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;
}
}
p {
margin: 2rem;
}
.container {
height: 100%;
margin: 1em;
background-color: var(--surface);
background-image: radial-gradient(circle at top left, var(--overlay), var(--surface));
border-radius: 6em;
border: solid 1px var(--hl-med);
padding: 2em;
box-shadow: 1em 1em var(--shadow-color);
}
#this-website-container {
padding: 5rem;
}
figure {
margin: 0px;
}
.ghost-container {
@media screen and (min-width:601px) {
max-width: 60%;
}
@media screen and (max-width:600px) {
flex-direction: column;
}
}
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-color: var(--pine);
color: var(--foam);
font-weight: bold;
display: inline;
}
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 {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 0px;
}
#project-list>li {
list-style-type: none;
@media screen and (min-width:601px) {
width: 61%;
}
@media screen and (max-width:600px) {
width: 90%;
}
}
.links-container {
display: flex;
justify-content: center;
gap: 3rem;
width: full;
font-size: 3rem;
}
img {
border-radius: 1rem;
box-shadow: 0.5em 0.5em var(--shadow-color);
margin: 3rem;
max-width: 80%;
margin: auto;
margin-top: 2rem;
margin-bottom: 2rem;
}
img.profile {
border-radius: 100%;
}
.desktop-screen {
max-width: 100%;
}
.mobile-screen {
max-width: 100%;
max-height: 240px;
}
.gallery {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: center;
width: 100%;
}
#intro {
height: 100%;
padding: 1rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: 1.8rem;
text-wrap-style: pretty;
text-align: center;
p {
margin: 1rem;
}
}