adapted to l’embardée

- No more prism
- black text on white background
- more scss var
This commit is contained in:
Adrian 2024-10-13 19:30:54 +02:00
parent fab58b1697
commit d5205fc159
5 changed files with 13 additions and 19 deletions

View File

@ -1,3 +1,3 @@
:root { :root {
--accent: #FF6266; --accent: #c00101;
} }

View File

@ -6,7 +6,7 @@
position: absolute; position: absolute;
background: var(--background); background: var(--background);
box-shadow: var(--shadow); box-shadow: var(--shadow);
color: white; color: var(--color);
border: 2px solid; border: 2px solid;
margin: 0; margin: 0;
padding: 10px; padding: 10px;

View File

@ -1,11 +1,11 @@
:root { :root {
/* COLOR VARIABLES */ /* COLOR VARIABLES */
--background: color-mix(in srgb, var(--accent) 2%, #1D1E28 98%); --background: color-mix(in srgb, var(--accent) 2%, #FFF 98%);
--accent-contrast-color: black; --accent-contrast-color: white;
--color: white; --color: black;
--border-color: rgba(255, 255, 255, .1); --border-color: rgba(0, 0, 0, .1);
/* MEDIA QUERIES */ /* MEDIA QUERIES */
--phone: "max-width: 684px"; --phone: "max-width: 684px";
--tablet: "max-width: 900px"; --tablet: "max-width: 900px";
} }

View File

@ -5,26 +5,20 @@
<span>{{ $.Site.Params.Copyright | safeHTML }}</span> <span>{{ $.Site.Params.Copyright | safeHTML }}</span>
{{ else }} {{ else }}
<div class="copyright"> <div class="copyright">
<span>© {{ now.Year }} Powered by <a href="https://gohugo.io">Hugo</a></span> <span>© {{ now.Year }} Basé sur <a href="https://gohugo.io">Hugo</a></span>
{{ end }} {{ end }}
<span>:: <a href="https://github.com/mirus-ua/hugo-theme-re-terminal" target="_blank">Theme</a> made by <a href="https://github.com/mirus-ua" target="_blank">Mirus</a></span> <span>:: <a href="https://github.com/mirus-ua/hugo-theme-re-terminal" target="_blank">Theme</a> par <a href="https://github.com/mirus-ua" target="_blank">Mirus</a> modifié par <a href="https://jean-cloud.net">Jean-Cloud</a></span>
<span>:: Hébergé par <a href="https://jean-cloud.net">Jean-Cloud</a></div>
</div> </div>
</div> </div>
</footer> </footer>
{{ $menu := resources.Get "js/menu.js" | js.Build }} {{ $menu := resources.Get "js/menu.js" | js.Build }}
{{ $prism := resources.Get "js/prism.js" | js.Build }}
{{ $bundle := slice $menu $prism | resources.Concat "bundle.js" | resources.Minify }} {{ $bundle := slice $menu | resources.Concat "bundle.js" | resources.Minify }}
<script type="text/javascript" src="{{ $bundle.RelPermalink }}"></script> <script type="text/javascript" src="{{ $bundle.RelPermalink }}"></script>
<!-- Banner JS if it enabled -->
{{ if .Site.Params.Banner }}
{{ $banner := resources.Get "js/banner.js" | js.Build | resources.Minify }}
<script type="text/javascript" src="{{ $banner.RelPermalink }}"></script>
{{ end }}
<!-- Extended footer section--> <!-- Extended footer section-->
{{ partial "extended_footer.html" . }} {{ partial "extended_footer.html" . }}

View File

@ -1,5 +1,5 @@
<a href="{{ if $.Site.Params.Logo.LogoHomeLink }}{{ $.Site.Params.Logo.LogoHomeLink }}{{else}}{{ $.Site.BaseURL }}{{ end }}"> <a href="{{ if $.Site.Params.Logo.LogoHomeLink }}{{ $.Site.Params.Logo.LogoHomeLink }}{{else}}{{ $.Site.BaseURL }}{{ end }}">
<div class="logo"> <div class="logo">
{{ with $.Site.Params.Logo.logoText }}{{ . }}{{ else }}re-Terminal{{ end }} {{ with $.Site.Params.Logo.logoText }}{{ . }}{{ else }}<img src="/img/logo1.JPG" alt="Logo"/>{{ end }}
</div> </div>
</a> </a>