78 Commits

Author SHA1 Message Date
asus
86869399fb projects are now a grid 2024-05-26 13:34:59 +02:00
asus
9ba7801d03 added new version of kosmopolit gif 2024-05-26 13:34:41 +02:00
asus
6e13db6a95 added more gif 2024-05-26 12:20:22 +02:00
asus
67bc569749 wip added figcaption 2024-05-25 15:43:37 +02:00
asus
785be3e6ac wip change projects for grid of figures 2024-05-25 15:42:20 +02:00
asus
5c6f636e4d added jipf project 2024-05-25 15:41:57 +02:00
asus
d93015f2fa added second project gif 2024-05-19 12:39:19 +02:00
asus
00485dbc70 wip design is mobile first with some bugs 2024-05-19 12:26:30 +02:00
asus
527424df53 wip images in projects 2024-05-18 15:54:08 +02:00
asus
1742985974 small modifs in project section 2024-05-17 22:52:36 +02:00
asus
40048d3871 starting to put the project new content 2024-05-17 15:06:19 +02:00
asus
877c5eb271 re start animation banner 2024-05-17 14:16:57 +02:00
asus
875a79816b fixed some typo and grid error for last section 2024-05-17 14:15:55 +02:00
asus
ac836798b9 unified dot size responsivness for banner and mouses 2024-05-17 14:09:42 +02:00
asus
a40ab0b203 fixed small error in hero section : unrolling cv was creating a jump 2024-05-17 13:38:25 +02:00
asus
9302e725db small fix in hero layout for space on top 2024-05-17 11:59:09 +02:00
asus
c9150faa52 layout ok on firefox 2024-05-17 11:38:17 +02:00
asus
f5c7b07aad cv pudated 2024-05-15 22:53:24 +02:00
asus
4f5cd77c81 - removed nav
- moved cv to the hero section
- also changed it to collapse all at once instead of by sub titles
- and changed grid to auto flow instead of using named areas
2024-05-15 19:28:57 +02:00
asus
f042247cbb animation mouse in css is working 2024-05-15 15:49:48 +02:00
asus
b517d26ece index modified for merge 2024-05-15 11:55:24 +02:00
asus
668aad3c59 merging conflict 2024-05-15 11:50:31 +02:00
asus
3747762c4f banners are now svg images 2024-05-15 11:45:34 +02:00
asus
ac1d84fc9a reverted last 3 commits 2024-01-21 12:16:30 +01:00
asus
7a07e2dbdd Merge branch 'master' into new_banner 2024-01-21 12:10:24 +01:00
asus
cd42bf0f2b creation of branch new_banner 2024-01-21 12:08:17 +01:00
asus
ed75f330a1 added notes md 2024-01-21 12:02:05 +01:00
asus
553c93a7d1 - added test banner svg
- need to figure out a better deal with font size and screen size
2023-12-22 18:16:13 +01:00
asus
7484bd8697 fixed banner selector and overflow hidden 2023-12-20 14:56:27 +01:00
asus
62d7b45822 for now back to working version of ascii animation 2023-12-20 14:39:04 +01:00
asus
3cfa8cfeba wip animation 2023-12-20 14:34:03 +01:00
asus
d3db7774fe - wip new animation type
- nav is back to fixed to preserve the 100vh of first section
2023-12-20 14:15:24 +01:00
asus
1315132b9d changed nav position from fixed to sticky so it doesn't overlap with first header 2023-12-20 10:44:34 +01:00
asus
b99a47985b changed flex gap in 2 words ascii title for a margin 2023-12-20 10:33:12 +01:00
asus
ca1da07048 error worpress -> wordpress 2023-12-10 14:12:01 +01:00
asus
9c0895f589 redo mediaquery for fontsize 2023-12-08 09:22:54 +01:00
asus
70ae41f7d4 - change temp.txt in alphabet.txt
- made hugolamy title smaller
- removed mediaquery for font size
2023-12-08 09:14:17 +01:00
asus
a6979b8d23 better nav font size for small screens 2023-12-06 16:10:15 +01:00
asus
0903a4b9c2 changed sections elements height to all auto 2023-12-06 15:58:36 +01:00
asus
c84d6bd5af merged simple_html 2023-12-06 15:51:40 +01:00
asus
59382b8d21 added navbar 2023-12-06 15:45:28 +01:00
asus
cf8ec07002 edited readme about accessibility 2023-12-06 15:08:59 +01:00
asus
7b239b8fe3 edited readme 2023-12-06 14:20:14 +01:00
asus
cac49da466 edited readme 2023-12-06 14:19:27 +01:00
asus
385b43cfc6 transformed page layout in multiple sections to have full screen height available 2023-12-03 19:25:12 +01:00
asus
c21df45857 starting new design by section with home taking all screen height 2023-12-03 15:33:39 +01:00
asus
6b1370131d - changed title in h1 to aria label for accessibility
- changed stretchging and centering of section with fill-available
2023-12-01 21:33:54 +01:00
asus
9547c56898 changed p.pre into span.pre 2023-12-01 00:55:21 +01:00
asus
eded9d9eaa changed div and pre into h1 and p styles pre 2023-12-01 00:50:32 +01:00
asus
c86952d172 added htaccess with https redirection 2023-11-30 14:08:27 +01:00
asus
49bc7be27f changed first header with visually hidden h1 2023-11-30 01:06:14 +01:00
asus
0dd0ff4843 - improve accessibility after check with wave and axe :
- title to links
	- title to iframe
	- put everything in main region
