Revert "Yet another update, hopefully of better quality"
All checks were successful
continuous-integration/drone/push Build is passing

This reverts commit 8afa44019d.
This commit is contained in:
Lucien Cartier-Tilet 2022-11-30 02:08:40 +01:00
parent 8afa44019d
commit 2a143729c2
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
3 changed files with 51 additions and 75 deletions

View File

@ -15,6 +15,26 @@
{{ template "_internal/opengraph.html" . }} {{ template "_internal/opengraph.html" . }}
<style> <style>
.commento-root .commento-anonymous-checkbox-container input[type="checkbox"] + label,
.commento-root .commento-mod-tools button,
.commento-root-font * {
color: #eceff4 !important;
}
.commento-root .commento-footer .commento-logo-container .commento-logo-text {
color: #34495e !important;
}
.commento-root .commento-dark-card {
background-color: #d08770 !important;
}
.commento-root input[type="text"], .commento-root textarea {
color: #2e3440 !important;
}
.commento-root .commento-mod-tools::before {
color: #b48ead !important;
}
.commento-root .commento-submit-button {
color: #5e81ac !important;
}
p code { p code {
font-family: monospace,monospace; font-family: monospace,monospace;

View File

@ -1,35 +1,35 @@
{{ define "main" }} {{ define "main" }}
<article class="post"> <article class="post">
<header class="post-header"> <header class="post-header">
<h1 class="post-title">{{ .Title }}</h1> <h1 class ="post-title">{{ .Title }}</h1>
<div class="post-meta"> <div class="post-meta">
<div> <div>
{{ partial "icon.html" (dict "ctx" $ "name" "calendar") }} {{ {{ partial "icon.html" (dict "ctx" $ "name" "calendar") }}
.PublishDate.Format "Jan 2, 2006" }} {{ .PublishDate.Format "Jan 2, 2006" }}
</div>
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "clock") }}
{{ .ReadingTime }} min read
</div>
{{- with .Params.tags -}}
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "tag") }}
{{ range . -}}
{{- with $.Site.GetPage (printf "/%s/%s" "tags" . ) -}}
<a class="tag" href="{{ .Permalink }}">{{ .Title }}</a>
{{- end -}}
{{- end -}}
</div>
{{- end -}}
</div> </div>
<div> </header>
{{ partial "icon.html" (dict "ctx" $ "name" "clock") }} {{ .ReadingTime <div class="post-content">
}} min read {{ .Content }}
</div>
{{- with .Params.tags -}}
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "tag") }} {{ range . -}} {{-
with $.Site.GetPage (printf "/%s/%s" "tags" . ) -}}
<a class="tag" href="{{ .Permalink }}">{{ .Title }}</a>
{{- end -}} {{- end -}}
</div>
{{- end -}}
</div> </div>
</header> <div class="post-footer">
<div class="post-content">{{ .Content }}</div> {{ template "_internal/disqus.html" . }}
<div class="post-footer"> </div>
<div id="commento"></div> </article>
</div> <script defer src="https://commento.phundrak.com/js/commento.js"></script>
</article> <div id="commento"></div>
<script
defer
src="https://commento.phundrak.com/js/commento.js"
data-css-override="http://blog.phundrak.com/ox-hugo/commento.css"
data-auto-init="true"
></script>
{{ end }} {{ end }}

View File

@ -1,44 +0,0 @@
:root {
--nord0: #2e3440;
--nord1: #3b4252;
--nord2: #434c5e;
--nord3: #4c566a;
--nord4: #d8dee9;
--nord5: #e5e9f0;
--nord6: #eceff4;
--nord7: #8fbcbb;
--nord8: #88c0d0;
--nord9: #81a1c1;
--nord10: #5e81ac;
--nord11: #bf616a;
--nord12: #d08770;
--nord13: #ebcb8b;
--nord14: #a3be8c;
--nord15: #b48ead;
}
.commento-root
.commento-anonymous-checkbox-container
input[type="checkbox"]
+ label,
.commento-root .commento-mod-tools button,
.commento-root-font * {
color: var(--nord6);
}
.commento-root .commento-footer .commento-logo-container .commento-logo-text {
color: var(--nord1);
}
.commento-root .commento-dark-card {
background-color: var(--nord12);
}
.commento-root input[type="text"],
.commento-root textarea {
color: var(--nord0);
}
.commento-root .commento-mod-tools::before {
color: var(--nord15);
}
.commento-root .commento-submit-button {
background: var(--nord10);
color: var(--nord5);
}