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

@@ -76,7 +76,16 @@
CV CV
--> -->
<section id="cv" data-flex="vertical left"> <section id="cv" data-flex="vertical left">
<h2><a href="downloads/hugo_lamy_2023_cv.pdf" download>version pdf</a></h2> <figure id="cv_ascii" data-flex="horizontal center wrap">
<pre>
  
  
  
  
 
</pre>
</figure>
<h2 id="cv_download"><a href="downloads/hugo_lamy_2023_cv.pdf" download>version pdf</a></h2>
<details> <details>
<summary> <summary>
<h2>Informatique</h2> <h2>Informatique</h2>

View File

@@ -1,36 +1,20 @@
#cv { #cv {
/*
place-items: center; 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 { #cv details {
margin: 10px 0px; margin: 10px 0px 10px 20px;
}
#cv summary {
/*
*/
margin-left: var(--list-padding);
width: fit-content;
margin: auto;
} }
#cv summary + * { #cv summary + * {
margin-top: 10px; 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%; font-size: 62.5%;
} }
:root { :root {
--list-padding: 10px;
--section_side_margin: 20px; --section_side_margin: 20px;
} }
body { body {
@@ -63,6 +62,6 @@ section {
' . mouse_4 . ' auto ' . mouse_4 . ' auto
' banner_8 banner_8 banner_8 ' auto ' banner_8 banner_8 banner_8 ' auto
' . infos . ' auto ' . infos . ' auto
/ 1fr auto 1fr ; / 1fr minmax(auto, 900px) 1fr;
} }

View File

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