Something went wrong. Try again.
🌐 little site of mines angelcube.dev
astro personal-site
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165@use "lib/var.scss";@use "lib/article.scss";
body { background-color: var(--background-color); font-family: var(--font-body); color: var(--text-color); overflow-x: hidden;}
main { margin: 50px;}
header { display: grid; grid-template-columns: 1fr 15rem; grid-template-areas: "image image" "title nav"; margin-bottom: 10vh;
picture { grid-area: image;
img { width: 100%; aspect-ratio: 3.13 / 1; } }
div.title { grid-area: title; display: flex; flex-direction: column; justify-content: space-between;
h1 { font-family: var(--font-heading); font-weight: 300; font-size: 6rem; letter-spacing: -0.08em; margin-bottom: 0.2em; } }
nav { display: contents;
ul { display: flex; flex-direction: column; align-items: end; gap: 0.8rem;
li { font-family: var(--font-code); text-transform: uppercase; font-size: 2rem; font-weight: 400; text-decoration: underline;
a { color: var(--text-color); } } } }}
section#about { --faded-text-color: color-mix(in srgb, var(--text-color), transparent 29%); display: flex; gap: 2rem;
article { @extend %article; margin: 0; }
picture img { max-width: 25rem; }}
@media (max-width: 875px) { main { margin: 20px; }
header { div.title { h1 { font-size: 5rem; } }
nav ul { li { font-size: 1.5rem; } } }
section#about { picture img { max-width: 20rem; } }}
@media (max-width: 715px) { main { margin: 20px; }
header { margin-bottom: 0;
grid-template-columns: 1fr; grid-template-areas: "image" "title" "nav";
div.title { margin-bottom: 2rem; }
nav { ul { align-items: initial; } } }
section#about { margin-top: -15vh; flex-direction: column-reverse; gap: 2rem;
picture { z-index: -1; display: flex; justify-content: end; padding-right: 1vw; img { max-width: 60vw; } } }}
@media (max-width: 515px) { header div.title h1 { font-size: 4rem; }}
@media (max-width: 400px) { header div.title h1 { font-size: 3rem; }}