Compare commits

...

5 Commits

Author SHA1 Message Date
Xavier Del Campo Romero 4f0187e50f Customise favicons 2023-01-03 04:20:55 +01:00
Xavier Del Campo Romero 3a3d1322b9 Add reference to fork repo 2023-01-03 04:20:33 +01:00
Xavier Del Campo Romero 9a389175d7 style.scss: Do not include syntax.scss or animate.scss
These files are no longer used, so we can now reduce website size a
bit.
2023-01-03 04:18:59 +01:00
Xavier Del Campo Romero 9e57dd43f0 Perform minor aesthetic CSS changes 2023-01-03 04:18:24 +01:00
Xavier Del Campo Romero 6f835ad096 baseof.html: Do not minify CSS 2023-01-03 04:17:06 +01:00
11 changed files with 12 additions and 13 deletions

View File

@ -2,7 +2,7 @@
//
$theme: #018574;
$text: #e8eef2;
$light-grey: #494f5c;
$light-grey: #181a1b;
$dark-grey: #3B3E48;
$highlight-grey: #7d828a;
$midnightblue: #2c3e50;

View File

@ -1,7 +1,8 @@
@import "predefined.scss";
@import "normalize.scss";
@import "syntax.scss";
@import "animate.scss";
/*! style.css | MIT License | https://github.com/Track3/hermit.git
Modifications by xavi92 | https://gitea.privatedns.org/xavi92/hermit */
/* Webkit Scrollbar Customize */
::-webkit-scrollbar {
@ -228,7 +229,6 @@ table {
bottom: 0;
width: 100%;
box-sizing: border-box;
box-shadow: -1px -2px 3px rgba(0, 0, 0, 0.45);
background-color: $dark-grey;
animation-duration: .3s;
}
@ -237,13 +237,13 @@ table {
display: flex;
justify-content: space-between;
align-items: center;
padding: .5em 0;
padding: .1em 0;
font-size: 1.2rem;
.site-branding {
display: inline-block;
margin-right: .8em;
font-size: 1.2em;
font-size: 0.8em;
}
.site-nav {
@ -266,8 +266,8 @@ table {
}
}
.hdr-icons {
font-size: 1.2em;
#menu-btn {
font-size: 1.5em;
}
.hdr-social {
@ -299,13 +299,12 @@ table {
#mobile-menu {
position: fixed;
bottom: 4.8em;
bottom: 3.5em;
right: 1.5em;
display: none;
padding: .6em 1.8em;
z-index: 1;
box-sizing: border-box;
box-shadow: -1px -2px 3px 0px rgba(0, 0, 0, 0.45);
background-color: $dark-grey;
ul {

View File

@ -15,8 +15,8 @@
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Title | safeHTML }}
{{ end -}}
{{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "css/style.css" . | toCSS | minify | fingerprint -}}
<link rel="stylesheet" href="{{ $style.Permalink }}" {{ printf "integrity=%q" $style.Data.Integrity | safeHTMLAttr }} crossorigin="anonymous">
{{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "css/style.css" . | toCSS -}}
<link rel="stylesheet" href="{{ $style.Permalink }}" crossorigin="anonymous">
{{- block "head" . -}}{{- end }}
{{- range .Site.Params.customCSS }}
<link rel="stylesheet" href="{{ . | absURL }}">

View File

@ -1,7 +1,7 @@
<footer id="site-footer" class="section-inner thin animated fadeIn faster">
<p>&copy; {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>{{ .Site.Params.footerCopyright | safeHTML }}</p>
<p>
Made with <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a> &#183; Theme <a href="https://github.com/Track3/hermit" target="_blank" rel="noopener">Hermit</a>
Made with <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a> &#183; Theme: <a href="https://gitea.privatedns.org/xavi92/hermit" target="_blank" rel="noopener">customised Hermit</a>
{{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }} &#183; <a href="{{ "/index.xml" | absLangURL }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a>{{ end }}
</p>
</footer>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 401 B

After

Width:  |  Height:  |  Size: 633 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 526 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB