This commit is contained in:
Jan Wolff 2022-11-06 09:14:19 +01:00
parent f6b4208301
commit 4640b2680f
31 changed files with 57 additions and 27 deletions

View file

@ -1,7 +1,7 @@
<header>
<a class="title" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
<span class="subtitle">{{ .Site.Params.subtitle }}</span>
<nav class="nav-container">
<nav class="big-container">
<ul>
{{ $currentPage := . }}
{{ range .Site.Menus.main }}

View file

@ -17,7 +17,7 @@
</div>
</div>
{{end}}
<span>{{.Title}}</span>
<span>{{.Title}} ({{ .Date.Format "2006" }})</span>
</a>
</li>
{{ end }}

View file

@ -33,19 +33,6 @@ header .subtitle {
font-size: 1.1em;
}
.nav-container {
display: block;
background: #ffffffb3;
backdrop-filter: blur(32px);
padding: 1rem;
margin: 2rem;
border-style: solid;
border-width: 1px;
border-color: #b1b1b1;
border-radius: 0.5rem;
box-shadow: rgba(0, 0, 0, 0.5) 0 0.25rem 0.2rem;
}
.big-container {
display: block;
padding: 1rem;
@ -54,7 +41,8 @@ header .subtitle {
.sub-container {
display: block;
background: rgb(251, 255, 252);
color: rgb(186, 212, 186);
background: rgb(60, 65, 61);
padding: 0.75rem;
margin: 1rem;
border-radius: 0.5rem;
@ -63,6 +51,7 @@ header .subtitle {
}
.sub-container:hover {
color: rgb(215, 245, 215);
box-shadow: rgba(0, 0, 0, 0.2) 0 0.5rem 0.5rem;
}