Nicked some ideas from terminal theme

This commit is contained in:
Nox Sluijtman 2022-08-11 11:42:39 +02:00
parent 8ce8bcfe45
commit f474eb76e0
6 changed files with 137 additions and 3 deletions

13
archetypes/posts.md Normal file
View file

@ -0,0 +1,13 @@
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
date = "{{ .Date }}"
author = ""
authorTwitter = "" #do not include @
cover = ""
tags = ["", ""]
keywords = ["", ""]
description = ""
showFullContent = false
readingTime = false
hideComments = false
+++

View file

@ -16,5 +16,6 @@
<meta charset="utf-8">
</head>
<body>
<h1 class="logo" id="{{ .Site.Title }}">{{ .Site.Title | title }}</h1>
{{ partial "nav.html" . }}
{{ partial "logo.html" . }}
<!--<h1 class="logo" id="{{ .Site.Title }}">{{ .Site.Title | title }}</h1>-->
{{ partial "menu.html" . }}

View file

@ -0,0 +1,8 @@
<div class="logo">
<img src="/logoOptimised.svg" style="max-height:5em;float:left;"/>
<h1>
<a href="{{ if $.Site.Params.Logo.LogoHomeLink }}{{ $.Site.Params.Logo.LogoHomeLink }}{{else}}{{ $.Site.BaseURL }}{{ end }}">
{{ with $.Site.Params.Logo.logoText }}{{ . }}{{ else }}Void{{ end }}
</a>
</h1>
</div>

View file

@ -0,0 +1,8 @@
<nav class="menu">
<a href="/">Home</a>
{{ range $.Site.Menus.main }}
{{ if not .HasChildren }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
{{ end }}
</nav>

95
static/logoOptimised.svg Normal file
View file

@ -0,0 +1,95 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 128pt 128pt"
version="1.1"
id="svg363"
sodipodi:docname="logoOptimised.svg"
width="500"
height="500"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<title
id="title18">Chaos Wheel</title>
<defs
id="defs28" />
<g
id="g22"
transform="matrix(2.2026076,0,0,2.2026173,117.84692,117.84376)">
<path
d="M 60,0 A 60,60 0 0 0 0,60 60,60 0 0 0 60,120 60,60 0 0 0 120,60 60,60 0 0 0 60,0 Z m 0,9.2377 A 50.762,50.762 0 0 1 110.762,59.9997 50.762,50.762 0 0 1 60,110.7617 50.762,50.762 0 0 1 9.238,59.9997 50.762,50.762 0 0 1 60,9.2377 Z"
id="path2" />
<path
transform="scale(0.26458)"
d="m 207.87,-113.38 -0.002,203.98 20.121,22.4 17.674,-19.682 0.002,-206.7 H 207.87 Z M 28.49,4.49 5.088,27.82 l 116.5,116.86 26.496,1.4199 -1.2285,-22.879 -118.37,-118.73 z m 397.22,0.60742 -116.48,116.13 -1.332,24.863 24.52,-1.3164 116.63,-116.27 -23.33,-23.402 z m -539.1,202.77 v 37.797 h 206.5 l 20.275,-18.213 v -2.8984 l -18.58,-16.686 h -208.19 z m 680.3,0.002 -205.75,0.006 -20.164,18.111 21.92,19.686 204,-0.006 -0.002,-37.797 z m -259.01,98.023 1.457,27.135 115.67,116.02 23.402,-23.332 -118.28,-118.63 -22.254,-1.1934 z m -159.81,0.01 -25.5,1.3691 -118.12,117.76 23.332,23.4 119.01,-118.65 1.2793,-23.885 z m 78.871,34.244 -19.113,21.283 0.004,205.49 h 37.795 l -0.004,-208.28 -16.611,-18.494 h -2.0703 z"
id="path4" />
<path
transform="scale(0.26458)"
d="m -202.22,226.77 76.81,-20.827 56.441,-56.106 -20.368,76.933 20.368,76.933 -56.441,-56.106 z"
id="path6" />
<path
transform="matrix(-0.26458,6.6311e-6,-6.6311e-6,-0.26458,120,120)"
d="m -202.22,226.77 76.81,-20.827 56.441,-56.106 -20.368,76.933 20.368,76.933 -56.441,-56.106 z"
id="path8" />
<path
transform="matrix(-2.9145e-6,0.26458,-0.26458,-2.9145e-6,120,0.0023416)"
d="m -202.22,226.77 76.81,-20.827 56.441,-56.106 -20.368,76.933 20.368,76.933 -56.441,-56.106 z"
id="path10" />
<path
transform="matrix(-3.7181e-6,-0.26458,0.26458,-3.7181e-6,-0.0032404,120)"
d="m -202.22,226.77 76.81,-20.827 56.441,-56.106 -20.368,76.933 20.368,76.933 -56.441,-56.106 z"
id="path12" />
<path
transform="matrix(0.16332,0.16382,-0.16382,0.16332,60.112,-14.187)"
d="m -202.22,226.77 76.81,-20.827 56.441,-56.106 -20.368,76.933 20.368,76.933 -56.441,-56.106 z"
id="path14" />
<path
transform="matrix(-0.16333,-0.16382,0.16382,-0.16333,59.885,134.19)"
d="m -202.22,226.77 76.81,-20.827 56.441,-56.106 -20.368,76.933 20.368,76.933 -56.441,-56.106 z"
id="path16" />
<path
transform="matrix(-0.16382,0.16332,-0.16332,-0.16382,134.19,60.115)"
d="m -202.22,226.77 76.81,-20.827 56.441,-56.106 -20.368,76.933 20.368,76.933 -56.441,-56.106 z"
id="path18" />
<path
transform="matrix(0.16382,-0.16333,0.16333,0.16382,-14.19,59.886)"
d="m -202.22,226.77 76.81,-20.827 56.441,-56.106 -20.368,76.933 20.368,76.933 -56.441,-56.106 z"
id="path20" />
</g>
<metadata
id="metadata16">
<rdf:RDF>
<cc:Work
rdf:about="">
<cc:license
rdf:resource="http://artlibre.org/licence/lal" />
<dc:title>Chaos Wheel</dc:title>
<dc:creator>
<cc:Agent>
<dc:title>The Voidcruiser</dc:title>
</cc:Agent>
</dc:creator>
</cc:Work>
<cc:License
rdf:about="http://artlibre.org/licence/lal">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
</cc:License>
</rdf:RDF>
</metadata>
</svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

View file

@ -16,7 +16,12 @@ a:hover::selection{ color: #f0c674; }
audio{ width: 100%; display: block; margin-top: 1em; }
main{ margin-left: 12em; margin-right: 1em; padding: 1em; border:1pt solid; margin-bottom: 1em;}
main h1{border-bottom: 1pt solid;}
article{padding:1em; border:#282a2e 1pt solid;}
/*
article{
padding:1em;
background: linear-gradient(to right,#1d1f21,#282a2e);
}
*/
nav{height: 100%;padding: 0.5em; float:left; background: #282a2e; border-right:solid 1pt; border-bottom: solid 1pt; width: 10em;}
nav li{list-style: none; list-style-position:outside;}
nav a{ display: block;}
@ -35,6 +40,10 @@ pre{ background: #282a2e; padding: 1em; border-radius: 1em;}
background-color: #282a2e;
background: linear-gradient(to right,#b294bb,#282a2e);
}
.logo a{
color: #eaeaea;
text-decoration: inherit;
}
.about ul{list-style:none;}
.about img{height:10em; float:left;}
header{text-transform: capitalize; text-align:center;border-bottom:2pt solid; font-weight:bold;}