2023-11-29 23:48:58 +01:00
asus
0aa774b21f avoid fill-available as pointed out by w3 css validator 2023-11-29 23:22:59 +01:00
asus
5843f9af1a removed h1 according to w3 validator 2023-11-29 23:11:51 +01:00
asus
2b8fc51d0b - better ul alignements
- changed download pdf to open in new window
2023-11-29 22:08:42 +01:00
asus
8eec040226 solve some pbm with font size 2023-11-29 20:07:49 +01:00
asus
447553b1ac made the pre ascii accessibles 2023-11-29 19:35:15 +01:00
asus
bc966e676e better description and style of the project 2023-11-29 17:44:21 +01:00
asus
09bdb21600 cv new version 2023-11-29 15:56:22 +01:00
asus
70b644595d - added description to project
- better liste cv alignement
2023-11-29 14:12:33 +01:00
asus
4eae7921cc trying style with less banners 2023-11-24 17:07:33 +01:00
asus
5b63a5ed41 start of adding projects 2023-11-24 15:55:57 +01:00
asus
9fa4e3a22a some modification to global css, but it's not good anymore 2023-11-23 19:30:15 +01:00
asus
ce1b541f29 font size adjust for list details arrow 2023-11-20 01:17:01 +01:00
asus
82ba4401c6 adjusted font size for phones 2023-11-20 01:14:17 +01:00
asus
5b767e8147 solved pbm with list in cv 2023-11-20 01:05:25 +01:00
asus
f334f87390 resolved pbm of margin in title section, it was because of the min function in font size 2023-11-19 21:24:54 +01:00
asus
2f95a96834 added cv pdf 2023-11-19 19:11:09 +01:00
asus
0d55418bf1 created a central area thinner than banners 2023-11-19 19:02:08 +01:00
asus
d00efa943c added forgotten third line of .htaccess 2023-11-05 21:57:59 +01:00
asus
ce8b1a10f3 added .htaccess for the server 2023-11-05 21:41:40 +01:00
asus
ced0b84247 added old readme content into new readme 2023-11-05 21:39:55 +01:00
asus
962eea4ace Merge branch 'simple_html' 2023-11-05 21:37:09 +01:00
asus
8e8b6f4e1c added new readme 2023-11-05 21:36:15 +01:00
asus
8012ddb0a4 Merge branch 'simple_html' 2023-11-05 21:24:49 +01:00
asus
48c1ff96ae merged simple html branch 2023-11-05 21:22:55 +01:00
asus
520472da51 erased everything to set up a clean new master branch 2023-11-05 21:21:32 +01:00
asus
cbbde4fdac temp test file 2023-11-05 21:17:21 +01:00
40 changed files with 1156 additions and 775 deletions

4
.htaccess Normal file
View File

@@ -0,0 +1,4 @@
# adding https redirection :
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

View File

