Update skills section
This commit is contained in:
parent
2851ada65c
commit
00b0f4b79a
|
|
@ -9,10 +9,13 @@
|
|||
"skills": [
|
||||
"HTML",
|
||||
"CSS",
|
||||
"Bootstrap",
|
||||
"Javascript",
|
||||
"Accessibilité",
|
||||
"Bootstrap",
|
||||
"Figma",
|
||||
"jQuery",
|
||||
"Figma"
|
||||
"SCSS",
|
||||
"Git"
|
||||
],
|
||||
"lang": [
|
||||
"Français (langue maternelle)",
|
||||
|
|
|
|||
|
|
@ -1,12 +1,23 @@
|
|||
.competences-section .col {
|
||||
width: 100%;
|
||||
margin-bottom: 2rem;
|
||||
.skills-gallery {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
|
||||
}
|
||||
@media screen and (min-width: 991px) {
|
||||
.competences-section > div {
|
||||
flex-direction: row;
|
||||
.skill {
|
||||
font-size: 2rem;
|
||||
font-size: clamp(2rem, 1.2967rem + 2.1978vw, 3rem);
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.skill {
|
||||
text-align: left;
|
||||
}
|
||||
.competences-section .col {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 991px) {
|
||||
.skills-gallery {
|
||||
row-gap: 3.5rem;
|
||||
}
|
||||
}
|
||||
|
|
@ -2,15 +2,12 @@
|
|||
title: Compétences
|
||||
displayedTitle: Mes compétences
|
||||
order: 1
|
||||
classes: 'competences-section langues-section'
|
||||
showTitle: false
|
||||
---
|
||||
|
||||
<div class="flex justify-center">
|
||||
<div class="col">
|
||||
{% render "partials/components/list", title: "Compétences techniques", content: author.skills %}
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
{% render "partials/components/list", title: "Langues", content: author.lang %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul class="skills-gallery">
|
||||
{% for skill in author.skills %}
|
||||
<li class="skill">{{skill}}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Loading…
Reference in a new issue