Compare commits

...

5 Commits

Author SHA1 Message Date
47b979cab4 tinker with layout 2025-06-05 03:49:41 +02:00
d973024c70 alter shell 2025-06-05 03:28:40 +02:00
71b821bd83 remove strange gitignore 2025-06-05 03:28:23 +02:00
fb075bcd3d adjust gitignore 2025-06-05 03:26:57 +02:00
1148310eea remove vim swap file 2025-06-05 03:26:37 +02:00
7 changed files with 34 additions and 30 deletions

27
.gitignore vendored
View File

@ -1,22 +1,7 @@
dist/
dist-newstyle/
cabal-dev
*.o
*.hi
*.chi
*.chs.h
*.dyn_o
*.dyn_hi
.hpc
.hsenv
.cabal-sandbox/
cabal.sandbox.config
*.prof
*.aux
*.hp
.stack-work/
_cache/
_site/
drafts/
.envrc
public/
resources/
deploy
.hugo_build.lock
.direnv/
.envrc
*.swp

4
content/.gitignore vendored
View File

@ -1,4 +0,0 @@
public/
resources/
deploy
.hugo_build.lock

View File

@ -1,4 +1,5 @@
+++
title = 'ChaosZone'
date = 2025-06-01T22:39:26+02:00
draft = true
+++

View File

@ -5,6 +5,5 @@
pkgs.mkShell {
packages = with pkgs; [
hugo
vim
];
}

View File

@ -1,5 +1,7 @@
{{ partial "header.html" . }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ partial "footer.html" . }}

View File

@ -18,12 +18,27 @@ html {
background-color: var(--bg-color);
color: var(--font-color);
font-family: var(--main-font);
min-height: 100vh;
font-size: 20pt;
}
body {
margin: 3em;
padding: 3em 3em 0;
min-height: 100vh;
box-sizing: border-box;
display: grid;
grid-template-areas:
"navigation . main"
"footer footer footer";
grid-template-columns: 225px 25px auto;
grid-template-rows: auto 50px;
margin: 0;
}
header {
grid-area: navigation;
justify-self: stretch;
padding-right: 25px;
border-right: 5px solid var(--hl-color);
}
nav a, nav a:visited {
@ -43,16 +58,22 @@ nav li {
.logo {
display: inline-block;
padding: 0.5em;
border-radius: 23px;
border-radius: 50%;
background-color: var(--hl-color);
}
.logo img {
max-width: 8em;
max-width: 5em;
}
main {
grid-area: main;
justify-self: stretch;
padding: 2em;
border-radius: 23px;
background-color: var(--box-bg);
}
footer {
grid-area: footer;
}