Update section CSS

This commit is contained in:
TheThomaas 2024-02-05 20:56:57 +01:00
parent e6c8122b04
commit d2621af12d
2 changed files with 31 additions and 4 deletions

View file

@ -2,11 +2,11 @@
title: Compétences
order: 1
showTitle: false
classes: 'competences-section experiences-section'
classes: 'competences-section langues-section'
---
<div style="display: flex;flex-direction: row;gap:20rem;">
<div>
<div>
<div class="col">
<h2>{{title}}</h2>
<ul style="list-style-type: initial">
<li>HTML</li>
@ -18,7 +18,7 @@ classes: 'competences-section experiences-section'
</ul>
</div>
<div>
<div class="col">
<h2>Langues</h2>
<ul style="list-style-type: initial">
<li>HTML</li>

View file

@ -201,6 +201,7 @@ i {
}
.about-section,
.competences-section,
.projects-section,
.experiences-section,
.download-section {
@ -323,4 +324,30 @@ i {
p {
font-size: 1.4rem;
}
}
.competences-section {
margin-left: 4vw;
> div {
display: flex;
flex-direction: column;
justify-content: space-around;
}
.col {
width: 100%;
margin-bottom: 2rem;
}
@media screen and (min-width: 991px) {
> div {
flex-direction: row;
}
.col {
width: 40%;
}
}
}