Plus besoin de font-awseome

This commit is contained in:
Stanislas Jouffroy 2025-03-24 22:57:33 +01:00
parent 82e06133b3
commit 5786b051b4
6 changed files with 18 additions and 3 deletions

View file

@ -1,3 +1,3 @@
{{- if and .Site.Params.git_doc_repository .File -}} {{- if and .Site.Params.git_doc_repository .File -}}
<a href="{{ .Site.Params.git_doc_repository }}/src/branch/{{ .Site.Params.git_doc_repository_branch | default "main" }}/content/{{ .Site.Params.git_doc_repository_path }}{{ .File.Path }}" class="edit-page"><i class="fas fa-pen-square"></i>&nbsp;Modifier sur la forge jouf</a> <a href="{{ .Site.Params.git_doc_repository }}/src/branch/{{ .Site.Params.git_doc_repository_branch | default "main" }}/content/{{ .Site.Params.git_doc_repository_path }}{{ .File.Path }}" class="edit-page"><img class="edit-page-picto" width="13" height="13 " src="{{"images/pen-square.svg" | absURL}}" alt="edit"/>&nbsp;Modifier sur la forge jouf</a>
{{- end -}} {{- end -}}

View file

@ -17,7 +17,6 @@
<link rel="stylesheet" href="{{"css/theme.min.css" | absURL}}"> <link rel="stylesheet" href="{{"css/theme.min.css" | absURL}}">
<link rel="shortcut icon" href="{{ "favicon.png" | absURL }}"> <link rel="shortcut icon" href="{{ "favicon.png" | absURL }}">
{{ partial "meta/chroma.html" . -}} {{ partial "meta/chroma.html" . -}}
<script defer src="{{ .Site.BaseURL }}/js/fontawesome6/all.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
<script src="{{ "js/bundle.js" | absURL }}"></script> <script src="{{ "js/bundle.js" | absURL }}"></script>
{{- partial "meta/tag-manager.html" . -}} {{- partial "meta/tag-manager.html" . -}}

View file

@ -340,3 +340,10 @@ figure > figcaption h4 {
@keyframes fade-tooltip { @keyframes fade-tooltip {
to { opacity: 0; } to { opacity: 0; }
} }
.edit-page-picto {
filter: invert(46%) sepia(17%) saturate(2064%) hue-rotate(161deg) brightness(90%) contrast(83%);
position: relative;
top: 2px;
vertical-align: center;
}

View file

@ -1109,6 +1109,14 @@ figure > figcaption h4 {
opacity: 0; opacity: 0;
} }
} }
.edit-page-picto {
-webkit-filter: invert(46%) sepia(17%) saturate(2064%) hue-rotate(161deg) brightness(90%) contrast(83%);
filter: invert(46%) sepia(17%) saturate(2064%) hue-rotate(161deg) brightness(90%) contrast(83%);
position: relative;
top: 2px;
vertical-align: center;
}
header { header {
color: var(--custom-font-color, #fff); color: var(--custom-font-color, #fff);
background: var(--custom-background-color, #000); background: var(--custom-background-color, #000);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM325.8 139.7l14.4 14.4c15.6 15.6 15.6 40.9 0 56.6l-21.4 21.4-71-71 21.4-21.4c15.6-15.6 40.9-15.6 56.6 0zM119.9 289L225.1 183.8l71 71L190.9 359.9c-4.1 4.1-9.2 7-14.9 8.4l-60.1 15c-5.5 1.4-11.2-.2-15.2-4.2s-5.6-9.7-4.2-15.2l15-60.1c1.4-5.6 4.3-10.8 8.4-14.9z"/></svg>

After

Width:  |  Height:  |  Size: 601 B