Compare commits

..

No commits in common. "190c0acf7fe1e5d4a93f0acd331553a46d7759ed" and "a1767c52eac2320a4eb5d961815e6615fd457c97" have entirely different histories.

23 changed files with 27 additions and 79 deletions

View file

@ -7,4 +7,5 @@ categories:
tags: tags:
draft: true draft: true
type: "post"
--- ---

View file

@ -7,6 +7,7 @@ categories:
tags: tags:
draft: true draft: true
type: "project"
status: status:
link: link:
--- ---

View file

@ -1,16 +1,3 @@
// general
@import "variables";
@import "style";
// shortcodes
@import "shortcodes/verticalposts";
// partials
@import "partials/sidebar";
@import "partials/footer";
@import "partials/helpers/icons";
#introduction { #introduction {
background: var(--vriish-gradient); background: var(--vriish-gradient);
} }

View file

@ -1,8 +0,0 @@
// general
@import "variables";
@import "style";
// partials
@import "partials/sidebar";
@import "partials/footer";
@import "partials/helpers/icons.scss";

View file

@ -0,0 +1,2 @@
@import "verticalposts";
@import "icons";

View file

@ -1,3 +1,14 @@
// general
@import "variables";
@import "shortcodes";
// site parts
@import "sidebar";
@import "footer";
// pages
@import "home";
* { * {
box-sizing: border-box; box-sizing: border-box;
scrollbar-color: var(--vriish-rose) var(--background); scrollbar-color: var(--vriish-rose) var(--background);
@ -59,7 +70,8 @@ html {
p { p {
hyphens: auto; hyphens: auto;
img { img {
border-radius: 1rem; border: 2px solid var(--border);
border-radius: 4px;
display: block; display: block;
margin: 0 auto; margin: 0 auto;
} }

View file

@ -6,6 +6,7 @@ categories:
tags: tags:
draft: false draft: false
type: "post"
description: "" description: ""
slug: "dunkler-modus-von-firefox" slug: "dunkler-modus-von-firefox"
--- ---

View file

@ -6,6 +6,7 @@ categories:
tags: tags:
draft: false draft: false
type: "post"
description: "" description: ""
slug: "firefox-dark-mode" slug: "firefox-dark-mode"
--- ---

View file

@ -10,6 +10,7 @@ tags:
- natenom - natenom
draft: false draft: false
type: "post"
description: "I did make a new iteration of this graphic for Natenoms Blog." description: "I did make a new iteration of this graphic for Natenoms Blog."
--- ---

View file

@ -6,6 +6,7 @@ categories:
tags: tags:
draft: false draft: false
type: "post"
description: "" description: ""
--- ---

View file

@ -9,6 +9,7 @@ tags:
- code - code
draft: false draft: false
type: "post"
description: "I'm working on my gitea theme and just added a $nojavascript alternative for two icons with pure css. :)" description: "I'm working on my gitea theme and just added a $nojavascript alternative for two icons with pure css. :)"
--- ---

View file

@ -10,6 +10,7 @@ tags:
- webdesign - webdesign
draft: false draft: false
type: "post"
description: "My also new gitea theme appears to be usable, as long as you're not logged in." description: "My also new gitea theme appears to be usable, as long as you're not logged in."
--- ---

View file

@ -8,6 +8,7 @@ tags:
- opensource - opensource
draft: false draft: false
type: "post"
description: "In the past I always preferred to make every bit myself (and disliked generators)." description: "In the past I always preferred to make every bit myself (and disliked generators)."
--- ---

View file

@ -2,7 +2,8 @@
<html lang="{{ .Page.Lang }}"> <html lang="{{ .Page.Lang }}">
<head> <head>
<title>{{ with .Title }} {{ . }} {{ end }}{{ .Site.Title }}</title> <title>{{ with .Title }} {{ . }} {{ end }}{{ .Site.Title }}</title>
{{ block "stylesheet" . }}{{ end }} {{- $style := resources.Get "/style.scss" | resources.ToCSS (dict "outputStyle" "compressed") }}
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
<link href="/gpg.pub" rel="pgpkey authn" /> <link href="/gpg.pub" rel="pgpkey authn" />
<link href="https://social.anoxinon.de/@vri" rel="me" /> <link href="https://social.anoxinon.de/@vri" rel="me" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" />

View file

@ -1,5 +1,5 @@
{{- define "stylesheet" -}} {{- define "stylesheet" -}}
{{- $scss := resources.Get "/scss/style.scss" -}} {{- $scss := resources.Get "/_default/list.scss" -}}
{{- $style := $scss | resources.ToCSS -}} {{- $style := $scss | resources.ToCSS -}}
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" /> <link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
{{- end -}} {{- end -}}

View file

@ -1,17 +0,0 @@
{{- define "stylesheet" -}}
{{- $scss := resources.Get "/scss/blog.scss" -}}
{{- $style := $scss | resources.ToCSS -}}
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
{{- end -}}
{{- define "main" }}
<main>
<h1 class="title">{{ .Title }}</h1>
<p>{{ .Content }}</p>
{{- range .Pages }}
<p> <a href="{{ .Permalink }}">{{ .Title }}</a> <span>{{ .Date.Day }}. {{ if eq .Params.lang "de"}} {{ index $.Site.Data.monate (printf "%d" .Date.Month) }} {{ else }} {{ .Date.Month }} {{ end }} {{ .Date.Year }}</span> </p>
{{- end }}
</main>
{{- end }}

View file

@ -1,32 +0,0 @@
{{- define "stylesheet" -}}
{{- $scss := resources.Get "/scss/blog.scss" -}}
{{- $style := $scss | resources.ToCSS -}}
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
{{- end -}}
{{- define "main" }}
<main>
{{- if eq .Params.type "post" }}
<p class="date-published" title="{{ .Date | time.Format "2. January 2006, 15:04 MST" }}">{{ .Date | time.Format "2. January 2006" }}</p>
{{- end }}
<h1 class="title">{{ .Title }}</h1>
{{ .Content -}}
<aside>
{{- with .Params.topics }}
<ul class="topics">
{{- range . }}
<li>
<a href="{{ "topics" | relURL}}/{{ . | urlize }}">{{ . }}</a>
</li>
{{ end }}
</ul>
{{- end }}
{{- with .Params.tags }}
tags
{{- range . }}
<a href='{{ "tags" | relURL }}/{{ . | urlize }}'>{{ . }}</a>
{{- end }}
{{- end }}
</aside>
</main>
{{- end }}

View file

@ -1,9 +1,3 @@
{{- define "stylesheet" -}}
{{- $scss := resources.Get "/scss/home.scss" -}}
{{- $style := $scss | resources.ToCSS -}}
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
{{- end -}}
{{- define "header" }} {{- define "header" }}
<header id="introduction" class="global-header"> <header id="introduction" class="global-header">
<h1>{{ i18n "introduction-heading" }}</h1> <h1>{{ i18n "introduction-heading" }}</h1>