fixed small error in hero section : unrolling cv was creating a jump

This commit is contained in:
asus
2024-05-17 13:38:25 +02:00
parent 9302e725db
commit a40ab0b203
5 changed files with 12 additions and 18 deletions

View File

@@ -82,16 +82,3 @@
background-image: url(../../docs/banners/banner_5.svg);
--banner_height: calc(var(--base_banner_height) * 5);
}
/*
* individual banners
*
*/
#top_banner {
position: absolute;
top: 0px;
left: 0px;
}

View File

@@ -3,8 +3,9 @@
max-width: 900px;
}
details.cv {
.cv {
display: flex;
text-align: left;
summary {
position: relative;
list-style-position: outside;

View File

@@ -1,10 +1,11 @@
#hero {
min-height: 100vh;
grid-template-rows: 1fr auto 1fr;
grid-template-columns: 1fr auto 1fr;
grid-template-rows: auto auto auto 1fr;
.subtitle {
text-align: center;
}
details {
.cv {
#cv_download {
margin-top: 20px;
text-align: center;

View File

@@ -2,12 +2,13 @@ section {
display: grid;
margin: 0px;
width: 100vw;
grid-template-columns: 1fr auto 1fr;
grid-auto-columns: auto;
grid-auto-rows: auto;
grid-gap: 10px;
gap: 10px;
min-height: 100vh;
justify-items: center;
text-align: center;
header {
display: flex;
@@ -21,6 +22,9 @@ section {
justify-content: center;
}
}
article {
text-align: left;
}
> * {
grid-column: 2 / span 1;