moved inline styling to css

new blog post
This commit is contained in:
Michael Clemens 2021-07-21 12:28:57 +02:00
parent dd0b775805
commit 876a1d8515
6 changed files with 128 additions and 31 deletions

View File

@ -59,6 +59,10 @@ publishDir = "/var/www/qrz.is"
name = "Datenschutz"
weight = 6
url = "/privacy/"
[[menu.main]]
name = "RSS"
weight = 7
url = "/index.xml"
[[menu.footer]]
name = "Git"
weight = 5
@ -72,11 +76,6 @@ publishDir = "/var/www/qrz.is"
weight = 7
url = "https://qrz.com/DB/DL6MHC"
[[menu.footer]]
name = "Privacy/Datenschutz"
name = "RSS"
weight = 8
url = "/privacy/"
[[menu.footer]]
name = "Imprint/Impressum"
weight = 9
url = "/impressum/"
url = "/index.xml"

View File

@ -0,0 +1,27 @@
---
title: "Solar Powered Amateur Radio Station"
type: post
author: micha
date: 2021-07-20T12:00:00+02:00
url: /solar-powered-shack/
---
I have always been fascinated by the infrastructural independence of ham radio stations. You can use them to communicate with people around the world without being dependent on the infrastructure of large companies - apart from the power supply. In order to free myself from this dependency, i have now decided to test the use of a photovoltaic system. For this I have acquired the following:
* 30W solar panel
* Victron SmartSolar MPPT charge controller
* 22Ah AGM battery
The solar panel is mounted on a flat roof at a 30 degree angle facing south and connected to the MPPT charge controller in the shack via a 2.5mm2 cable. The Power Pole distributon block is now directly connected to the load output of the charge controller and draws its power from the AGM battery.
In order to reduce the power consumption in the shack, I swapped the old shack laptop for an even older android tablet with Termux installed. The tablet is connected to the PV system via a DC/DC converter.
After 2 weeks now, despite the sometimes very bad weather, I can say that the system is fully sufficient for my purposes. The following is a list of consumers:
* Yaesu FT-817 UHF/VHF/HF QRP rig
* ATU-100 automatic tuner
* LED shacksign (I know...)
* 7" Kindle Fire with Lineage OS
* chargers for my HTs
Very happy so far!

View File

@ -8,7 +8,7 @@
<title>{{ .Site.Title }}</title>
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
<link rel="stylesheet" href="{{ "css/style.css?14" | relURL }}">
{{ range .Site.Params.customCSS -}}
<link rel="stylesheet" href="{{ . | relURL }}?rnd={{ now.Unix }}">
{{- end }}

View File

@ -1,8 +1,10 @@
<footer>
<hr style="border-style: solid; size: 1px; border-color: orange" />
<p>&copy; {{ now.Year }} <a style="text-decoration: none" href="{{ .Site.BaseURL }}"><b>{{ if .Site.Copyright }}{{ .Site.Copyright }}{{ else }}{{ .Site.Title }}{{ end }}</b></a>
<hr>
<nav>
<p>&copy; {{ now.Year }} <a href="{{ .Site.BaseURL }}"><b>{{ if .Site.Copyright }}{{ .Site.Copyright }}{{ else }}{{ .Site.Title }}{{ end }}</b></a>
{{- range .Site.Menus.footer }}
- <a style="text-decoration: none" rel="me" href="{{ .URL }}"><b>{{ .Name }}</b></a>
- <a rel="me" href="{{ .URL }}"><b>{{ .Name }}</b></a>
{{- end }}
</p>
</nav>
</footer>

View File

@ -1,6 +1,6 @@
<header>
<div class="ascii-art">
<a href="/" style="text-decoration: none">
<a href="/">
██████╗ ██████╗ ███████╗ ██╗ ██████╗
██╔═══██╗██╔══██╗╚════██║ ██║██╔════╝
██║██╗██║██████╔╝ ███╔═╝ ██║╚█████╗
@ -10,15 +10,13 @@
</a>
</div>
<hr style="border-style: solid; size: 1px; border-color: orange" />
<hr>
<nav>
<a style="text-decoration: none" href="/"><b>Home</b></a>
{{ with .Site.Menus.main }}
{{ range . }}
- <a style="text-decoration: none" href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>
{{ end }}
<a href="/"><b>Home</b></a>
{{ with .Site.Menus.main }}
{{ range . }} - <a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a> {{ end }}
</nav>
{{ end }}
</header>
<hr style="border-style: solid; size: 1px; border-color: orange" />
</p>
</header>
<hr>
</p>

View File

@ -1,16 +1,87 @@
html {overflow-y: scroll;}
:root { --bgcolor: #222; --fontcolor: orange; --linkcolor: orange; --visitedcolor: orange; --precolor: orange; --prebgcolor: #222;}
body{max-width:800px;margin:40px auto;padding:0 10px;font:14px/1.5 monospace;color:var(--fontcolor); background: var(--bgcolor)}a:link{color: var(--linkcolor)}a:visited{color: var(--visitedcolor)}a:active{color: var(--visitedcolor)}h1,h2,h3{line-height:1.2}
p > code{color: var(--precolor); background: var(--prebgcolor); padding:2px;border: 1px solid orange;}
pre{color: var(--precolor); background: var(--prebgcolor); padding:24px; overflow-x: auto; border: 1px solid orange;}
article{padding:24px 0}
.center {display: block;margin-left: auto;margin-right: auto;width: 100%;}
img {display: block; max-width: 100%; height: auto;}
figcaption {color: #888; font: 12px/1.5 monospace; text-align: center;}
figure {margin: auto}
html {
overflow-y: scroll;
}
:root {
--bgcolor: #222;
--fontcolor: orange;
--linkcolor: orange;
--visitedcolor: orange;
--precolor: orange;
--prebgcolor: #222;
}
body{
max-width:800px;
margin:40px auto;
padding:0 10px;
font:14px/1.5 monospace;
color:var(--fontcolor); background: var(--bgcolor)
}
a:link{
color: var(--linkcolor)
}
a:visited{
color: var(--visitedcolor)
}
a:active{
color: var(--visitedcolor)
}
h1,h2,h3{
line-height:1.2;
}
nav a{
text-decoration: none;
}
h1 a,h2 a,h3 a{
text-decoration: underline;
}
h1 a:hover,h2 a:hover,h3 a:hover,nav a:hover{
text-decoration: underline;
}
hr {
border-style: solid; size: 1px; border-color: orange;
}
p > code{
color: var(--precolor); background: var(--prebgcolor);
padding:2px;
border: 1px solid orange;
}
pre{
color: var(--precolor);
background: var(--prebgcolor);
padding:24px;
overflow-x: auto;
border: 1px solid orange;
}
article{
padding:24px 0
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 100%;
}
img {
display: block;
max-width: 100%;
height: auto;
}
figcaption {
color: #888;
font: 12px/1.5 monospace;
text-align: center;
}
figure {
margin: auto
}
.ascii-art {
font-family: monospace;
white-space: pre;
line-height: 1;
}
div.ascii-art a{
text-decoration: none;
}
div.nav a {
text-decoration: none;
}