emii.gay/static/style.css

169 lines
2.9 KiB
CSS
Raw Normal View History

2021-10-13 03:49:04 +00:00
/* Fonts */
@font-face {
2021-11-08 21:58:58 +00:00
font-family: Avara Bold;
src: url(/static/avara.otf);
/* Normally I'm against using fonts in websites, but I mean COME ON. This isn't
* Helvetica Clone 13, it's COMIC MONO. How iconic is that??? */
}
/* Fonts */
@font-face {
font-family: Fengardo Neue;
src: url(/static/fengardo-neue.otf);
2021-10-13 03:49:04 +00:00
/* Normally I'm against using fonts in websites, but I mean COME ON. This isn't
* Helvetica Clone 13, it's COMIC MONO. How iconic is that??? */
}
2021-10-13 02:44:45 +00:00
/* Basic styling */
body {
margin: 0;
color: white;
2021-11-08 21:58:58 +00:00
font-family: Fengardo Neue;
2021-10-13 02:44:45 +00:00
font-size: 1.2rem;
background-color: #141016;
}
/* Setting up the centered content */
2021-11-08 21:58:58 +00:00
main > section {
2021-10-13 02:44:45 +00:00
display: grid;
justify-content: center;
padding: 50px 0;
}
2021-11-08 21:58:58 +00:00
main > section > * {
2021-10-13 02:44:45 +00:00
width: min(80vw, 700px)
}
/* Styles for the header */
header p:first-of-type {
font-size: 2em;
}
h1 {
font-size: 5em;
margin-top: 15px;
margin-bottom: 15px;
}
header {
2021-11-08 21:58:58 +00:00
font-family: Avara Bold;
2021-10-13 02:44:45 +00:00
text-align: center;
2021-11-08 21:58:58 +00:00
height: 70vh;
2021-10-13 02:44:45 +00:00
display: grid;
align-content: center;
2021-11-08 21:58:58 +00:00
background-color: #280C3F;
}
/* 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;
}
/* 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;
2021-10-13 02:44:45 +00:00
}
2021-10-13 03:00:27 +00:00
/* General Markdown Styling */
2021-11-08 21:58:58 +00:00
h2 {
font-family: Avara Bold;
}
2021-10-13 03:00:27 +00:00
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;
}
2021-10-13 02:44:45 +00:00
/* Color Scheme */
h1, a {
color: #AA89FD;
}
h2 {
color: #F10385;
}
2021-11-08 21:58:58 +00:00
main > section {
2021-10-13 02:44:45 +00:00
counter-increment: section-number;
2021-11-08 21:58:58 +00:00
background-color: rgba(40, 12, 63, calc(1 - var(--section-number) / var(--section-count, 5)));
}
svg {
fill: currentColor;
}