/* Basic styling */ body { margin: 0; color: white; background-color: #141016; } /* Setting up the centered content */ main > section { display: grid; justify-content: center; padding: 50px 0; } main > section > .section-content-wrapper { max-width: 700px; width: 80vw; } /* Styles for the header */ header p:first-of-type { font-size: 2em; } h1 { font-size: min(5em, 14.413vw); margin-top: 15px; margin-bottom: 15px; } header { font-family: Avara Bold; text-align: center; height: 70vh; display: grid; align-content: center; background-color: #280C3F; } header p { margin: 0 20px; } /* Styles for the cards */ #cards { display: grid; grid-template-columns: repeat(3, max(20vw, 350px)); justify-content: space-evenly; background-color: #280C3F; padding: 40px 0; } .card { color: #280C3F; padding: 0 10px; } .card h2 { color: #280C3F; text-align: center; } .card a { color: inherit; text-decoration: none; } .card:nth-child(1) { background-color: #ff2f94; grid-area: 1/1/3/2; } .card:nth-child(2) { background-color: #ff8153; grid-area: 2/2/4/3; } .card:nth-child(3) { background-color: #ff964a; grid-area: 3/3/5/4; } @media (max-width: 1160px) { #cards { grid-template-columns: repeat(2, 350px); gap: 50px; justify-content: center; } .card:nth-child(3) { grid-area: 3/1/6/2; } } @media (max-width: 800px) { #cards { grid-template-columns: 350px; row-gap: 50px } #cards .card { grid-area: initial; } } /* Card Specific Details */ .card:nth-child(1) > h2 { margin-bottom: 0px; } .pronouns { font-family: Avara Bold; text-align: center; margin-top: 10px; } .contact { font-size: 0.9rem; display: grid; grid-template-columns: 1fr 0fr 1fr; } .matrix:hover,.email:hover { font-size: 0; } .email:hover:after { font-size: 0.9rem; content: "emi@alchemi.dev" } .matrix:hover:after { font-size: 0.9rem; content: "@emi:the-apothecary.club" } #socials a { display: grid; grid-template-columns: 0fr 1fr; gap: 4px; align-items: center; justify-content: start; } #socials a:hover { text-decoration: underline; font-weight: bold; } #socials { display: grid; justify-content: center; margin-bottom: 20px; } #socials p { margin: 8px; } .card:nth-child(3) { padding: 0 30px; } /* General Markdown Styling */ code { background-color: rgba(200, 200, 200, 0.1); padding: 2px 5px; border-radius: 5px; } /* Widgets & Components */ .horizontal { display: grid; grid-auto-flow: column; justify-content: space-between; } .picker { display: grid; grid-auto-flow: column; justify-content: center; } .picker-prev:hover, .picker-next:hover { padding-right: 20px; padding-left: 0; } .picker-next, .picker-prev { transition: padding 50ms ease-out; padding-right: 0; padding-left: 20px; } /* Color Scheme */ h1, a { color: #AA89FD; } h2 { color: #F10385; } main > section { counter-increment: section-number; background-color: rgba(40, 12, 63, calc(1 - var(--section-number) / var(--section-count, 5))); } svg { fill: currentColor; } /******************* * Fuck Darkreader * *******************/ html[data-darkreader-mode] body > :not(#disable-darkreader-popup) { display: none; } html:not([data-darkreader-mode]) #disable-darkreader-popup { display: none; } html[data-darkreader-mode] #disable-darkreader-popup { display: grid; } #disable-darkreader-popup { font-family: Avara Bold; position:absolute; height: 100%; width: 100%; justify-items: center; align-content: center; background: radial-gradient(rgba(0,0,0,0) 50%, rgba(0,0,0,0.5)); } #darkreader-why > summary{ list-style-type: none; color: #AA89FD; } #darkreader-why > summary:hover { text-decoration: underline; } #darkreader-why[open] > summary{ display: none; } #darkreader-why[open] { font-family: Fengardo Neue; max-width: 500px; margin: 0 40px; } #darkreader-why > section { margin: 50px 0; } .dark-a11y { background-color: black; padding: 10px; font-weight: bold; color: white; text-align: center; display: block; font-size: 1.1em; } .dark-a11y:not(:hover) { text-decoration: none; }