Skip to content

Commit

Permalink
Quelques ajustements de tailles
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneCharignon committed Mar 18, 2024
1 parent 7299095 commit 6466cd2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
10 changes: 6 additions & 4 deletions assets/sass/cartes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

@media (max-width: 1000px) {
.carte {
max-width: 600px;
max-width: $petite-largeur;
.illustration {
.image {
border-radius: 1rem 1rem 0 0;
Expand Down Expand Up @@ -193,16 +193,18 @@
.categorie {
text-transform: uppercase;
font-weight: bold;
margin: 0;
}
h3 {
.titre {
font-size: 1rem;
margin: 0;
padding: 0;
font-size: 1.3rem;
}
}
}
.description {
margin-top: 1rem;
font-size: 0.85rem;
font-size: 1rem;
text-align: justify;

p {
Expand Down
10 changes: 8 additions & 2 deletions assets/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$jaune: #FCBE00;
$bleu: #243887;
$largeur: 1000px;
$largeur: 800px;
$petite-largeur: 600px;


Expand All @@ -20,7 +20,13 @@ section {
display: flex;
flex-direction: column;
align-items: center;
padding: 1rem 3rem;
padding: 1rem 0.5rem;
}

@media (min-width: 1000px) {
section {
padding: 1rem 3rem;
}
}

.bg-bleu {
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/resultat.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
{{ end }}
</div>
<div class="texte">
<div class="categorie">{{ .categorie}}</div>
<h3>{{ .titre }}</h3>
<h3 class="categorie">{{ .categorie}}</h3>
<div class="titre">{{ .titre }}</div>
</div>
</div>
<div class="description">
Expand Down

0 comments on commit 6466cd2

Please sign in to comment.