- removed nav

- moved cv to the hero section
- also changed it to collapse all at once instead of by sub titles
- and changed grid to auto flow instead of using named areas
This commit is contained in:
asus
2024-05-15 19:28:57 +02:00
parent f042247cbb
commit 4f5cd77c81
6 changed files with 106 additions and 164 deletions

View File

@@ -1,41 +1,34 @@
section header { grid-area: header; }
section article { grid-area: article; }
section .mouse { grid-area: mouse; }
section .banner { grid-area: banner; }
section {
display: grid;
margin: 0px;
width: 100vw;
grid:
' . header . ' auto
' . article . ' auto
' . mouse . ' auto
' banner banner banner ' auto
/ 1fr auto 1fr ;
grid: 1fr auto 1fr / auto;
grid-gap: 10px;
gap: 10px;
min-height: 100vh;
}
justify-items: center;
section header {
display: flex;
flex-direction: column;
place-content: center;
}
section footer {
display: flex;
flex-direction: column;
}
section header h1 {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
header {
display: flex;
flex-direction: column;
place-content: center;
section .banner {
overflow-x: hidden;
}
h1 {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
}
> * {
grid-column: 2 / span 1;
}
> .full_width {
grid-column: 1 / span 3;
}
.banner {
overflow-x: hidden;
}
}