reverse last commit to have the cv as a details on top hero section again

This commit is contained in:
asus
2024-06-02 19:17:17 +02:00
parent 2e03ec0ae9
commit 92b75b3239
4 changed files with 46 additions and 36 deletions

View File

@@ -1,11 +1,26 @@
.cv {
display: flex;
flex-direction: column;
width: auto;
max-width: 900px;
margin-bottom: 100px;
}
.cv {
display: flex;
text-align: left;
}
.cv summary {
position: relative;
list-style-position: outside;
list-style-type: "▸ ";
font-size: 1.8rem;
margin: auto;
width: fit-content;
}
.cv summary .open {
display: none;
}
.cv summary .close {
display: inline;
}
.cv .cv_download {
display: inline-block;
@@ -13,3 +28,17 @@
margin-top: 30px;
text-align: center;
}
.cv[open] summary {
list-style-type: "▾ ";
}
.cv[open] summary .open {
display: inline;
}
.cv[open] summary .close {
display: none;
}
.cv > *:last-child {
margin-bottom: 100px;
}

View File

@@ -8,7 +8,7 @@
*
grid-template-rows: 1fr auto 1fr;
*/
grid-template-rows: 1fr 1fr auto;
grid-template-rows: auto auto 1fr;
}
#hero .subtitle {
text-align: center;

View File

@@ -1,6 +1,5 @@
section {
display: grid;
position: relative;
margin: 0px;
width: 100vw;
grid-template-columns: auto auto auto;