This commit is contained in:
2026-06-14 00:54:42 +02:00
parent 0db58c6839
commit 110c4307c0
16 changed files with 83 additions and 31 deletions

View File

@@ -5,6 +5,7 @@
{{ partial "head.html" . }}
</head>
<body>
<div class = "all">
<div class = "title">
<header>
{{ partial "header.html" . }}
@@ -18,5 +19,6 @@
{{ partial "footer.html" . }}
</footer>
</div>
</div>
</body>
</html>

View File

@@ -1,4 +1,6 @@
{{define "main"}}
{{ $image := resources.Get "/NSS_middle.png" }}
<img src="{{ $image.RelPermalink }}" width="{{ $image.Width }}" height="{{ $image.Height }}">
{{.Content}}
{{end}}

View File

@@ -14,20 +14,26 @@
font-style: normal;
font-display: swap;
unicode-range: U+0000-00FF;
src: url('/fonts/if.woff2') format('woff2'),
url('/fonts/if.woff') format('woff');
src: url('/fonts/If.woff2') format('woff2'),
url('/fonts/If.woff') format('woff');
}
.all {
margin: auto;
width: 60%
}
.container {
margin: 0, auto;
width: 80%;
width: 90%;
font-family: "x-typewriter";
}
.title {
margin: 0, auto;
width: 80%;
width: 90%;
font-family: "if";
text-align: center;
}
nav, footer {
@@ -46,7 +52,7 @@ nav > a {
text-decoration: none;
color: #fff; }
@media only screen and (min-width: 768px) {
nav { flex-direction: row;
nav { flex-direction: row;}
}
}