emmas.place/style/style.css

377 lines
6.5 KiB
CSS
Raw Normal View History

@font-face {
2025-02-10 06:52:25 -05:00
font-family: lato-regular;
src: url("../site-resources/fonts/lato-regular.woff2");
}
@font-face {
2025-02-10 06:52:25 -05:00
font-family: pacifico;
src: url("../site-resources/fonts/pacifico.woff2");
}
:root {
2025-02-10 06:52:25 -05:00
--text-color: #0c0c0c;
--background-color: #ffd4de;
--body-background-color: #ffcccc;
--scroll-gutter: #eb76ff88;
--scroll-bar: #ffa8ec88;
--link-hover: #ff1493;
--link-visited: #8a2be2;
--link-color: #4b0082;
--border-color: #db7093;
--bi-pride-pink-light: #d60270;
--bi-pride-purple-light: #9b4f96;
--bi-pride-blue-light: #0038a8;
--disability-pride-black-light: #595959;
--disability-pride-red-light: #cf7280;
--disability-pride-yellow-light: #eede77;
--disability-pride-white-light: #e8e8e8;
--disability-pride-blue-light: #7bc2e0;
--disability-pride-green-light: #3bb07d;
--trans-pride-blue-light: #5bcefa;
--trans-pride-pink-light: #f5a9b8;
--trans-pride-white-light: #ffffff;
}
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
2025-02-10 06:52:25 -05:00
font-size: 16px;
}
body {
2025-02-10 06:52:25 -05:00
height: 100vh;
width: auto;
background-color: var(--body-background-color);
background-image: url("../img/site/assets/sakura.webp");
display: grid;
grid-template-columns: 20vw 60vw;
grid-template-rows: 6vh 85vh 6vh;
justify-content: center;
align-items: end;
align-content: center;
overflow: hidden;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
figcaption,
details {
margin: 0.5rem;
}
main,
nav {
padding-bottom: 0.5rem;
font-family: system-ui;
letter-spacing: 0.05rem;
2024-12-13 14:22:44 -05:00
}
main {
2025-02-10 06:52:25 -05:00
background-color: var(--background-color);
height: 85vh;
width: 60vw;
padding-left: 2.5rem;
overflow: auto;
scrollbar-width: thin;
scrollbar-color: var(--scroll-gutter) var(--scroll-bar);
grid-column: 2/3;
grid-row: 2/3;
align-self: end;
padding-top: 0.5rem;
}
header {
2025-02-10 06:52:25 -05:00
background-color: var(--background-color);
grid-row: 1/2;
grid-column: 1/3;
height: 6vh;
width: 80vw;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
border-bottom: 10px solid;
border-image-slice: 1;
border-width: 5px;
border-image-source: linear-gradient(
to right,
var(--bi-pride-pink-light) 0 33%,
var(--bi-pride-purple-light) 33% 66%,
var(--bi-pride-blue-light) 66%
);
font-size: 1.4rem;
margin-top: 0.43rem;
}
footer {
2025-02-10 06:52:25 -05:00
background-color: var(--background-color);
grid-row: 3/4;
grid-column: 1/3;
height: 6vh;
width: 80vw;
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
border-top: 10px solid;
border-image-slice: 1;
border-width: 5px;
border-image-source: linear-gradient(
to right,
var(--disability-pride-black-light) 0 35%,
var(--disability-pride-red-light) 35% 41%,
var(--disability-pride-yellow-light) 41% 47%,
var(--disability-pride-white-light) 47% 53%,
var(--disability-pride-blue-light) 53% 59%,
var(--disability-pride-green-light) 59% 65%,
var(--disability-pride-black-light) 65% 71%
);
font-family: system-ui;
font-size: 1.3rem;
letter-spacing: 0.05rem;
}
header,
footer {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 0.75rem;
2024-12-13 14:22:44 -05:00
}
nav {
2025-02-10 06:52:25 -05:00
background-color: var(--background-color);
grid-row: 2/3;
grid-column: 1/2;
justify-self: end;
align-self: end;
width: 20vw;
height: 85vh;
padding-top: 0.75rem;
padding-left: 1.5rem;
border-right: 10px solid;
border-image-slice: 1;
border-width: 5px;
border-image-source: linear-gradient(
to bottom,
var(--trans-pride-blue-light) 0 20%,
var(--trans-pride-pink-light) 20% 40%,
var(--trans-pride-white-light) 40% 60%,
var(--trans-pride-pink-light) 60% 80%,
var(--trans-pride-blue-light) 80%
);
}
section {
2025-02-10 06:52:25 -05:00
width: 55vw;
}
.status {
2025-02-10 06:52:25 -05:00
height: 120px;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
.mobile-header {
2025-02-10 06:52:25 -05:00
display: none;
}
@media (prefers-color-scheme: dark) {
2025-02-10 06:52:25 -05:00
:root {
--background-color: #240046;
--body-background-color: #0d0c1d;
--text-color: #f1dac4;
--scroll-bar: #474973;
--scroll-gutter: #a69cac;
--link-color: #4cc9f0;
--link-hover: #f72585;
--link-visited: #4cc9f0;
--border-color: #474973;
}
body {
background-color: var(--body-background-color);
background-image: url("../img/site/assets/stardust.png");
}
.status .statuslol_content p {
color: var(--text-color);
}
.status .statuslol_content .statuslol_time a {
color: var(--link-color) !important;
}
}
@media only screen and (max-width: 600px) {
.mobile-header {
display: flex;
height: 10vh;
width: 100vw;
border-radius: 0;
border: none;
}
.mobile-header span {
font-size: 2rem;
}
.mobile-header span img {
height: 24px;
width: 24px;
}
header {
display: none;
}
footer {
display: none;
}
nav {
display: none;
}
body {
height: 100vh;
width: auto;
display: flex;
flex-direction: column;
background-image: none;
}
main {
display: flex;
justify-content: center;
align-items: baseline;
height: 90vh;
width: 100vw;
padding: 0;
padding-top: 1.25rem;
padding-bottom: 1.25rem;
}
section {
width: 95vw;
}
.status {
height: auto;
margin: 0;
}
}
2024-12-13 16:30:03 -05:00
a {
2025-02-10 06:52:25 -05:00
color: var(--link-color);
text-decoration: none;
2024-12-13 16:30:03 -05:00
}
a:visited {
2025-02-10 06:52:25 -05:00
color: var(--link-visited);
2024-12-13 16:30:03 -05:00
}
a:hover {
2025-02-10 06:52:25 -05:00
color: var(--link-hover);
text-decoration: underline;
2024-12-13 16:30:03 -05:00
}
ul {
2025-02-10 06:52:25 -05:00
list-style-type: none;
}
nav ul li {
2025-02-10 06:52:25 -05:00
padding-bottom: 0.5rem;
}
nav ul li a {
2025-02-10 06:52:25 -05:00
font-size: 1rem;
}
main section {
2025-02-10 06:52:25 -05:00
font-size: 1rem;
}
main section p {
2025-02-10 06:52:25 -05:00
line-height: 1.25;
}
main section ul li {
2025-02-10 06:52:25 -05:00
padding-bottom: 0.25rem;
}
.logo {
2025-02-10 06:52:25 -05:00
font-family: pacifico;
font-size: 1.35rem;
letter-spacing: 0.1rem;
}
.motto {
2025-02-10 06:52:25 -05:00
font-family: lato-regular;
letter-spacing: 0.05rem;
}
.status .statuslol_container .statuslol {
2025-02-10 06:52:25 -05:00
background: var(--background-color) !important;
}
2024-12-13 20:08:01 -05:00
.picrew-gallery {
2025-02-10 06:52:25 -05:00
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
margin: 1.75rem;
2024-12-13 20:08:01 -05:00
}
.picrew-gallery img {
2025-02-10 06:52:25 -05:00
border: 4px solid var(--border-color);
border-radius: 5%;
2024-12-13 20:08:01 -05:00
}
2025-02-10 06:52:25 -05:00
.picrew-gallery,
.picrew-gallery-header {
text-align: center;
2024-12-13 20:08:01 -05:00
}
.photo-gallery-header {
2025-02-10 06:52:25 -05:00
text-align: center;
}
.photography-gallery {
2025-02-10 06:52:25 -05:00
margin-top: 1rem;
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
}
.gallery {
2025-02-10 06:52:25 -05:00
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1rem;
}
.gallery-text {
2025-02-10 06:52:25 -05:00
text-align: center;
}
.gallery-text-left {
2025-02-10 06:52:25 -05:00
text-align: left;
}
.nested-list {
2025-02-10 06:52:25 -05:00
list-style-type: disc;
margin-left: 2rem;
}