@@ -1,4 +1,44 @@
start it with a server, like : `alive-server`
- https://www.npmjs.com/package/alive-server
- install : `npm install -g alive-server`
---
difficulties :
- [accessibility with ascii art titles](https://stackoverflow.com/questions/77537096/make-text-in-ascii-art-more-accessible)
- I finally decided to go with a structure like this :
```html
<h1 aria-label="hugo lamy">
<span aria-hidden="true" class="pre">
hugo (ascii)
</span>
<span aria-hidden="true" class="pre">
lamy (ascii)
</span>
</h1>
```
- [links accessibility](https://webaim.org/techniques/hypertext/)
- [accessibility gone wild](https://webaim.org/articles/gonewild/)
- [don't use title attribute](https://stackoverflow.com/questions/11161915/simple-tooltip-title-attribute/11163133#11163133)
- [I thought title text improved accessibility. I was wrong.](https://silktide.com/blog/i-thought-title-text-improved-accessibility-i-was-wrong/)
- [Things I learned by pretending to be blind for a week](https://medium.com/silktide/things-i-learned-by-pretending-to-be-blind-for-a-week-bf7b09f33eb4)
- [create the full screen hero section with the navbar under the title](https://stackoverflow.com/questions/77596781/in-css-how-to-make-a-sticky-navbar-after-the-header-in-an-hero-section/)
---
projects :
- [/] ljdp
- [ ] tchat transcendance
- setup docker without sudo on server
- remove authentification from project
- [ ] cube3d
- [ ] minishell
---
direction | width | child | child | child
| | position | main axis | second axis
................................................................
@@ -186,4 +226,3 @@
. .
. . . . . . . . . . . . . . . . . . .

View File

@@ -293,6 +293,35 @@
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
•••• •••• ••••• ••••• ••••• ••••• ••••• •••••
• • • • • • • • • • •
•••• •••• • • • •••• • • •••••
• • • • • • • • • •
• • • ••••• •• ••••• ••••• • •••••
       
          
        
         
        
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------

29
docs/banners/banner_0.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.9 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.9 KiB

31
docs/banners/banner_1.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.9 KiB

34
docs/banners/banner_2.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.9 KiB

37
docs/banners/banner_3.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.0 KiB

40
docs/banners/banner_4.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.0 KiB

43
docs/banners/banner_5.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.0 KiB

BIN
docs/hugo_lamy_cv_2024.pdf Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
docs/projects/fdf_demo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 855 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 938 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 MiB

View File

@@ -2,40 +2,26 @@
<html lang="fr" dir="ltr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- create "fake" favicon : https://stackoverflow.com/questions/1321878/how-to-prevent-favicon-ico-requests -->
<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/sections.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/mouses.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/banners.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/title.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/hero.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/projects.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/test.css" type="text/css" rel="stylesheet">
</head>
<!--
ids :
<id="personnal_infos">
<id="role_title">
<id="cv_infos">
<id="mouse_1">
<id="mouse_2">
<id="mouse_3">
<id="mouse_4">
<id="banner_1">
<id="banner_2">
<id="banner_3">
<id="banner_4">
<id="banner_5">
original : • 8226 U+2022
:  57442 U+E062
:  57443 U+E063
@@ -43,528 +29,193 @@
:  57445 U+E065
actual :  57446 U+E066
:  57447 U+E067
<section style="height: 200px;" class="left child-left-dense horizontal">
accessibility pre : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre#specifications
<figure>
<pre role="img" aria-label="ASCII COW">
___________________________
&lt; I'm an expert in my field. &gt;
---------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
</pre>
<figcaption id="cow-caption">
A cow saying, "I'm an expert in my field." The cow is illustrated using
preformatted text characters.
</figcaption>
</figure>
-->
<body>
<body id="body">
<!--
maybe move this outside, so that i can change my mind to put it or not wihtout having to change the grid rows height ?
or else, if all rows can be the same, like 1fr or auto, it will also works
-->
<div id="top_banner" class="banner banner_size_0 banner_speed_50 banner_reverse grid_full_width" aria-label="banner delimitation in ASCII art"></div>
<!--
ROLE TITLE
HERO SECTION
-->
<section id="role_title">
<figure id="name" style="gap:10px 30px;" data-flex="horizontal center wrap">
<pre>
<section class="section hero" id="hero">
<header>
<h1 aria-label="hugo lamy" id="name" class="title">
<span aria-hidden="true" class="pre pre_small">
     
      
      
       
    
</pre>
<pre>
</span>
<span aria-hidden="true" class="pre pre_small">
     
      
     
     
     
</pre>
</figure>
<figure id="title" style="gap:10px 30px; margin:30px 0px;" data-flex="horizontal center wrap">
<pre>
             
                  
             
             
        
</pre>
<pre>
              
                  
                  
                   
               
</pre>
</figure>
</section>
<!--
END ROLE TITLE
-->
</span>
</h1>
<h1 aria-label="programmeur informatique" id="title" class="title">
<span aria-hidden="true" class="pre">
          
                
            
        
           
</span>
</h1>
<p class="subtitle">méthodique, inventif, curieux</p>
</header>
<!--
CV INFOS
-->
<section id="cv_infos" data-flex="vertical left">
<details>
<details class="cv margin_top_big">
<summary>
<h2>Informatique</h2>
<h2 class="close">voir le CV</h2>
<h2 class="open">cacher le CV</h2>
</summary>
<a id="cv_download" class="margin_bottom_big" href="docs/hugo_lamy_cv_2024.pdf" target="_blank" rel="noopener noreferrer" title="link to a pdf version of this section CV">télécharger en pdf</a>
<h2>COMPÉTENCES</h2>
<ul>
<li>École 42, Paris, 2021-2022, tronc commun - niveau 10</li>
<li>SIMPLON, développeur full-stack JavaScript, 2018</li>
<li>Backend, plugin WordPress avec API Google Maps, <a href="https://2022.lejourdesprofs.org/#programme" target="_blank" rel="noopener noreferrer"></a>, 2022</li>
<li>Full-stack, reprise dun site dartistes en php, <a href="https://www.bloc-house.org" target="_blank" rel="noopener noreferrer"></a>, 2021</li>
<li>Site vitrine, association Kosmopolit, <a href="https://kosmopolit.bitbucket.io" target="_blank" rel="noopener noreferrer"></a>, 2021</li>
<li>Langages : C, C++, bash, JavaScript, PHP, CSS, HTML</li>
<li>Technologies : Node.js, Git, Gitaction, Docker, Wordpress, Nginx, MariaDB, Nest.js, Svelte, WebSocket, Express, npm, react</li>
<li>Plus : emails, sending emails, receiving emails, deleting emails (the it crowd S01E01)</li>
<li>Autres : magie, vélo, noeuds, mathématiques, politique</li>
</ul>
</details>
<details>
<summary>
<h2>Bénévolat</h2>
</summary>
<h2>EXPÉRIENCES</h2>
<ul>
<li>Cogestion des bénévoles d'un camp de réfugiés, UTOPIA 56, Grande-Synthe, France, 2016</li>
<li>Formateur contraception testiculaire, ZEROMILLIONS, Paris, France, 2021-2023</li>
<li>Distribution de nourriture (Migrants-Wilson & Secours Populaire)</li>
<li><a href="https://www.carteprof.org" target="_blank" rel="noopener noreferrer" title="link to carteprof website"></a>, 2021 : Backend, plugin wordpress, authentification, sessions, paiements, roles et bdd</li>
<li><a href="https://www.bloc-house.org" target="_blank" rel="noopener noreferrer" title="link to bloc-house website"></a>, 2021 : Full-stack, reprise dun site en php et javascript</li>
<li><a href="https://2022.lejourdesprofs.org/#programme" target="_blank" rel="noopener noreferrer" title="link to lejourdesprofs website"></a>, 2022 : Backend, plugin WordPress API GoogleMaps</li>
<li><a href="https://kosmopolit.bitbucket.io" target="_blank" rel="noopener noreferrer" title="link to kosmopolit website"></a>, 2021 : Front-end, intégration en css atomique statique</li>
</ul>
</details>
<details>
<summary>
<h2>Outils informatiques</h2>
</summary>
<h2>FORMATION INFORMATIQUE</h2>
<ul>
<li>C, HTML, CSS, C++, JavaScript, script bash, PHP, Svelte, TypeScript</li>
<li>Git, Docker, Nginx, MariaDB, Node.js, Nest.js, WebSocket, Express, npm</li>
<li>Emails, sending emails, receiving emails, deleting emails ("the it crowd", Jane Barber s01e01)</li>
<li>École 42, Paris, 2021-2022, tronc commun - niveau 10 (C, C++, système, algorithime, réseaux)</li>
<li>SIMPLON, développeur full-stack JavaScript, 2018 (Javascript, Node.js, React.js, HTML, CSS)</li>
</ul>
</details>
<details>
<summary>
<h2>Études darchitecture</h2>
</summary>
<h2>FORMATION ARCHITECTURE</h2>
<ul>
<li>Master 1, ENSAPM, ESA, ENSAV, île-de-france, France, 2008-2014</li>
<li>Stages : PERSPECTIVA (Houston, Texas, 2009), AS (Paris, 2012), JC QUINTON (Paris 2014)</li>
<li>3 stages : PERSPECTIVA (Houston, Texas, 2009, 3 mois), AS (Paris, 2012, 6 mois), JC QUINTON (Paris 2014, 6 mois)</li>
</ul>
</details>
<details>
<summary>
<h2>Centres d'intérêts</h2>
</summary>
<h2>ENGAGEMENT ASSOCIATIF</h2>
<ul>
<li>Vélo : longs voyages à vélo, construction de vélos retro-directs</li>
<li>Magie : cartes, pièces, scène</li>
<li>Autonomie : recherche des moyens de vivre avec le minimum d'affaires</li>
<li>Vulgarisation et recherche contraception testiculaire, ZEROMILLIONS, Paris, France, 2021-2024</li>
<li>Aide au logement, travail, administratif, et projets de vie de personnes précaires, 2018-2024</li>
<li>Distribution de nourriture, MIGRANTS-WILSON & SECOURS POPULAIRE, 2020-2022</li>
<li>Cogestion des bénévoles d'un camp de réfugiés, UTOPIA 56, Grande-Synthe, France, 2016</li>
</ul>
</details>
<div class="mouse"><div class="mouse_1 pre"></div></div>
<div class="banner banner_size_3 banner_speed_30 grid_full_width margin_bottom_small" aria-label="banner delimitation in ASCII art"></div>
</section>
<!--
END CV INFOS
-->
<!--
PERSONNAL INFOS
PROJECTS
-->
<section id="personnal_infos" style="margin: 50px auto;">
<p>hugogogo@protonmail.com</p>
<section id="projects" class="section">
<div class="mouse"><div class="mouse_3 pre"></div></div>
<header>
<h1 aria-label="projets">
<span aria-hidden="true" class="pre">
      
         
       
        
       
</span>
</h1>
</header>
<div class="margin_bottom_big">
<p>code-sources de tous les projets : </p>
<a href="https://bitbucket.org/hugogogo" target="_blank" rel="noopener noreferrer" title="link to git repositories on bitbucket"></a>
</div>
<h2 class="margin_bottom_big">quelques exemples de projets réalisés :</h2>
<div class="projects_grid">
<figure class="project">
<a href="https://bitbucket.org/hugogogo/int_04_fdf" target="_blank" rel="noopener noreferrer" title="link to the source code on bitbucket">
<img src="./docs/projects_square/fdf_pyramide_loop_square_2_light.gif"/>
</a>
<figcaption>
<p>programme qui creer une representation 3D filaire d'une carte avec des points a differentes altitudes</p>
<a href="https://bitbucket.org/hugogogo/int_04_fdf" target="_blank" rel="noopener noreferrer" title="link to the source code on bitbucket"></a>
</figcaption>
</figure>
<figure class="project">
<a href="https://bitbucket.org/hugogogo/int_10_cube3d" target="_blank" rel="noopener noreferrer" title="link to the source code on bitbucket">
<img src="./docs/projects_square/cube3d_tour_with_map_square.gif"/>
</a>
<figcaption>
<p>mini jeu video utilisant le raycasting pour creer une impression de deplacement dans un environnement 3D</p>
<a href="https://bitbucket.org/hugogogo/int_10_cube3d" target="_blank" rel="noopener noreferrer" title="link to the source code on bitbucket"></a>
</figcaption>
</figure>
<figure class="project">
<a href="https://bitbucket.org/hugogogo/2023_website_jipf" target="_blank" rel="noopener noreferrer" title="link to the source code on bitbucket">
<img src="./docs/projects_square/ljdp_map_clusters_square_light.gif"/>
</a>
<figcaption>
<p>plugin wordpress representant des evenements sur une carte avec des marqueurs et des filtres de tris</p>
<a href="https://bitbucket.org/hugogogo/2023_website_jipf" target="_blank" rel="noopener noreferrer" title="link to the source code on bitbucket"></a>
</figcaption>
</figure>
<figure class="project">
<a href="https://bitbucket.org/hugogogo/2022_website_kosmopolit" target="_blank" rel="noopener noreferrer" title="link to the source code on bitbucket">
<img src="./docs/projects_square/kosmopolit_square.gif"/>
</a>
<figcaption>
<p>site internet statique utilisant une structure uniquement en html et css</p>
<a href="https://bitbucket.org/hugogogo/2022_website_kosmopolit" target="_blank" rel="noopener noreferrer" title="link to the source code on bitbucket"></a>
</figcaption>
</figure>
</div>
<!--
<article class="project">
<p>description</p>
<img src="./docs/projects/fdf_pyramide_2.gif"/>
<img src="./docs/projects/fdf_demo.gif"/>
</article>
<article class="project">
<p>description</p>
<img src="./docs/projects/cube3d_raycasting.gif"/>
<img src="./docs/projects/cube3d_image.gif"/>
</article>
<article class="project">
<p>description</p>
<img src="./docs/projects/ljdp_map_clusters.gif"/>
<img src="./docs/projects/ljdp_map_filters.gif"/>
</article>
-->
<div class="mouse"><div class="mouse_2 pre"></div></div>
<div class="banner banner_size_3 banner_speed_20 banner_reverse grid_full_width" aria-label="banner delimitation in ASCII art"></div>
</section>
<!--
END PERSONNAL INFOS
-->
<!--
MOUSE 1
-->
<figure class="frames_container mouse" id="mouse_1">
<pre class="frame f1">
  
     
      
         
      
    
    
    
     
        
        
     
     
   
   
</pre>
<pre class="frame f2">
 
    
      
       
      
     
     
    
     
        
        
     
     
   
   
</pre>
<pre class="frame f3">
 
    
      
       
      
     
     
    
     
        
        
     
     
   
   
</pre>
<pre class="frame f4">
  
     
      
         
      
    
    
    
     
        
        
     
     
   
   
</pre>
</figure>
<!--
END MOUSE 1
-->
<!--
MOUSE 2
-->
<figure class="frames_container mouse" id="mouse_2">
<pre class="frame f1">
 
  
  
 

 
 
 
 
   
   
 
    
   
 
</pre>
<pre class="frame f2">
 
  
  
 

 
 
 
 
   
   
 
    
   

</pre>
<pre class="frame f3">
 
 
  
 

 
 
 
 
   
   
 
    
   
 
</pre>
<pre class="frame f4">

 
  
 

 
 
 
 
   
   
 
    
   

</pre>
</figure>
<!--
END MOUSE 2
-->
<!--
MOUSE 3
-->
<figure class="frames_container mouse" id="mouse_3">
<pre class="frame f1">
 
 
   
     
     
   
   
  
   
  
 
</pre>
<pre class="frame f2">
 
 
   
    
     
   
   
  
   
 
 
</pre>
<pre class="frame f3">
 
  
   
    
     
   
   
  
   
 
 
</pre>
<pre class="frame f4">
 
  
   
     
     
   
   
  
   
  
 
</pre>
</figure>
<!--
END MOUSE 3
-->
<!--
MOUSE 4
-->
<figure class="frames_container mouse" id="mouse_4">
<pre class="frame f1">
 
  

  
  
   
   
  
  
   
  
 
</pre>
<pre class="frame f2">
 
  

  
  
   
   
 
  
   
  
 
</pre>
<pre class="frame f3">
 
  

  
  
   
   
  
  
   
  
 
</pre>
<pre class="frame f4">

  
 
  
   
  
  
   
   
   
   
 
</pre>
</figure>
<!--
END MOUSE 4
-->
<!--
BANNER 1
-->
<figure id="banner_1">
<pre class="banner">
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                           
</pre>
</figure>
<!--
END BANNER 1
-->
<!--
BANNER 2
-->
<figure id="banner_2">
<pre class="banner reverse t1_0">
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                           
</pre>
</figure>
<!--
END BANNER 2
-->
@@ -574,79 +225,17 @@
<!--
BANNER 3
-->
<figure id="banner_3">
<pre class="banner t2_0 reverse">
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                           
</pre>
</figure>
<!--
END BANNER 3
-->
<!--
BANNER 4
-->
<figure id="banner_4">
<pre class="banner t0_5">
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                           
</pre>
</figure>
<!--
END BANNER 4
-->
<!--
BANNER 5
-->
<figure id="banner_5">
<pre class="banner reverse">
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                           
</pre>
</figure>
<!--
END BANNER 5
INFOS
-->
<section id="infos" class="footer section">
<article>
<p>hugogogo@protonmail.com</p>
</article>
<div class="mouse"><div class="mouse_4 pre"></div></div>
</section>

View File

@@ -1,33 +1,102 @@
.banner {
width: 100%;
--base_banner_height: 24px;
--banner_height: var(--base_banner_height); /*default*/
--base_dot_size: 4.2vw;
--dot_size: var(--base_dot_size); /*default*/
height: min(var(--dot_size), var(--banner_height));
pre.banner {
position: relative;
margin: 10px 0px 10px -100px;
animation-name: slide;
background-image: url(../../docs/banners/banner_1.svg); /*default*/
background-size: contain;
background-repeat: repeat;
background-position-x: 0%;
animation-duration: 10s; /*default*/
animation-name: slide_svg;
animation-iteration-count: infinite;
animation-duration: 2s;
animation-timing-function: linear;
animation-direction: normal;
}
pre.banner.pause {
animation-play-state: paused;
}
pre.banner.reverse {
animation-direction: reverse;
}
pre.banner.t0_5 {
animation-duration: 0.5s;
}
pre.banner.t1_0 {
animation-duration: 1s;
}
pre.banner.t1_5 {
animation-duration: 1.5s;
}
pre.banner.t2_0 {
animation-duration: 2s;
}
@keyframes slide {
from {left:0;}
to {left:2.4em;}
@keyframes slide_svg {
from {background-position-x: 0%;}
to {background-position-x: 100%;}
}
/*
* speeds
*
*/
.banner_pause {
animation-play-state: paused;
}
.banner_reverse {
animation-direction: reverse;
}
.banner_speed_10 {
animation-duration: 10s;
}
.banner_speed_20 {
animation-duration: 20s;
}
.banner_speed_30 {
animation-duration: 30s;
}
.banner_speed_40 {
animation-duration: 40s;
}
.banner_speed_50 {
animation-duration: 50s;
}
/*
* sizes
*
*/
.banner_size_0 {
background-image: url(../../docs/banners/banner_0.svg);
--banner_height: calc(var(--base_banner_height) * 1);
--dot_size: calc(var(--base_dot_size) * 1);
}
.banner_size_00 {
background-image: url(../../docs/banners/banner_00.svg);
--banner_height: calc(var(--base_banner_height) * 1);
--dot_size: calc(var(--base_dot_size) * 1);
}
.banner_size_1 {
background-image: url(../../docs/banners/banner_1.svg);
--banner_height: calc(var(--base_banner_height) * 1);
--dot_size: calc(var(--base_dot_size) * 1);
}
.banner_size_2 {
background-image: url(../../docs/banners/banner_2.svg);
--banner_height: calc(var(--base_banner_height) * 2);
--dot_size: calc(var(--base_dot_size) * 2);
}
.banner_size_3 {
background-image: url(../../docs/banners/banner_3.svg);
--banner_height: calc(var(--base_banner_height) * 3);
--dot_size: calc(var(--base_dot_size) * 3);
}
.banner_size_4 {
background-image: url(../../docs/banners/banner_4.svg);
--banner_height: calc(var(--base_banner_height) * 4);
--dot_size: calc(var(--base_dot_size) * 4);
}
.banner_size_5 {
background-image: url(../../docs/banners/banner_5.svg);
--banner_height: calc(var(--base_banner_height) * 5);
--dot_size: calc(var(--base_dot_size) * 5);
}
/* specific banners */
#top_banner {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
}

View File

@@ -1,33 +1,35 @@
#cv_infos {
margin: 10px 10px 30px 10px;
}
#cv_infos h1,
#cv_infos h2,
#cv_infos h3,
#cv_infos h4,
#cv_infos h5,
#cv_infos h6 {
/*
place-self: center;
margin-left: var(--list-padding);
*/
}
#cv_infos details {
margin: 10px 0px;
}
#cv_infos summary {
/*
*/
margin-left: var(--list-padding);
}
#cv_infos summary + * {
margin-top: 10px;
.cv {
width: auto;
max-width: 900px;
}
details summary {
/*
list-style-type: none;
*/
list-style-position: outside;
.cv {
display: flex;
text-align: left;
summary {
position: relative;
list-style-position: outside;
list-style-type: "▸ ";
font-size: 1.8rem;
margin: auto;
width: fit-content;
.open {
display: none;
}
.close {
display: inline;
}
}
&[open] summary {
list-style-type: "▾ ";
.open {
display: inline;
}
.close {
display: none;
}
}
> *:last-child {
margin-bottom: 100px;
}
}

21
styles/elements/hero.css Normal file
View File

@@ -0,0 +1,21 @@
#hero {
min-height: 100vh;
grid-template-columns: 1fr auto 1fr;
/*
* WIP : trying to find a solution to have both qualities :
* - elements are spread across the page vertically ('hugo lamy developpeur' is not compacted on top)
* - the details element 'voir le cv' dont jump when we unroll it
*
grid-template-rows: 1fr auto 1fr;
*/
grid-template-rows: auto auto 1fr;
.subtitle {
text-align: center;
}
.cv {
#cv_download {
margin-top: 20px;
text-align: center;
}
}
}

View File

@@ -1,3 +1,7 @@
#personnal_infos {
#infos article {
display: flex;
flex-direction: column;
place-content: center;
height: 200px;
}

View File

@@ -1,61 +1,49 @@
@import "./mouses/mouse_1.css";
@import "./mouses/mouse_2.css";
@import "./mouses/mouse_3.css";
@import "./mouses/mouse_4.css";
.mouse {
position: relative;
margin: 0px;
}
.frames_container {
display: grid;
margin: auto;
width: fit-content;
/*
border: 1px solid blue;
*/
}
pre.frame.hide {
display: none;
}
pre.frame {
position: relative;
grid-column: 1;
grid-row: 1;
margin: auto auto 0px 0px;
overflow: hidden;
/*
width: fit-content;
height: fit-content;
> div {
position: relative;
top: 0%;
border: 1px solid red;
*/
/*
* for pseudo elements ::before and ::after
* for some reason it does not work when applied to them directly
* if they are not position absolute
white-space: pre;
line-height: 0.8;
font-size: 1.0rem;
font-size: min(2.1vw, 1.0rem);
*/
opacity: 0;
--tframes: 2s;
animation-name: ascii_frame;
animation-iteration-count: infinite;
animation-duration: var(--tframes);
animation-timing-function: linear;
animation-direction: normal;
}
--tframes: 2s;
animation-name: mouse_move;
animation-iteration-count: infinite;
animation-duration: var(--tframes);
animation-direction: normal;
animation-timing-function: steps(1);
}
> div::before {
position: relative;
top: 0px;
left: 0px;
}
pre.frame.f2 {animation-delay: calc(var(--tframes) * 25/100);}
pre.frame.f3 {animation-delay: calc(var(--tframes) * 50/100);}
pre.frame.f4 {animation-delay: calc(var(--tframes) * 75/100);}
@keyframes ascii_frame {
0% {opacity: 1;}
25% {opacity: 1;}
25.1% {opacity: 0;}
100% {opacity: 0;}
> div::after {
position: absolute;
top: 100%;
left: 0px;
}
}
#mouse_1 {
place-self: center;
@keyframes mouse_move {
0% {top: 0%;}
25% {top: -100%;}
50% {top: -200%;}
75% {top: -300%;}
}
#mouse_2 {
left: 10%;
}
#mouse_3 {
left: 60%;
}
#mouse_4 {
left: 20%;
}

