changed p.pre into span.pre

This commit is contained in:
asus
2023-12-01 00:55:21 +01:00
parent eded9d9eaa
commit 9547c56898
2 changed files with 14 additions and 14 deletions

View File

@@ -51,36 +51,36 @@
-->
<section id="title_area" class="section">
<h1 title="hugo lamy" id="name" class="title" data-flex="horizontal center wrap">
<p aria-hidden="true" class="pre">
<span aria-hidden="true" class="pre">
     
      
      
       
    
</p>
<p aria-hidden="true" class="pre">
</span>
<span aria-hidden="true" class="pre">
     
      
     
     
     
</p>
</span>
</h1>
<h1 title="programmeur informatique" id="title" class="title" data-flex="horizontal center wrap">
<p aria-hidden="true" class="pre">
<span aria-hidden="true" class="pre">
             
                   
                 
                   
                
</p>
<p aria-hidden="true" class="pre">
</span>
<span aria-hidden="true" class="pre">
              
                  
                  
                   
               
</p>
</span>
</h1>
</section>
<!--
@@ -100,13 +100,13 @@
-->
<section id="projects" data-flex="vertical stretch" class="section">
<h1 title="projets" data-flex="horizontal parent center wrap">
<p aria-hidden="true" class="pre">
<span aria-hidden="true" class="pre">
      
         
       
        
       
</p>
</span>
</h1>
<h2 data-flex="center">projets réalisés</h2>
<figure class="project" id="ljdp" data-flex="vertical parent center stretch">
@@ -142,13 +142,13 @@
-->
<section id="cv" data-flex="vertical parent stretch" class="section">
<h1 title="cv" id="cv_ascii" data-flex="horizontal center wrap">
<p aria-hidden="true" class="pre">
<span aria-hidden="true" class="pre">
  
  
  
  
 
</p>
</span>
</h1>
<h2 id="cv_download" data-flex="center"><a href="downloads/hugo_lamy_2023_cv.pdf" target="_blank" rel="noopener noreferrer" title="link to a pdf version of this section CV">version pdf</a></h2>
<details>

View File

@@ -57,10 +57,10 @@ h4 { margin: 20px 0px; font-size: 1.5rem; }
h5 { margin: 10px 0px; font-size: 1.25rem; }
h6 { margin: 10px 0px; font-size: 1.0rem; }
p.pre {
.pre {
white-space: pre;
}
p.pre, pre {
.pre, pre {
line-height: 0.8;
font-size: min(2.1vw, 1.0rem);
}