resume/css/styles.css

314 lines
4.5 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");
2024-04-25 22:26:41 +00:00
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-05-26 21:35:11 +00:00
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-10-11 16:07:53 +00:00
background: var(--hl-med);
padding: 3rem;
2024-11-12 14:08:07 +00:00
letter-spacing: 0.05em;
2024-10-11 16:07:53 +00:00
border-radius: 3rem 3rem 3rem 3rem;
2024-04-25 22:26:41 +00:00
}
h1 {
2024-10-11 16:07:53 +00:00
font-size: 5em;
2024-05-24 10:50:57 +00:00
text-shadow: var(--text-shadow);
2024-10-11 16:07:53 +00:00
background: var(--hl-med);
padding: 3rem;
2024-10-12 09:20:57 +00:00
border-radius: 3rem 3rem 0.2rem 0.2rem;
2024-04-25 22:26:41 +00:00
}
h2 {
2024-10-11 16:07:53 +00:00
font-size: 3em;
2024-05-24 10:50:57 +00:00
text-shadow: var(--text-shadow);
2024-04-25 22:26:41 +00:00
}
h3 {
2024-10-11 16:07:53 +00:00
font-size: 3em;
2024-05-24 10:50:57 +00:00
color: var(--iris);
2024-10-11 16:07:53 +00:00
margin: 1rem;
width: full;
text-align: center;
2024-11-12 14:08:07 +00:00
text-shadow: 0.04em 0.08em var(--shadow-color);
2024-11-12 16:37:12 +00:00
2024-10-11 16:07:53 +00:00
}
2024-10-12 09:20:57 +00:00
li.container h3 {
font-size: 7rem;
2024-11-12 16:37:12 +00:00
@media screen and (max-width:600px) {
font-size: 5rem;
}
2024-10-12 09:20:57 +00:00
}
2024-10-11 16:07:53 +00:00
#this-website {
background: none;
2024-04-24 14:22:46 +00:00
}
main {
font-family: Jura, Verdana, Geneva, Tahoma, sans-serif;
2024-05-26 21:35:11 +00:00
font-size: 1.6rem;
width: 100%;
max-width: 1200px;
2024-04-24 14:22:46 +00:00
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-26 21:35:11 +00:00
display: flex;
flex-direction: column;
@media screen and (min-width:601px) {
2024-05-26 21:39:05 +00:00
font-size: 1.6rem;
2024-05-26 21:35:11 +00:00
}
@media screen and (max-width:600px) {
2024-05-26 21:39:05 +00:00
font-size: 1.2rem;
2024-05-26 21:35:11 +00:00
}
}
header {
text-align: center;
2024-05-26 21:42:38 +00:00
text-wrap: balance;
2024-05-26 21:35:11 +00:00
2024-05-26 21:42:38 +00:00
@media screen and (min-width:601px) {
font-size: 1.6rem;
}
@media screen and (max-width:600px) {
font-size: 1.2rem;
}
2024-04-24 14:22:46 +00:00
}
2024-05-24 10:50:57 +00:00
section {
2024-05-26 21:35:11 +00:00
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;
}
2024-05-24 10:50:57 +00:00
}
2024-10-11 16:07:53 +00:00
p {
2024-10-12 09:20:57 +00:00
margin: 2rem;
2024-10-11 16:07:53 +00:00
}
2024-05-24 10:50:57 +00:00
.container {
2024-11-12 13:46:49 +00:00
height: 100%;
2024-05-26 21:35:11 +00:00
margin: 1em;
2024-04-24 14:22:46 +00:00
background-color: var(--surface);
2024-05-26 21:35:11 +00:00
background-image: radial-gradient(circle at top left, var(--overlay), var(--surface));
border-radius: 6em;
2024-10-11 16:07:53 +00:00
border: solid 1px var(--hl-med);
2024-05-26 21:35:11 +00:00
padding: 3em;
box-shadow: 1em 1em var(--shadow-color);
2024-04-25 22:26:41 +00:00
}
2024-10-11 16:07:53 +00:00
figure {
margin: 0px;
}
.ghost-container {
@media screen and (min-width:601px) {
max-width: 60%;
}
@media screen and (max-width:600px) {
flex-direction: column;
}
}
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;
2024-11-12 14:16:18 +00:00
2024-04-25 22:26:41 +00:00
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-10-11 16:07:53 +00:00
display: inline;
2024-11-12 14:16:18 +00:00
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-05-26 21:35:11 +00:00
padding: 0.6em;
2024-04-25 22:26:41 +00:00
}
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
}
2024-05-26 21:35:11 +00:00
2024-10-11 16:07:53 +00:00
#project-list {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 0px;
}
2024-05-26 21:35:11 +00:00
#project-list>li {
list-style-type: none;
2024-10-11 16:07:53 +00:00
@media screen and (min-width:601px) {
2024-11-12 18:38:43 +00:00
width: 61%;
2024-10-11 16:07:53 +00:00
}
@media screen and (max-width:600px) {
width: 90%;
}
}
.links-container {
display: flex;
justify-content: center;
gap: 3rem;
width: full;
2024-10-12 09:20:57 +00:00
font-size: 3rem;
2024-05-26 21:35:11 +00:00
}
2024-11-12 13:46:49 +00:00
2024-11-12 17:18:40 +00:00
img {
2024-11-12 13:46:49 +00:00
border-radius: 1rem;
box-shadow: 0.5em 0.5em var(--shadow-color);
margin: 3rem;
max-width: 80%;
2024-11-12 17:18:40 +00:00
margin: auto;
margin-top: 2rem;
margin-bottom: 2rem;
2024-11-12 13:46:49 +00:00
}
2024-11-12 18:38:43 +00:00
.desktop-screen {
2024-11-12 19:46:26 +00:00
max-width: 100%;
2024-11-12 18:38:43 +00:00
}
.mobile-screen {
2024-11-12 19:46:26 +00:00
max-width: 100%;
2024-11-12 18:38:43 +00:00
max-height: 240px;
}
.gallery {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: center;
width: 100%;
}
2024-11-12 13:46:49 +00:00
#intro {
height: 100%;
padding: 1rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: 1.8rem;
2024-11-12 16:37:12 +00:00
text-wrap-style: pretty;
text-align: center;
2024-11-12 13:46:49 +00:00
p {
margin: 1rem;
}
}