View File

@@ -0,0 +1,72 @@
.mouse_1::before {
content:'\
 \a
   \a
      \a
       \a
          \a
       \a
     \a
     \a
     \a
     \a
        \a
        \a
     \a
      \a
    \a
    \a
';
}
.mouse_1::after {
content:'\
 \a
  \a
     \a
       \a
        \a
       \a
      \a
      \a
     \a
      \a
         \a
         \a
      \a
      \a
    \a
    \a
 \a
  \a
     \a
       \a
        \a
       \a
      \a
      \a
     \a
      \a
         \a
         \a
      \a
      \a
    \a
    \a
 \a
   \a
      \a
       \a
          \a
       \a
     \a
     \a
     \a
     \a
        \a
        \a
     \a
      \a
    \a
    \a
';
}

View File

@@ -0,0 +1,72 @@
.mouse_2::before {
content:'\
 \a
  \a
   \a
  \a
 \a
  \a
  \a
  \a
  \a
    \a
    \a
  \a
     \a
    \a
  \a
 \a
';
}
.mouse_2::after {
content:'\
  \a
   \a
   \a
  \a
 \a
  \a
  \a
  \a
  \a
    \a
    \a
  \a
     \a
    \a
 \a
 \a
  \a
  \a
   \a
  \a
 \a
  \a
  \a
  \a
  \a
    \a
    \a
  \a
     \a
    \a
  \a
 \a
 \a
  \a
   \a
  \a
 \a
  \a
  \a
  \a
  \a
    \a
    \a
  \a
     \a
    \a
 \a
 \a
';
}

