feat: Modification des titres
This commit is contained in:
parent
687d62711b
commit
33898d354f
|
@ -25,10 +25,10 @@ h1, h2, h3, h4, h5
|
||||||
font-weight: 600
|
font-weight: 600
|
||||||
text-transform: uppercase
|
text-transform: uppercase
|
||||||
|
|
||||||
h1
|
h1, .h1
|
||||||
text-align: center
|
text-align: center
|
||||||
text-transform: uppercase
|
text-transform: uppercase
|
||||||
color: var(--color-green)
|
color: var(--color-title)
|
||||||
margin: 0 1rem 1rem
|
margin: 0 1rem 1rem
|
||||||
padding: 1rem
|
padding: 1rem
|
||||||
font-size: 2.5rem
|
font-size: 2.5rem
|
||||||
|
|
|
@ -55,14 +55,8 @@ $size-news: 100px
|
||||||
display: block
|
display: block
|
||||||
h2
|
h2
|
||||||
margin: .6rem 0
|
margin: .6rem 0
|
||||||
white-space: nowrap
|
|
||||||
overflow: hidden
|
|
||||||
text-overflow: ellipsis
|
|
||||||
h3
|
h3
|
||||||
margin: .3rem 0
|
margin: .3rem 0
|
||||||
white-space: nowrap
|
|
||||||
overflow: hidden
|
|
||||||
text-overflow: ellipsis
|
|
||||||
|
|
||||||
.text
|
.text
|
||||||
font-size: .9rem
|
font-size: .9rem
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<div class="actus">
|
<div class="actus">
|
||||||
{{ $actualites := sort (.Site.GetPage "/actualites/").Pages "Date" "desc" }}
|
{{ $actualites := sort (.Site.GetPage "/actualites/").Pages "Date" "desc" }}
|
||||||
<div class="news viemunicipale">
|
<div class="news viemunicipale">
|
||||||
<h1>Le fil <strong>des actualités</strong></h1>
|
<h1>Le fil des <strong>actualités</strong></h1>
|
||||||
{{ $lastnews := first 4 (where $actualites "Params.event" false) }}
|
{{ $lastnews := first 4 (where $actualites "Params.event" false) }}
|
||||||
{{ $first := index (first 1 $lastnews) 0 }}
|
{{ $first := index (first 1 $lastnews) 0 }}
|
||||||
{{ $others := after 1 $lastnews }}
|
{{ $others := after 1 $lastnews }}
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="news associations">
|
<div class="news associations">
|
||||||
<h1>Les <strong>Évènements</strong> des associations</h1>
|
<h2 class="h1">Le fil des <strong>Évènements</strong></h2>
|
||||||
{{ $lastnews := first 4 (where $actualites "Params.event" true) }}
|
{{ $lastnews := first 4 (where $actualites "Params.event" true) }}
|
||||||
{{ $first := index (first 1 $lastnews) 0 }}
|
{{ $first := index (first 1 $lastnews) 0 }}
|
||||||
{{ $others := after 1 $lastnews }}
|
{{ $others := after 1 $lastnews }}
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
{{ partial "article-preview.html" . }}
|
{{ partial "article-preview.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<p>
|
<p>
|
||||||
<a href="/actualites/">Voir toutes les actualités</a>
|
<a href="/actualites/">Voir tous les évènements</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue