fix anchor with base element

This commit is contained in:
hugogogo
2026-11-19 13:20:30 +01:00
parent 673ca38186
commit 61a59f7c4c
6 changed files with 51 additions and 47 deletions
+5 -6
View File
@@ -10,12 +10,11 @@
<link rel="icon" href="data:;base64,iVBORw0KGgo=" /> <link rel="icon" href="data:;base64,iVBORw0KGgo=" />
<title>hugulumu.fr</title> <title>hugulumu.fr</title>
<meta name="description" content="site web de hugo lamy, developpeur" /> <meta name="description" content="site web de hugo lamy, developpeur" />
<base href="./src/" /> <link href="./src/styles/reset.css" type="text/css" rel="stylesheet" />
<link href="./styles/reset.css" type="text/css" rel="stylesheet" /> <link href="./src/styles/base.css" type="text/css" rel="stylesheet" />
<link href="./styles/base.css" type="text/css" rel="stylesheet" /> <link href="./src/styles/text.css" type="text/css" rel="stylesheet" />
<link href="./styles/text.css" type="text/css" rel="stylesheet" /> <link href="./src/styles/mouses.css" type="text/css" rel="stylesheet" />
<link href="./styles/mouses.css" type="text/css" rel="stylesheet" /> <link href="./src/styles/banners.css" type="text/css" rel="stylesheet" />
<link href="./styles/banners.css" type="text/css" rel="stylesheet" />
</head> </head>
<body> <body>
+14 -14
View File
@@ -81,8 +81,8 @@
<section id="cv_section" class="section"> <section id="cv_section" class="section">
<header> <header>
<!-- prettier-ignore --> <!-- prettier-ignore -->
<a href="/#cv_section" class="heading_link">
<h1 aria-label="curriculum vitae"> <h1 aria-label="curriculum vitae">
<a href="#cv_section" class="heading_link" aria-label="curriculum vitae">
<span aria-hidden="true" class="pre"> <span aria-hidden="true" class="pre">
<span class="fr en"> <span class="fr en">
     
@@ -92,8 +92,8 @@
   
