resolved pbm of margin in title section, it was because of the min function in font size

This commit is contained in:
asus
2023-11-19 21:24:54 +01:00
parent 2f95a96834
commit f334f87390
6 changed files with 19 additions and 17 deletions

View File

@@ -7,8 +7,8 @@
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<title>hugulumu.fr</title>
<meta name="description" content="site web de hugo lamy, developpeur">
<link href="./styles/style.css" type="text/css" rel="stylesheet">
<link href="./styles/reset.css" type="text/css" rel="stylesheet">
<link href="./styles/style.css" type="text/css" rel="stylesheet">
<link href="./styles/global.css" type="text/css" rel="stylesheet">
<link href="./styles/text.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/mouses.css" type="text/css" rel="stylesheet">
@@ -16,7 +16,6 @@
<link href="./styles/elements/title.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/cv.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/infos.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/sections.css" type="text/css" rel="stylesheet">
</head>
<!--
@@ -71,14 +70,13 @@
-->
<body>
<body id="body">
<!--
CV
-->
<section id="cv" data-flex="vertical left">
<h2>voici mon CV, que vous pouvez egalement <a href="downloads/hugo_lamy_2023_cv.pdf" download>télécharger en pdf</a></h2>
<h2><a href="downloads/hugo_lamy_2023_cv.pdf" download>version pdf</a></h2>
<details>
<summary>
<h2>Informatique</h2>
@@ -177,7 +175,7 @@
     
</pre>
</figure>
<figure id="title" style="gap:10px 30px; margin:30px 0px;" data-flex="horizontal center wrap">
<figure id="title" style="gap:10px 30px;" data-flex="horizontal center wrap">
<pre>
             
                   
@@ -720,6 +718,7 @@
</div>
</body>
</html>

View File

@@ -1,5 +1,6 @@
#cv {
place-items: center;
}
#cv h1,
@@ -20,6 +21,8 @@
/*
*/
margin-left: var(--list-padding);
width: fit-content;
margin: auto;
}
#cv summary + * {
margin-top: 10px;

View File

@@ -1,5 +1 @@
section {
justify-self: center;
margin: 50px 20px;
}

View File

@@ -1,8 +1,8 @@
#role_title #name {
#name {
margin:30px 0px 40px 0px;
}
#role_title #title {
#title {
margin:30px 0px 40px 0px;
}

View File

@@ -2,10 +2,8 @@ html {
font-size: 62.5%;
}
:root {
--small-space: 10px;
--medium-space: calc(var(--small-space) * 3);
--big-space: calc(var(--small-space) * 10);
--list-padding: 10px;
--section_side_margin: 20px;
}
body {
overflow-x: hidden;
@@ -21,6 +19,10 @@ script, style {
pre {
margin: 10px 0px;
}
section {
justify-self: center;
margin: 50px var(--section_side_margin);
}
/*
@@ -42,7 +44,7 @@ pre {
#banner_7 { grid-area: banner_7;}
#banner_8 { grid-area: banner_8;}
body {
#body {
/*
*/
display: grid;

View File

@@ -36,7 +36,9 @@ h3 { margin: 20px 0px; font-size: 1.75rem; }
h4 { margin: 20px 0px; font-size: 1.5rem; }
h5 { margin: 10px 0px; font-size: 1.25rem; }
h6 { margin: 10px 0px; font-size: 1.0rem; }
pre {
line-height: 0.8;
font-size: min(2.2vw, 1.0rem);
font-size: min(2.1vw, 1.0rem);
}