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=" />
<title>hugulumu.fr</title>
<meta name="description" content="site web de hugo lamy, developpeur" />
<base href="./src/" />
<link href="./styles/reset.css" type="text/css" rel="stylesheet" />
<link href="./styles/base.css" type="text/css" rel="stylesheet" />
<link href="./styles/text.css" type="text/css" rel="stylesheet" />
<link href="./styles/mouses.css" type="text/css" rel="stylesheet" />
<link href="./styles/banners.css" type="text/css" rel="stylesheet" />
<link href="./src/styles/reset.css" type="text/css" rel="stylesheet" />
<link href="./src/styles/base.css" type="text/css" rel="stylesheet" />
<link href="./src/styles/text.css" type="text/css" rel="stylesheet" />
<link href="./src/styles/mouses.css" type="text/css" rel="stylesheet" />
<link href="./src/styles/banners.css" type="text/css" rel="stylesheet" />
</head>
<body>
+22 -22
View File
@@ -81,8 +81,8 @@
<section id="cv_section" class="section">
<header>
<!-- prettier-ignore -->
<a href="/#cv_section" class="heading_link">
<h1 aria-label="curriculum vitae">
<a href="#cv_section" class="heading_link" aria-label="curriculum vitae">
<span aria-hidden="true" class="pre">
<span class="fr en">
  
@@ -92,8 +92,8 @@
 
</span>
</span>
</a>
</h1>
</a>
</header>
<!--
@@ -107,7 +107,7 @@
:
</p>
<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"
rel="noopener noreferrer"
title="link to pdf CV version graphical FR"
@@ -116,7 +116,7 @@
<span class="en" lang="en">[Graphical FR]</span>
</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"
rel="noopener noreferrer"
title="link to pdf CV version graphical EN"
@@ -125,7 +125,7 @@
<span class="en" lang="en">[Graphical EN]</span>
</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"
rel="noopener noreferrer"
title="link to pdf CV version ats FR"
@@ -134,7 +134,7 @@
<span class="en" lang="en">[ATS FR]</span>
</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"
rel="noopener noreferrer"
title="link to pdf CV version ats EN"
@@ -149,12 +149,12 @@
-->
<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="en" lang="en">SKILLS</span>
</h2>
</a>
</a>
</h2>
<ul class="dashed">
<li>
@@ -205,12 +205,12 @@
</li>
</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="en" lang="en">EXPERIENCE</span>
</h2>
</a>
</a>
</h2>
<ul class="dashed">
<li>
@@ -335,12 +335,12 @@
</li>
</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="en" lang="en">EDUCATION</span>
</h2>
</a>
</a>
</h2>
<div class="dashed split_columns">
<p>
@@ -406,12 +406,12 @@
</ul>
</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="en" lang="en">PROJECTS</span>
</h2>
</a>
</a>
</h2>
<ul class="dashed">
<li>
+10 -6
View File
@@ -57,8 +57,8 @@
<header>
<!-- prettier-ignore -->
<a href="/#name" class="heading_link">
<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">
     
      
@@ -73,14 +73,14 @@
     
     
</span>
</h1>
</a>
</h1>
</header>
<div id="development">
<a href="/#development" class="heading_link">
<!-- prettier-ignore -->
<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">
               
                   
@@ -88,9 +88,11 @@
                 
              
</span>
</a>
</h1>
<!-- prettier-ignore -->
<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">
             
                
@@ -98,8 +100,8 @@
               
            
</span>
</a>
</h1>
</a>
<p class="subtitle">
<span class="fr">
Bonjour, je suis un développeur inventif, méthodique, et passionné par
@@ -129,9 +131,9 @@
</div>
<div id="making">
<a href="/#making" class="heading_link">
<!-- prettier-ignore -->
<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">
           
                
@@ -139,9 +141,11 @@
                
              
</span>
</a>
</h1>
<!-- prettier-ignore -->
<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">
        
         
@@ -149,8 +153,8 @@
          
         
</span>
</a>
</h1>
</a>
<p class="subtitle">
<span class="fr">
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" />
<label id="language_label" for="language">
<img class="flag" id="fr" 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="fr" src="./src/docs/flags/fr_bnw.svg" alt="french flag" />
<img class="flag" id="en" src="./src/docs/flags/gb_bnw.svg" alt="english flag" />
</label>
+12 -10
View File
@@ -39,9 +39,9 @@
<section id="projects" class="section">
<header>
<a href="/#projects" class="heading_link">
<!-- prettier-ignore -->
<h1 aria-label="projets" class="fr">
<a href="#projects" class="heading_link" aria-label="projets">
<span aria-hidden="true" class="pre">
      
         
@@ -49,9 +49,11 @@
        
       
</span>
</a>
</h1>
<!-- prettier-ignore -->
<h1 aria-label="projects" lang="en" class="en">
<a href="#projects" class="heading_link" aria-label="projects">
<span aria-hidden="true" class="pre">
       
          
@@ -59,8 +61,8 @@
         
        
</span>
</a>
</h1>
</a>
</header>
<div class="">
@@ -76,12 +78,12 @@
></a>
</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="en" lang="en">Some project examples :</span>
</h2>
</a>
</a>
</h2>
<div class="projects_grid">
<figure class="project">
@@ -91,7 +93,7 @@
rel="noopener noreferrer"
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>
<figcaption>
<p>
@@ -122,7 +124,7 @@
rel="noopener noreferrer"
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>
<figcaption>
<p>
@@ -151,7 +153,7 @@
rel="noopener noreferrer"
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>
<figcaption>
<p>
@@ -182,7 +184,7 @@
rel="noopener noreferrer"
title="link to the source code"
>
<img src="./docs/projects/kosmopolit_square.gif" />
<img src="./src/docs/projects/kosmopolit_square.gif" />
</a>
<figcaption>
<p>
-1
View File
@@ -84,7 +84,6 @@ a {
/* headings are wrapped in a link so that clicking them puts the
anchor in the url bar, making the direct link easy to copy */
a.heading_link {
display: block;
color: inherit;
text-decoration: none;
}