Suppression de traces de font awesome

This commit is contained in:
Stanislas Jouffroy 2025-03-24 23:14:55 +01:00
parent 21b84c9e9e
commit 2cb884888b
7 changed files with 3 additions and 80 deletions

View file

@ -1,44 +0,0 @@
{{- $currentNode := . -}}
<nav class="pagination">
{{- template "pagination" dict "menu" .Site.Home "currentnode" $currentNode "menu_exclusion" .Site.Params.menu_exclusion -}}
{{- with ($.Scratch.Get "prevPage") -}}
<a class="nav nav-prev" href="{{ .Permalink }}" title="{{ .Title }}"><i class="fas fa-arrow-left" aria-hidden="true"></i>&nbsp;Précédent - {{ .Title }}</a>
{{ end -}}
{{- with ($.Scratch.Get "nextPage") -}}
<a class="nav nav-next" href="{{ .Permalink }}" title="{{ .Title }}">Suivant - {{ .Title }} <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
{{- end }}
</nav>
{{- define "pagination" -}}
{{- $currentNode := .currentnode -}}
{{- $menu_exclusion := .menu_exclusion -}}
{{- if hasPrefix $currentNode.Permalink .menu.Permalink -}}
{{- $currentNode.Scratch.Set "NextPageOK" "OK" -}}
{{- if .menu.IsHome -}}
{{- $currentNode.Scratch.Set "prevPage" "" -}}
{{- else -}}
{{- $currentNode.Scratch.Set "prevPage" ($currentNode.Scratch.Get "prevPageTmp") -}}
{{- end -}}
{{- else -}}
{{- if eq ($currentNode.Scratch.Get "NextPageOK") "OK" -}}
{{- $currentNode.Scratch.Set "NextPageOK" nil -}}
{{ if in $menu_exclusion .menu.Section }}
{{- else -}}
{{- $currentNode.Scratch.Set "nextPage" .menu -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- $currentNode.Scratch.Set "prevPageTmp" .menu -}}
{{- $currentNode.Scratch.Set "pages" .menu.Pages -}}
{{- if .menu.IsHome -}}
{{- $currentNode.Scratch.Set "pages" .menu.Sections -}}
{{- else if .menu.Sections -}}
{{- $currentNode.Scratch.Set "pages" (.menu.Pages | union .menu.Sections) -}}
{{- end -}}
{{- $pages := ($currentNode.Scratch.Get "pages") -}}
{{- range $pages.ByWeight -}}
{{- template "pagination" dict "menu" . "currentnode" $currentNode "menu_exclusion" $menu_exclusion -}}
{{- end -}}
{{- end -}}

View file

@ -200,10 +200,6 @@ figure > figcaption {
background: variable.$sidebar-active-color;
}
.fa-layers .fa-circle {
color: #fff;
}
figure > figcaption h4 {
font-size: 80%;
font-weight: normal;
@ -243,11 +239,6 @@ figure > figcaption h4 {
}
.headerlink > .svg-inline--fa {
margin-left: .4rem;
width: .8rem;
}
.ais-SearchBox {
.ais-SearchBox-input {
width: 70%;

View file

@ -67,10 +67,6 @@ header {
}
}
.fa-angle-right {
margin-left: .4rem;
font-size: 80%;
}
li.parent:hover > ul.sub-menu {
@include flexbox-grid-mixins.grid($flex-flow: column nowrap);
}
@ -86,10 +82,6 @@ header {
}
}
.fa-angle-right {
display: none;
}
ul.sub-menu {
display: block;
position: static;

View file

@ -949,10 +949,6 @@ main:only-child {
background: #eee;
}
.fa-layers .fa-circle {
color: #fff;
}
figure > figcaption h4 {
font-size: 80%;
font-weight: normal;
@ -989,11 +985,6 @@ figure > figcaption h4 {
margin-left: 10rem;
}
.headerlink > .svg-inline--fa {
margin-left: 0.4rem;
width: 0.8rem;
}
.ais-SearchBox .ais-SearchBox-input {
width: 70%;
}
@ -1168,10 +1159,6 @@ header .github {
.global-menu ul.sub-menu li a {
color: var(--custom-font-color, #fff);
}
.global-menu .fa-angle-right {
margin-left: 0.4rem;
font-size: 80%;
}
.global-menu li.parent:hover > ul.sub-menu {
-webkit-box-sizing: border-box;
box-sizing: border-box;
@ -1192,9 +1179,6 @@ header .github {
.global-menu li:last-child {
border-bottom: none;
}
.global-menu .fa-angle-right {
display: none;
}
.global-menu ul.sub-menu {
display: block;
position: static;

File diff suppressed because one or more lines are too long

@ -1 +1 @@
Subproject commit d4d62577b9df9014d79d44bff2c9a4fa89088dc4
Subproject commit abb02d4cc1c3ed2d1fdc2477fd5e16d838bc9bad

@ -1 +1 @@
Subproject commit 50d2f96b2dbc8199529d1255183f2cee0ad8452e
Subproject commit e1b378209b52edb48e4a67ff1f9e52a3fba8b357