</span> </span>
</span> </span>
</h1>
</a> </a>
</h1>
</header> </header>
<!-- <!--
@@ -107,7 +107,7 @@
: :
</p> </p>
<a <a
href="docs/cvs/CV_Hugo_Lamy_Backend_Embedded_Developer_FR.pdf" href="./src/docs/cvs/CV_Hugo_Lamy_Backend_Embedded_Developer_FR.pdf"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
title="link to pdf CV version graphical FR" title="link to pdf CV version graphical FR"
@@ -116,7 +116,7 @@
<span class="en" lang="en">[Graphical FR]</span> <span class="en" lang="en">[Graphical FR]</span>
</a> </a>
<a <a
href="docs/cvs/CV_Hugo_Lamy_Backend_Embedded_Developer_EN.pdf" href="./src/docs/cvs/CV_Hugo_Lamy_Backend_Embedded_Developer_EN.pdf"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
title="link to pdf CV version graphical EN" title="link to pdf CV version graphical EN"
@@ -125,7 +125,7 @@
<span class="en" lang="en">[Graphical EN]</span> <span class="en" lang="en">[Graphical EN]</span>
</a> </a>
<a <a
href="docs/cvs/CV_Hugo_Lamy_Backend_Embedded_Developer_Ats_FR.pdf" href="./src/docs/cvs/CV_Hugo_Lamy_Backend_Embedded_Developer_Ats_FR.pdf"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
title="link to pdf CV version ats FR" title="link to pdf CV version ats FR"
@@ -134,7 +134,7 @@
<span class="en" lang="en">[ATS FR]</span> <span class="en" lang="en">[ATS FR]</span>
</a> </a>
<a <a
href="docs/cvs/CV_Hugo_Lamy_Backend_Embedded_Developer_Ats_EN.pdf" href="./src/docs/cvs/CV_Hugo_Lamy_Backend_Embedded_Developer_Ats_EN.pdf"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
title="link to pdf CV version ats EN" title="link to pdf CV version ats EN"
@@ -149,12 +149,12 @@
--> -->
<div class="cv"> <div class="cv">
<a href="/#skills" class="heading_link">
<h2 class="dashed" id="skills"> <h2 class="dashed" id="skills">
<a href="#skills" class="heading_link">
<span class="fr">COMPÉTENCES</span> <span class="fr">COMPÉTENCES</span>
<span class="en" lang="en">SKILLS</span> <span class="en" lang="en">SKILLS</span>
</h2>
</a> </a>
</h2>
<ul class="dashed"> <ul class="dashed">
<li> <li>
@@ -205,12 +205,12 @@
</li> </li>
</ul> </ul>
<a href="/#experience" class="heading_link">
<h2 class="dashed" id="experience"> <h2 class="dashed" id="experience">
<a href="#experience" class="heading_link">
<span class="fr">EXPÉRIENCE</span> <span class="fr">EXPÉRIENCE</span>
<span class="en" lang="en">EXPERIENCE</span> <span class="en" lang="en">EXPERIENCE</span>
</h2>
</a> </a>
</h2>
<ul class="dashed"> <ul class="dashed">
<li> <li>
@@ -335,12 +335,12 @@
</li> </li>
</ul> </ul>
<a href="/#education" class="heading_link">
<h2 class="dashed" id="education"> <h2 class="dashed" id="education">
<a href="#education" class="heading_link">
<span class="fr">FORMATION</span> <span class="fr">FORMATION</span>
<span class="en" lang="en">EDUCATION</span> <span class="en" lang="en">EDUCATION</span>
</h2>
</a> </a>
</h2>
<div class="dashed split_columns"> <div class="dashed split_columns">
<p> <p>
@@ -406,12 +406,12 @@
</ul> </ul>
</div> </div>
<a href="/#cv-projects" class="heading_link">
<h2 class="dashed" id="cv-projects"> <h2 class="dashed" id="cv-projects">
<a href="#cv-projects" class="heading_link">
<span class="fr">PROJETS</span> <span class="fr">PROJETS</span>
<span class="en" lang="en">PROJECTS</span> <span class="en" lang="en">PROJECTS</span>
</h2>
</a> </a>
</h2>
<ul class="dashed"> <ul class="dashed">
<li> <li>
+10 -6
View File
@@ -57,8 +57,8 @@
<header> <header>
<!-- prettier-ignore --> <!-- prettier-ignore -->
<a href="/#name" class="heading_link">
<h1 aria-label="hugo lamy" id="name" class="title"> <h1 aria-label="hugo lamy" id="name" class="title">
<a href="#name" class="heading_link" aria-label="hugo lamy">
<span aria-hidden="true" class="pre pre_small"> <span aria-hidden="true" class="pre pre_small">
           
             
@@ -73,14 +73,14 @@
           
           
</span> </span>
</h1>
</a> </a>
</h1>
</header> </header>
<div id="development"> <div id="development">
<a href="/#development" class="heading_link">
<!-- prettier-ignore --> <!-- prettier-ignore -->
<h1 aria-label="développement" id="development_fr" class="title fr"> <h1 aria-label="développement" id="development_fr" class="title fr">
<a href="#development" class="heading_link" aria-label="développement">
<span aria-hidden="true" class="pre"> <span aria-hidden="true" class="pre">
                               
                                       
@@ -88,9 +88,11 @@
                                   
                             
</span> </span>
</a>
</h1> </h1>
<!-- prettier-ignore --> <!-- prettier-ignore -->
<h1 aria-label="development" lang="en" id="development_en" class="title en"> <h1 aria-label="development" lang="en" id="development_en" class="title en">
<a href="#development" class="heading_link" aria-label="development">
<span aria-hidden="true" class="pre"> <span aria-hidden="true" class="pre">
                           
                                 
@@ -98,8 +100,8 @@
                               
                         
</span> </span>
</h1>
</a> </a>
</h1>
<p class="subtitle"> <p class="subtitle">
<span class="fr"> <span class="fr">
Bonjour, je suis un développeur inventif, méthodique, et passionné par Bonjour, je suis un développeur inventif, méthodique, et passionné par
@@ -129,9 +131,9 @@
</div> </div>
<div id="making"> <div id="making">
<a href="/#making" class="heading_link">
<!-- prettier-ignore --> <!-- prettier-ignore -->
<h1 aria-label="fabrication" id="making_fr" class="title fr"> <h1 aria-label="fabrication" id="making_fr" class="title fr">
<a href="#making" class="heading_link" aria-label="fabrication">
<span aria-hidden="true" class="pre"> <span aria-hidden="true" class="pre">
                       
                                 
@@ -139,9 +141,11 @@
                                 
                             
</span> </span>
</a>
</h1> </h1>
<!-- prettier-ignore --> <!-- prettier-ignore -->
<h1 aria-label="making" lang="en" id="making_en" class="title en"> <h1 aria-label="making" lang="en" id="making_en" class="title en">
<a href="#making" class="heading_link" aria-label="making">
<span aria-hidden="true" class="pre"> <span aria-hidden="true" class="pre">
                 
                   
@@ -149,8 +153,8 @@
                     
                   
</span> </span>
</h1>
</a> </a>
</h1>
<p class="subtitle"> <p class="subtitle">
<span class="fr"> <span class="fr">
Je développe aussi dans le monde matériel : je fabrique et modifie des Je développe aussi dans le monde matériel : je fabrique et modifie des
+2 -2
View File
@@ -63,6 +63,6 @@
<input type="checkbox" id="language" /> <input type="checkbox" id="language" />
<label id="language_label" for="language"> <label id="language_label" for="language">
<img class="flag" id="fr" src="./docs/flags/fr_bnw.svg" alt="french flag" /> <img class="flag" id="fr" src="./src/docs/flags/fr_bnw.svg" alt="french flag" />
<img class="flag" id="en" src="./docs/flags/gb_bnw.svg" alt="english flag" /> <img class="flag" id="en" src="./src/docs/flags/gb_bnw.svg" alt="english flag" />
</label> </label>
+10 -8
View File
@@ -39,9 +39,9 @@
<section id="projects" class="section"> <section id="projects" class="section">
<header> <header>
<a href="/#projects" class="heading_link">
<!-- prettier-ignore --> <!-- prettier-ignore -->
<h1 aria-label="projets" class="fr"> <h1 aria-label="projets" class="fr">
<a href="#projects" class="heading_link" aria-label="projets">
<span aria-hidden="true" class="pre"> <span aria-hidden="true" class="pre">
             
                   
@@ -49,9 +49,11 @@
                 
               
</span> </span>
</a>
</h1> </h1>
<!-- prettier-ignore --> <!-- prettier-ignore -->
<h1 aria-label="projects" lang="en" class="en"> <h1 aria-label="projects" lang="en" class="en">
<a href="#projects" class="heading_link" aria-label="projects">
<span aria-hidden="true" class="pre"> <span aria-hidden="true" class="pre">
               
                     
@@ -59,8 +61,8 @@
                   
                 
</span> </span>
</h1>
</a> </a>
</h1>
</header> </header>
<div class=""> <div class="">
@@ -76,12 +78,12 @@
></a> ></a>
</div> </div>
<a href="/#examples" class="heading_link">
<h2 id="examples"> <h2 id="examples">
<a href="#examples" class="heading_link">
<span class="fr">Quelques exemples de projets :</span> <span class="fr">Quelques exemples de projets :</span>
<span class="en" lang="en">Some project examples :</span> <span class="en" lang="en">Some project examples :</span>
</h2>
</a> </a>
</h2>
<div class="projects_grid"> <div class="projects_grid">
<figure class="project"> <figure class="project">
@@ -91,7 +93,7 @@
rel="noopener noreferrer" rel="noopener noreferrer"
title="link to the source code" title="link to the source code"
> >
<img src="./docs/projects/fdf_pyramide_loop_square_2_light.gif" /> <img src="./src/docs/projects/fdf_pyramide_loop_square_2_light.gif" />
</a> </a>
<figcaption> <figcaption>
<p> <p>
@@ -122,7 +124,7 @@
rel="noopener noreferrer" rel="noopener noreferrer"
title="link to the source code" title="link to the source code"
> >
<img src="./docs/projects/cube3d_tour_with_map_square.gif" /> <img src="./src/docs/projects/cube3d_tour_with_map_square.gif" />
</a> </a>
<figcaption> <figcaption>
<p> <p>
@@ -151,7 +153,7 @@
rel="noopener noreferrer" rel="noopener noreferrer"
title="link to the source code" title="link to the source code"
> >
<img src="./docs/projects/ljdp_map_clusters_square_light.gif" /> <img src="./src/docs/projects/ljdp_map_clusters_square_light.gif" />
</a> </a>
<figcaption> <figcaption>
<p> <p>
@@ -182,7 +184,7 @@
rel="noopener noreferrer" rel="noopener noreferrer"
title="link to the source code" title="link to the source code"
> >
<img src="./docs/projects/kosmopolit_square.gif" /> <img src="./src/docs/projects/kosmopolit_square.gif" />
</a> </a>
<figcaption> <figcaption>
<p> <p>
-1
View File
@@ -84,7 +84,6 @@ a {
/* headings are wrapped in a link so that clicking them puts the /* headings are wrapped in a link so that clicking them puts the
anchor in the url bar, making the direct link easy to copy */ anchor in the url bar, making the direct link easy to copy */
a.heading_link { a.heading_link {
display: block;
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;
} }