From 5b767e81479375472cece3c6dccac74234027265 Mon Sep 17 00:00:00 2001 From: asus Date: Mon, 20 Nov 2023 01:05:25 +0100 Subject: [PATCH] solved pbm with list in cv --- index.html | 11 ++++++++++- styles/elements/cv.css | 36 ++++++++++-------------------------- styles/elements/sections.css | 1 - styles/style.css | 3 +-- styles/text.css | 16 +++++++++++++--- 5 files changed, 34 insertions(+), 33 deletions(-) delete mode 100644 styles/elements/sections.css diff --git a/index.html b/index.html index 5539b8f..042073e 100644 --- a/index.html +++ b/index.html @@ -76,7 +76,16 @@ CV -->
-

version pdf

+
+
+     
+        
+        
+        
+      
+
+
+

version pdf

Informatique

diff --git a/styles/elements/cv.css b/styles/elements/cv.css index 318ac4b..b1f04fe 100644 --- a/styles/elements/cv.css +++ b/styles/elements/cv.css @@ -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; -} diff --git a/styles/elements/sections.css b/styles/elements/sections.css deleted file mode 100644 index 8b13789..0000000 --- a/styles/elements/sections.css +++ /dev/null @@ -1 +0,0 @@ - diff --git a/styles/style.css b/styles/style.css index 218f52a..6f5b891 100644 --- a/styles/style.css +++ b/styles/style.css @@ -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; } diff --git a/styles/text.css b/styles/text.css index f9ecb6e..128dd0d 100644 --- a/styles/text.css +++ b/styles/text.css @@ -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); }