emmas.place/style/style.css

180 lines
2.7 KiB
CSS
Raw Normal View History

:root {
2024-12-13 18:08:42 +00:00
--background-color: #e0ffcd;
--body-background-color: #ffebbb;
}
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 16px;
}
body {
height: 100vh;
width: auto;
2024-12-13 18:08:42 +00:00
background-color: var(--body-background-color);
background-image: url("../img/site/assets/sakura.webp");
2024-12-12 13:06:46 +00:00
display: grid;
grid-template-columns: 12vw 60vw;
grid-template-rows: 6vh 88vh 5vh;
2024-12-12 13:06:46 +00:00
justify-content: center;
overflow: hidden;
}
2024-12-13 20:18:05 +00:00
h1, h2, h3, h4, h5, h6, p, ul {
margin: 0.5rem;
2024-12-13 20:18:05 +00:00
}
2024-12-13 19:22:44 +00:00
main, nav {
2024-12-13 20:18:05 +00:00
padding-top: 1rem;
padding-bottom: 0.5rem;
font-family: system-ui;
2024-12-13 19:22:44 +00:00
}
main {
2024-12-13 18:08:42 +00:00
background-color: var(--background-color);
height: 88vh;
2024-12-13 19:22:44 +00:00
width: 60vw;
padding-left: 2.5rem;
2024-12-13 21:30:03 +00:00
overflow: auto;
scrollbar-width: thin;
2024-12-13 21:40:47 +00:00
scrollbar-color: #588c7388 #65eeb788;
2024-12-13 19:22:44 +00:00
grid-column: 2/3;
grid-row: 2/3;
}
header {
2024-12-13 18:08:42 +00:00
background-color: var(--background-color);
grid-row: 1/2;
2024-12-13 19:22:44 +00:00
grid-column: 1/3;
2024-12-12 13:06:46 +00:00
height: 5vh;
width: 72vw;
padding-top: 0.4rem;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
2024-12-13 18:08:42 +00:00
border-bottom: 10px solid;
border-image-slice: 1;
border-width: 5px;
border-image-source: linear-gradient(to right, #D60270, #9B4F96, #0038A8);
margin-top: 0.5rem;
}
footer {
2024-12-13 18:08:42 +00:00
background-color: var(--background-color);
2024-12-12 13:06:46 +00:00
grid-row: 3/4;
2024-12-13 19:22:44 +00:00
grid-column: 1/3;
2024-12-12 13:06:46 +00:00
height: 5vh;
width: 72vw;
padding-top: 0.5rem;
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
font-family: system-ui;
}
2024-12-13 19:22:44 +00:00
header, footer {
display: flex;
justify-content: center;
}
header span, footer span {
height: 0;
font-size: 1.3rem;
2024-12-13 19:22:44 +00:00
}
nav {
2024-12-13 18:08:42 +00:00
background-color: var(--background-color);
2024-12-12 13:06:46 +00:00
grid-row: 2/3;
2024-12-13 19:22:44 +00:00
grid-column: 1/2;
2024-12-12 13:06:46 +00:00
justify-self: end;
width: 12vw;
height: 88vh;
2024-12-14 07:28:19 +00:00
padding-left: 0.75rem;
2024-12-13 18:08:42 +00:00
border-right: 10px solid;
border-image-slice: 1;
border-width: 5px;
border-image-source: linear-gradient(to bottom, #FCF434, #FFFFFF, #9C59D1, #2C2C2C);
}
section {
2024-12-12 13:06:46 +00:00
width: 55vw;
}
2024-12-13 21:30:03 +00:00
a {
color: #6e5773;
text-decoration: none;
}
a:visited {
color: #9a47cb;
}
a:hover {
color: #4f323b;
text-decoration: underline;
}
ul {
list-style-type: none;
}
nav ul li {
padding-bottom: 0.5rem;
}
nav ul li a {
font-size: 1.1rem;
}
main section {
font-size: 1.1rem;
}
main section p {
line-height: 1.25;
}
main section ul li {
padding-bottom: 0.25rem;
}
.status {
height: 120px;
margin-top: 0.5rem;
margin-bottom: 1.75rem;
}
2024-12-13 21:30:03 +00:00
2024-12-14 01:08:01 +00:00
.picrew-gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
margin: 1.75rem;
}
.picrew-gallery img {
border: 4px solid #17b794;
border-radius: 5%;
2024-12-14 01:08:01 +00:00
}
.picrew-gallery, .picrew-gallery-header {
text-align: center;
}
.photo-gallery-header {
text-align: center;
}
.photography-gallery {
margin-top: 1rem;
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
}