solved pbm with list in cv

This commit is contained in:
asus
2023-11-20 01:05:25 +01:00
parent f334f87390
commit 5b767e8147
5 changed files with 34 additions and 33 deletions

View File

@@ -1,36 +1,20 @@
#cv {
/*
place-items: center;
*/
place-self: stretch;
}
#cv #cv_ascii {
place-self: center;
}
#cv #cv_download {
place-self: center;
}
#cv h1,
#cv h2,
#cv h3,
#cv h4,
#cv h5,
#cv h6 {
/*
place-self: center;
margin-left: var(--list-padding);
*/
}
#cv details {
margin: 10px 0px;
}
#cv summary {
/*
*/
margin-left: var(--list-padding);
width: fit-content;
margin: auto;
margin: 10px 0px 10px 20px;
}
#cv summary + * {
margin-top: 10px;
}
details summary {
/*
list-style-type: none;
*/
list-style-position: outside;
}

View File

@@ -1 +0,0 @@

View File

@@ -2,7 +2,6 @@ html {
font-size: 62.5%;
}
:root {
--list-padding: 10px;
--section_side_margin: 20px;
}
body {
@@ -63,6 +62,6 @@ section {
' . mouse_4 . ' auto
' banner_8 banner_8 banner_8 ' auto
' . infos . ' auto
/ 1fr auto 1fr ;
/ 1fr minmax(auto, 900px) 1fr;
}

View File

@@ -10,7 +10,7 @@
*/
body, pre {
font-family: "notomono", monospace;
font-size: 1.5rem;
font-size: 1.8rem;
font-weight: normal;
font-style: normal;
}
@@ -18,8 +18,9 @@ ul {
/*
*/
display: block;
list-style-type: "• ";
padding-left: var(--list-padding);
list-style-type: "• ";
padding-left: 0px;
list-style-position: outside;
}
li {
display: list-item;
@@ -27,6 +28,15 @@ li {
li::marker {
font-size: 1.2rem;
}
details summary {
list-style-position: outside;
}
details summary {
list-style-type: "▸ ";
}
details[open] summary {
list-style-type: "▾ ";
}
a:not([download])::after {
content: attr(href);
}