Skip to content

Commit

Permalink
Ajoute les icones sur la page comment réagir
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneCharignon committed Mar 15, 2024
1 parent aab4e80 commit d0db7f5
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
37 changes: 37 additions & 0 deletions assets/sass/comment_reagir.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.comment-reagir {
max-width: $petite-largeur;
margin: 0 auto;
position: relative;

h1 {
font-family: Terminal-grotesque;
Expand Down Expand Up @@ -30,4 +31,40 @@
}
}
}
li:last-child {
border: none;
}
.ordinateur {
svg {
width: 5rem;
height: 5rem;
path {
fill: $bleu;
}
}
}
@media (min-width: 690px) {
.ordinateur {
position: absolute;
left: 5rem;
transform: rotate(-15deg);
}
}
.bulles {
display: flex;
width: 100%;
justify-content: flex-end;
margin-top: -5rem;
svg {
width: 10rem;
height: 10rem;
transform: rotate(15deg);
path {
fill: $jaune;
}
path:first-child {
fill: $bleu;
}
}
}
}
2 changes: 2 additions & 0 deletions layouts/page/comment_reagir.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{ define "main" }}
<section class="{{ .Params.Class }}">
<span class="ordinateur">{{ partial "ordinateur.svg" }}</span>
{{ .Content }}
<ul class="situations">
{{ range .Params.Situations }}
Expand All @@ -10,5 +11,6 @@
</li>
{{ end }}
</ul>
<span class="bulles">{{ partial "bulles.svg" }}</span>
</section>
{{ end }}
4 changes: 4 additions & 0 deletions layouts/partials/bulles.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions layouts/partials/ordinateur.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d0db7f5

Please sign in to comment.