Cyberpink theme
This commit is contained in:
parent
807ffac8a0
commit
53560c95d3
15 changed files with 955 additions and 0 deletions
42
cyberpink/layouts/partials/chroma.html
Normal file
42
cyberpink/layouts/partials/chroma.html
Normal file
|
@ -0,0 +1,42 @@
|
|||
<!-- Chromatic abaration effect -->
|
||||
<svg width="0" height="0">
|
||||
|
||||
<filter id="chroma">
|
||||
<feColorMatrix type="matrix"
|
||||
result="red_"
|
||||
values="4 0 0 0 0
|
||||
0 0 0 0 0
|
||||
0 0 0 0 0
|
||||
0 0 0 1 0"/>
|
||||
<feOffset in="red_" dx="2" dy="0" result="red"/>
|
||||
<feColorMatrix type="matrix"
|
||||
in="SourceGraphic"
|
||||
result="blue_"
|
||||
values="0 0 0 0 0
|
||||
0 3 0 0 0
|
||||
0 0 10 0 0
|
||||
0 0 0 1 0"/>
|
||||
<feOffset in="blue_" dx="-3" dy="0" result="blue"/>
|
||||
<feBlend mode="screen" in="red" in2="blue"/>
|
||||
</filter>
|
||||
|
||||
<filter id="chromaClick">
|
||||
<feColorMatrix type="matrix"
|
||||
result="red_"
|
||||
values="4 0 0 0 0
|
||||
0 0 0 0 0
|
||||
0 0 0 0 0
|
||||
0 0 0 1 0"/>
|
||||
<feOffset in="red_" dx="4" dy="0" result="red"/>
|
||||
<feColorMatrix type="matrix"
|
||||
in="SourceGraphic"
|
||||
result="blue_"
|
||||
values="0 0 0 0 0
|
||||
0 3 0 0 0
|
||||
0 0 10 0 0
|
||||
0 0 0 1 0"/>
|
||||
<feOffset in="blue_" dx="-5" dy="0" result="blue"/>
|
||||
<feBlend mode="screen" in="red" in2="blue"/>
|
||||
</filter>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 976 B |
3
cyberpink/layouts/partials/footer.html
Normal file
3
cyberpink/layouts/partials/footer.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<footer>
|
||||
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a> | <a href="https://files.antimattercloud.nl/git/hugo/cyberpink.git">Hugo theme</a>
|
||||
</footer>
|
6
cyberpink/layouts/partials/head.html
Normal file
6
cyberpink/layouts/partials/head.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<link rel='stylesheet' type='text/css' href='{{ .Site.BaseURL }}style.css' />
|
||||
<link rel='alternate' type='application/rss+xml' title='{{ .Site.Title }} RSS' href='/index.xml'>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1' />
|
||||
<meta charset='UTF-8' />
|
||||
<meta name='description' content='{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}'>
|
||||
{{ if $.Site.Params.pwa }}<link rel="manifest" href="{{ .Site.BaseURL }}manifest.json" />{{ end }}
|
4
cyberpink/layouts/partials/header.html
Normal file
4
cyberpink/layouts/partials/header.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<header>
|
||||
<h1><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
|
||||
{{- partial "menu.html" . -}}
|
||||
</header>
|
7
cyberpink/layouts/partials/menu.html
Normal file
7
cyberpink/layouts/partials/menu.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<menu type="toolbar">
|
||||
{{range $name, $taxonomy := .Site.Taxonomies.tags}}
|
||||
{{ with $.Site.GetPage (printf "/tags/%s" $name) }}
|
||||
<a href={{ .RelPermalink }} title="All pages with tag <i>{{$name}}</i>">#{{$name}}</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</menu>
|
Loading…
Add table
Add a link
Reference in a new issue