font order optimized for windows

This commit is contained in:
Vrifox 2020-10-09 10:00:12 +02:00
parent 0fa103f9d0
commit 15350681af
6 changed files with 36 additions and 58 deletions

BIN
..gitignore.kate-swp Normal file

Binary file not shown.

View file

@ -1,9 +1,16 @@
* { * {
box-sizing: border-box; box-sizing: border-box;
}
html {
scrollbar-color: rgb(255, 130, 130) rgb(60, 60, 90); scrollbar-color: rgb(255, 130, 130) rgb(60, 60, 90);
scrollbar-width: thin; scrollbar-width: thin;
&::-webkit-scrollbar {
background: rgb(60, 60, 90);
width: 6px;
}
&::-webkit-scrollbar-thumb {
background: rgb(255, 130, 130);
}
}
html {
overflow-x: hidden; overflow-x: hidden;
overflow-y: scroll; overflow-y: scroll;
} }
@ -11,7 +18,7 @@ body {
background: rgb(40, 40, 60); background: rgb(40, 40, 60);
color: rgb(245, 245, 255); color: rgb(245, 245, 255);
display: grid; display: grid;
font-family: monospace, 'Lucida Console', 'Monaco'; font-family: 'Lucida Console', monospace;
line-height: 1.8; line-height: 1.8;
margin: 0; margin: 0;
} }

View file

@ -37,12 +37,12 @@ menu:
- identifier: privacy - identifier: privacy
name: privacy name: privacy
title: privacy title: privacy
url: https://vrifox.cc/privacy url: /privacy/
weight: 1 weight: 1
- identifier: feed - identifier: feed
name: feed (rss) name: feed (rss)
title: rss-feed title: rss-feed
url: https://vrifox.cc/blog/index.xml url: /blog/index.xml
weight: 2 weight: 2
- identifier: sourcecode - identifier: sourcecode
name: source code name: source code

View file

@ -1,32 +0,0 @@
---
title: privacy policy
---
#### last updated: 2020-10-05
# Websites
This privacy policy applies to:
- vrifox.cc
- git.vrifox.cc
# What data do I store and process?
- browser type and version
- operating system
- requested url
- downloaded / accessed files
- ip address
- time of request
The data will not be given to third party and deleted after three (3) days.
## Cookies
Cookies will not be set on these websites.
I configured [nginx](https://nginx.org) to drop the header »Set-Cookie«.
---
This privacy policy was inspired by [Natenoms Datenschutz[-erklärung]](https://blog.natenom.com/datenschutz/).

View file

@ -8,8 +8,9 @@
<section class="section-article"> <section class="section-article">
<article> <article>
<p class="meta"> <p class="meta">
{{ if eq .Params.type "project" }}<span title="{{ .Date.Format "2 Jan 2006" }}">latest update: {{ .Date.Format "2. January 2006" }}</span>{{ end }} {{ if eq .Params.type "project" }}<span title="{{ .Date.Format "2. January 2006" }}">last updated: {{ .Date.Format "2. January 2006" }}</span>{{ end }}
{{ if ne .Params.type "project" }}<span title="{{ .Date.Format "2 Jan 2006, 15:04 MST" }}">{{ .Date.Format "2. January 2006" }}</span>{{ end }} {{ if eq .Params.type "post" }}<span title="{{ .Date.Format "2. January 2006, 15:04 MST" }}">{{ .Date.Format "2. January 2006" }}</span>{{ end }}
{{ if eq .Params.type "privacy" }}<span title="{{ .Date.Format "2. January 2006" }}">last updated: {{ .Date.Format "2006-01-02" }}</span>{{ end }}
<span>{{ with .Params.author }}by {{ end }}{{ .Params.author }}</span> <span>{{ with .Params.author }}by {{ end }}{{ .Params.author }}</span>
</p> </p>
<h1 class="title">{{ .Title }}</h1> <h1 class="title">{{ .Title }}</h1>
@ -40,6 +41,7 @@
</aside> </aside>
</article> </article>
</section> </section>
{{ if ne .Params.type "privacy" }}
<section class="section-articles"> <section class="section-articles">
<article class="next-article"> <article class="next-article">
{{ with .NextInSection }} {{ with .NextInSection }}
@ -58,6 +60,7 @@
{{ end }} {{ end }}
</article> </article>
</section> </section>
{{ end }}
</div> </div>
</main> </main>
{{ end }} {{ end }}

View file

@ -15,7 +15,7 @@
<section class="website-mainmenu"> <section class="website-mainmenu">
<ul> <ul>
{{ range .Site.Menus.main }} {{ range .Site.Menus.main }}
{{ if $currentPage.IsMenuCurrent "main" . }} {{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}
<li class="active"> <li class="active">
<a href="{{ .URL }}"> <a href="{{ .URL }}">
<span>{{ .Name }}</span> <span>{{ .Name }}</span>