View File

@@ -0,0 +1,64 @@
.mouse_3::before {
content:'\
 \a
 \a
  \a
   \a
 \a
   \a
   \a
    \a
    \a
   \a
   \a
    \a
   \a
  \a
';
}
.mouse_3::after {
content:'\
 \a
 \a
  \a
   \a
 \a
   \a
   \a
    \a
    \a
  \a
   \a
    \a
   \a
  \a
 \a
 \a
  \a
   \a
 \a
   \a
   \a
    \a
    \a
   \a
   \a
    \a
   \a
  \a
\a
\a
 \a
  \a
 \a
   \a
    \a
   \a
   \a
    \a
    \a
    \a
    \a
  \a
';
}

View File

@@ -0,0 +1,64 @@
.mouse_4::before {
content:'\
 \a
 \a
  \a
  \a
    \a
      \a
     \a
   \a
    \a
   \a
    \a
   \a
  \a
 \a
';
}
.mouse_4::after {
content:'\
 \a
 \a
  \a
  \a
    \a
     \a
     \a
    \a
    \a
   \a
    \a
  \a
  \a
 \a
 \a
 \a
  \a
   \a
    \a
     \a
      \a
    \a
    \a
   \a
    \a
  \a
  \a
 \a
 \a
 \a
  \a
   \a
    \a
      \a
      \a
   \a
    \a
   \a
    \a
   \a
  \a
 \a
';
}

