emmas.place/style/style.css

72 lines
1.2 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 {
background-color: var(--body-background-color);
display: grid;
grid-template-rows: 5vh 2fr 5vh;
justify-content: center;
align-content: space-evenly;
}
main {
background-color: var(--background-color);
height: 100%;
width: 70vw;
display: grid;
grid-template-columns: 1fr 2fr;
gap: 2rem;
}
header {
background-color: var(--background-color);
grid-row: 1/2;
height: 5vh;
width: auto;
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;
height: 5vh;
width: auto;
text-align: center;
align-self: end;
}
nav {
background-color: var(--background-color);
grid-row: 2/3;
width: 10vw;
height: auto;
justify-self: end;
border-right: 10px solid;
border-image-slice: 1;
border-width: 5px;
border-image-source: linear-gradient(to bottom, #FCF434, #FFFFFF, #9C59D1, #2C2C2C);
}
section {
grid-column: 2/3;
grid-row: 2/3;
width: 55vw;
}