Logo entfernt + Links design angepasst
All checks were successful
release-tag / release-image (push) Successful in 1m56s
All checks were successful
release-tag / release-image (push) Successful in 1m56s
This commit is contained in:
@@ -65,6 +65,10 @@ a {
|
|||||||
}
|
}
|
||||||
a:hover { color: var(--accent-light); }
|
a:hover { color: var(--accent-light); }
|
||||||
|
|
||||||
|
a.no-underline {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* Container in der Mitte */
|
/* Container in der Mitte */
|
||||||
.wrapper {
|
.wrapper {
|
||||||
max-width: 1200px;
|
max-width: 1200px;
|
||||||
@@ -72,12 +76,6 @@ a:hover { color: var(--accent-light); }
|
|||||||
padding: var(--gap) calc(var(--gap) / 1.5);
|
padding: var(--gap) calc(var(--gap) / 1.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
|
||||||
max-height: 60px; /* hier die maximale Höhe anpassen */
|
|
||||||
height: auto;
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- Kopf & Fuß ---------- */
|
/* ---------- Kopf & Fuß ---------- */
|
||||||
header, footer {
|
header, footer {
|
||||||
background: var(--bg-alt);
|
background: var(--bg-alt);
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
{{ if .Cover }}
|
{{ if .Cover }}
|
||||||
<img class="hero" src="{{ .Cover }}" alt="">
|
<img class="hero" src="{{ .Cover }}" alt="">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<p><a href="/">← Zurück zur Übersicht</a></p>
|
<p><a class="no-underline" href="/">← Zurück zur Übersicht</a></p>
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "02.01.2006" }}</time>
|
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "02.01.2006" }}</time>
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
{{ .Body }}
|
{{ .Body }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p><a href="/">← Zurück zur Übersicht</a></p>
|
<p><a class="no-underline" href="/">← Zurück zur Übersicht</a></p>
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
@@ -13,12 +13,12 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<h1><a href="/"><img class="logo" src="/static/img/logo.webp" alt="B1tsblog - Logo"></a></h1>
|
<h1><a href="/" class="no-underline">B1tsblog</a></h1>
|
||||||
<nav class="main-nav">
|
<nav class="main-nav">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/">Startseite</a></li>
|
<li><a class="no-underline" href="/">Startseite</a></li>
|
||||||
<li><a href="/page/welcome">Hallo! und Datenschutz</a></li>
|
<li><a class="no-underline" href="/page/welcome">Hallo! und Datenschutz</a></li>
|
||||||
<li><a href="/page/impressum">Impressum</a></li>
|
<li><a class="no-underline" href="/page/impressum">Impressum</a></li>
|
||||||
<!-- später: <li><a href="/page/datenschutz">Datenschutz</a></li> -->
|
<!-- später: <li><a href="/page/datenschutz">Datenschutz</a></li> -->
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
<ul class="post-list">
|
<ul class="post-list">
|
||||||
{{ range .Articles }}
|
{{ range .Articles }}
|
||||||
<li>
|
<li>
|
||||||
<a class="card" href="/post/{{ .Slug }}">
|
<a class="card no-underline" href="/post/{{ .Slug }}">
|
||||||
{{ if .Cover }}
|
{{ if .Cover }}
|
||||||
<img src="{{ .Cover }}" alt="">
|
<img src="{{ .Cover }}" alt="">
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
{{ define "body" }}
|
{{ define "body" }}
|
||||||
<article>
|
<article>
|
||||||
<p><a href="/">← Zurück zur Übersicht</a></p>
|
<p><a class="no-underline" href="/">← Zurück zur Übersicht</a></p>
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
<div class="article-content">{{ .Body }}</div>
|
<div class="article-content">{{ .Body }}</div>
|
||||||
<p><a href="/">← Zurück</a></p>
|
<p><a class="no-underline" href="/">← Zurück</a></p>
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user