View File

@@ -0,0 +1,21 @@
#projects {
header {
height: 300px;
}
.projects_grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, auto));
grid-template-columns: repeat(2, minmax(100px, auto));
grid-template-columns: repeat(2, minmax(100px, 500px));
grid-gap: 20px;
figure {
figcaption {
text-align: left;
margin-bottom: 100px;
}
}
}
.mouse {
margin-top: 100px;
}
}

View File

@@ -1,24 +0,0 @@
#test::after {
content: "  \a   \a   \a  \a \a  \a  \a  \a  \a    \a    \a  \a     \a    \a  \a ";
white-space: pre-wrap;
/*
 
  
  
 

 
 
 
 
   
   
 
    
   
 
*/
}

View File

@@ -1,8 +1,26 @@
#role_title #name {
margin:30px 0px 40px 0px;
#name {
margin:30px 0px 20px 0px;
}
#role_title #title {
margin:30px 0px 40px 0px;
#title {
margin:20px 0px 20px 0px;
}
.title {
/*
older safari doesn't not support flex gap
I could use a workaround :
https://stackoverflow.com/questions/65452057/flexbox-gap-workaround-for-safari
but it doesn't work with wrap
so instead I make them in columns and add a margin
gap: 10px 30px;
*/
display: flex;
flex-direction: column;
align-items: center;
}
.title > *:first-child {
margin-bottom: 10px;
}

