Removed grid centering from main since it's not used in other pages, now an utility class

pull/2/head
Thomasorus 2021-05-12 20:50:35 +02:00
rodzic 029f2a40a0
commit 4da18c1fb3
2 zmienionych plików z 20 dodań i 2 usunięć

Wyświetl plik

@ -1,5 +1,6 @@
header {
position: fixed;
top: 0;
display: flex;
justify-content: space-between;
align-items: center;
@ -9,10 +10,13 @@ header {
main {
height: 100vh;
display: grid;
place-items: center;
}
nav li {
display: inline-block;
}
article {
max-width: 60ch;
padding:
}

Wyświetl plik

@ -8,4 +8,18 @@
.flex-grow {
flex-grow: 1;
}
/* .translateY-minus50 {
transform: translateY(-50%);
} */
.grid-items-center {
display: grid;
place-items: center;
}
.margin-top-100px {
margin-top: 100px;
}