changing gaps, banners and spaces

This commit is contained in:
hugogogo
2026-11-19 15:12:30 +01:00
parent bb8191a4a4
commit f5c75916f6
4 changed files with 44 additions and 43 deletions
+21 -21
View File
@@ -1,14 +1,25 @@
<style>
#cv_section {
/* vertical spacing is done by the grid (like #hero_section),
children have no vertical margins */
grid-auto-rows: auto;
row-gap: 80px;
> * {
margin-top: 0px;
margin-bottom: 0px;
}
header {
height: 300px;
h1 {
margin-bottom: 0px;
}
}
.cv_download {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 30px;
}
.cv {
@@ -18,20 +29,11 @@
text-align: left;
width: auto;
max-width: 1100px;
margin: 100px 0px;
@media (max-width: 900px) {
grid-template-columns: 1fr;
}
> *:last-child {
margin-bottom: 100px;
}
.banner {
margin: 0px 0px 50px;
}
h2 {
display: flex;
align-items: center;
@@ -64,9 +66,11 @@
.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-template-columns: repeat(2, minmax(100px, 400px));
grid-gap: 20px;
figure figcaption {
@@ -92,6 +96,11 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
<section id="cv_section" class="section">
<div
class="banner banner_size_3 banner_speed_30 grid_full_width"
aria-label="banner delimitation in ASCII art"
></div>
<!--
CV TITLE
-->
@@ -623,13 +632,4 @@
<span class="sound sound_2 sound_right">SKOUIK!</span>
</div>
</div>
<!--
BANNER DELIMITATION
-->
<div
class="banner banner_size_2 banner_reverse banner_speed_40 grid_full_width"
aria-label="banner delimitation in ASCII art"
></div>
</section>
+13 -17
View File
@@ -23,6 +23,7 @@
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 0px;
}
.subtitle {
@@ -117,19 +118,6 @@
</p>
</div>
<div class="mouse_container">
<div class="mouse">
<div class="frames mouse_1 pre"></div>
</div>
<div class="skouik">
<button class="button button1"></button>
<span class="sound sound_1 sound_left">SKOUIK!</span>
<button class="button button2"></button>
<span class="sound sound_1 sound_right">SKOUIK!</span>
</div>
</div>
<div id="making">
<!-- prettier-ignore -->
<h1 aria-label="fabrication" id="making_fr" class="title fr">
@@ -171,8 +159,16 @@
</p>
</div>
<div
class="banner banner_size_3 banner_speed_30 grid_full_width"
aria-label="banner delimitation in ASCII art"
></div>
<div class="mouse_container">
<div class="mouse">
<div class="frames mouse_1 pre"></div>
</div>
<div class="skouik">
<button class="button button1"></button>
<span class="sound sound_1 sound_left">SKOUIK!</span>
<button class="button button2"></button>
<span class="sound sound_1 sound_right">SKOUIK!</span>
</div>
</div>
</section>
+5
View File
@@ -48,6 +48,11 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
<section id="infos" class="footer section">
<div
class="banner banner_size_3 banner_speed_20 banner_reverse grid_full_width"
aria-label="banner delimitation in ASCII art"
></div>
<article>
<a href="mailto:lamy.hugo@protonmail.com" class="mail"
>lamy.hugo@protonmail.com</a
+5 -5
View File
@@ -38,6 +38,11 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
<section id="portfolio_section" class="section">
<div
class="banner banner_size_2 banner_reverse banner_speed_40 grid_full_width"
aria-label="banner delimitation in ASCII art"
></div>
<header>
<!-- prettier-ignore -->
<h1 aria-label="projets informatiques" class="fr">
@@ -233,9 +238,4 @@
<span class="sound sound_3 sound_right">SKOUIK!</span>
</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>