View File

@@ -1,2 +0,0 @@

View File

@@ -1,8 +1,41 @@
/* https://stackoverflow.com/questions/62107074/how-to-hide-a-text-and-make-it-accessible-by-screen-reader */
.visually-hidden {
border: 0;
padding: 0;
margin: 0;
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
outline: none;
box-shadow: none;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 - a 0 height clip, off to the bottom right of the visible 1px box */
clip: rect(1px, 1px, 1px, 1px); /* maybe deprecated but we need to support legacy browsers */
clip-path: inset(50%); /* modern browsers, clip-path works inwards from each corner */
white-space: nowrap; /* added line to stop words getting smushed together (as they go onto separate lines and some screen readers do not understand line feeds as a space) */
}
.margin_top_small {
margin-top: 10px;
}
.margin_bottom_small {
margin-bottom: 10px;
}
.margin_top_big {
margin-top: 50px;
}
.margin_bottom_big {
margin-bottom: 50px;
}
/*
DATA-FLEX
direction width position main axis cross axis
direction width childrens childrens childrens
position main axis cross axis
[/]-horizontal [/]-parent [/]-center [/]-pack [/]-fit
[/] vertical [/] content [/] left [/]-wrap [/] stretch
@@ -31,32 +64,37 @@
/*
width : -parent- content
*/
[data-flex~="parent"] { width: auto; }
[data-flex~="parent"] {
width: 100%;
width: -moz-available; /* WebKit-based browsers will ignore this. */
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
width: fill-available;
}
[data-flex~="content"] { width: fit-content; }
/*
position : -center- left right top bottom
*/
[data-flex~="left"] ,[data-flex~="vertical"][data-flex~="left"] { align-items: flex-start; text-align: left; }
[data-flex~="right"] ,[data-flex~="vertical"][data-flex~="right"] { align-items: flex-end; text-align: right; }
[data-flex~="top"] ,[data-flex~="vertical"][data-flex~="top"] { justify-content: flex-start; }
[data-flex~="bottom"] ,[data-flex~="vertical"][data-flex~="bottom"] { justify-content: flex-end; }
[data-flex~="center"] ,[data-flex~="vertical"][data-flex~="center"] { align-items: center; text-align: center; }
[data-flex~="horizontal"][data-flex~="left"] { justify-content: flex-start; }
[data-flex~="horizontal"][data-flex~="right"] { justify-content: flex-end; }
[data-flex~="horizontal"][data-flex~="top"] { align-items: flex-start; }
[data-flex~="horizontal"][data-flex~="bottom"] { align-items: flex-end; }
[data-flex~="horizontal"][data-flex~="center"] { }
[data-flex~="vertical"][data-flex~="left"] { align-items: flex-start; }
[data-flex~="vertical"][data-flex~="right"] { align-items: flex-end; }
[data-flex~="vertical"][data-flex~="top"] { justify-content: flex-start; }
[data-flex~="vertical"][data-flex~="bottom"] { justify-content: flex-end; }
[data-flex~="vertical"][data-flex~="center"] { align-items: center; }
/*
main axis : -pack- space spread grow wrap gap
*/
[data-flex~="pack"] > * ,[data-flex~="vertical"][data-flex~="pack"] > * { flex-grow: 0; }
[data-flex~="space"] ,[data-flex~="vertical"][data-flex~="space"] { justify-content: space-around; }
[data-flex~="spread"] ,[data-flex~="vertical"][data-flex~="spread"] { justify-content: space-between; }
[data-flex~="grow"] > * ,[data-flex~="vertical"][data-flex~="grow"] > * { flex-grow: 1; }
[data-flex~="horizontal"][data-flex~="pack"] > * { flex-grow: 0; }
[data-flex~="horizontal"][data-flex~="space"] { justify-content: space-around; }
[data-flex~="horizontal"][data-flex~="spread"] { justify-content: space-between; }
[data-flex~="horizontal"][data-flex~="grow"] > * { flex-grow: 1; }
[data-flex~="vertical"][data-flex~="pack"] > * { flex-grow: 0; }
[data-flex~="vertical"][data-flex~="space"] { justify-content: space-around; }
[data-flex~="vertical"][data-flex~="spread"] { justify-content: space-between; }
[data-flex~="vertical"][data-flex~="grow"] > * { flex-grow: 1; }
[data-flex~="wrap"] { flex-wrap: wrap; }
/*
cross axis : -fit- stretch

39
styles/sections.css Normal file
View File

@@ -0,0 +1,39 @@
section {
display: grid;
margin: 0px;
width: 100vw;
grid-template-columns: auto auto auto;
grid-auto-rows: auto;
grid-gap: 10px;
gap: 10px;
min-height: 100vh;
justify-items: center;
text-align: center;
header {
display: flex;
flex-direction: column;
place-content: center;
h1 {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
}
article {
text-align: left;
}
> * {
grid-column: 2 / span 1;
}
> .grid_full_width {
grid-column: 1 / span 3;
}
.banner {
overflow-x: hidden;
}
}

View File

@@ -1,17 +1,14 @@
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: 40px;
--base_font_size: 62.5%;
}
html {
font-size: var(--base_font_size);
}
body {
overflow-x: hidden;
}
figure {
overflow: hidden;
overflow-x: clip;
margin: auto;
width: fit-content;
background-color: #f6f6f6;
}
script, style {
display: none;
@@ -20,41 +17,15 @@ pre {
margin: 10px 0px;
}
/* https://css-tricks.com/slow-movement/#h-you-can-implement-native-smooth-scrolling-in-css */
/* Animate scrolling only if users dont prefer reduced motion */
@media (prefers-reduced-motion: no-preference) {
html {
scroll-behavior: smooth;
}
/*
grid
*/
#personnal_infos { grid-area: infos; }
#role_title { grid-area: title; }
#cv_infos { grid-area: cv; }
#mouse_1 { grid-area: mouse_1; }
#mouse_2 { grid-area: mouse_2; }
#mouse_3 { grid-area: mouse_3; }
#mouse_4 { grid-area: mouse_4; }
#banner_1 { grid-area: banner_1;}
#banner_2 { grid-area: banner_2;}
#banner_3 { grid-area: banner_3;}
#banner_4 { grid-area: banner_4;}
#banner_5 { grid-area: banner_5;}
body {
/*
*/
margin: 0px;
display: grid;
grid:
' title ' auto
' banner_1 ' auto
' mouse_1 ' auto
' banner_2 ' auto
' cv ' auto
' banner_3 ' auto
' banner_4 ' auto
' mouse_2 ' auto
' mouse_3 ' auto
' banner_5 ' auto
' mouse_4 ' auto
' infos ' auto
/ 1fr ;
/* Add some spacing between the target and the top of the viewport */
:target {
scroll-margin-top: 0px;
}
}

View File

@@ -6,28 +6,36 @@
font-weight: normal;
font-style: normal;
}
/*
*/
body, pre {
font-family: "notomono", monospace;
font-size: 1.5rem;
font-weight: normal;
font-style: normal;
}
/*
*/
@media screen and (min-width: 500px) {
html {
font-size: calc(var(--base_font_size) * 1.2);
}
}
ul {
/*
*/
display: block;
list-style-type: "• ";
padding-left: var(--list-padding);
padding-left: 25px;
/*
list-style-position: inside;
*/
list-style-position: outside;
}
li {
display: list-item;
}
li::marker {
font-size: 1.2rem;
font-size: 1.8rem;
}
a::after {
a:empty::after {
content: attr(href);
}
h1 { margin: 30px 0px; font-size: 2.25rem; }
@@ -36,7 +44,14 @@ 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 {
.pre, pre {
display: flex;
white-space: pre;
line-height: 0.8;
font-size: min(2.2vw, 1.0rem);
font-size: min(2.1vw, 1.0rem);
}
.pre_small {
font-size: min(1.5vw, 0.7rem);
}