emmas.place/style/style.css

160 lines
2.3 KiB
CSS

:root {
--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;
background-color: var(--body-background-color);
display: grid;
grid-template-columns: 15vw 60vw;
grid-template-rows: 5vh 2fr 5vh;
justify-content: center;
overflow: hidden;
}
h1, h2, h3, h4, h5, h6, p, ul {
margin: 0.3rem;
}
main, nav {
padding-left: 2.5rem;
padding-top: 1rem;
padding-bottom: 0.5rem;
}
main {
background-color: var(--background-color);
height: 100%;
width: 60vw;
overflow: auto;
scrollbar-width: thin;
scrollbar-color: #588c7388 #65eeb788;
grid-column: 2/3;
grid-row: 2/3;
}
header {
background-color: var(--background-color);
grid-row: 1/2;
grid-column: 1/3;
height: 5vh;
width: 75vw;
text-align: center;
border-bottom: 10px solid;
border-image-slice: 1;
border-width: 5px;
border-image-source: linear-gradient(to right, #D60270, #9B4F96, #0038A8);
}
footer {
background-color: var(--background-color);
grid-row: 3/4;
grid-column: 1/3;
height: 5vh;
width: 75vw;
text-align: center;
align-self: end;
}
header, footer {
justify-self: center;
}
nav {
background-color: var(--background-color);
grid-row: 2/3;
grid-column: 1/2;
justify-self: end;
width: 15vw;
height: auto;
border-right: 10px solid;
border-image-slice: 1;
border-width: 5px;
border-image-source: linear-gradient(to bottom, #FCF434, #FFFFFF, #9C59D1, #2C2C2C);
}
section {
width: 55vw;
}
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 ul li {
padding-bottom: 0.1rem;
}
.status {
height: 120px;
margin-bottom: 1rem;
}
.picrew-gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
margin: 1.75rem;
}
.picrew-gallery img {
border: 4px solid #17b794;
border-radius: 10%;
}
.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;
}