Update header
This commit is contained in:
parent
b1e32b2c9f
commit
aa8a58141d
4 changed files with 17 additions and 6 deletions
|
|
@ -157,12 +157,18 @@ svg {
|
|||
margin: 0.5rem;
|
||||
vertical-align: middle;
|
||||
fill: light-dark(var(--uchu-yin), var(--uchu-yang));
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
path {
|
||||
fill: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
text-decoration: underline;
|
||||
text-decoration-color: var(--uchu-blue);
|
||||
}
|
||||
}
|
||||
|
||||
header {
|
||||
|
|
@ -206,7 +212,7 @@ article {
|
|||
height: auto;
|
||||
margin: 0;
|
||||
|
||||
figcaption > p {
|
||||
figcaption>p {
|
||||
margin: 0.25rem 0 2rem;
|
||||
font-family: var(--sans-serif);
|
||||
text-align: center;
|
||||
|
|
@ -218,7 +224,7 @@ article {
|
|||
height: auto;
|
||||
}
|
||||
|
||||
> p:nth-of-type(2)::first-letter {
|
||||
>p:nth-of-type(2)::first-letter {
|
||||
font-size: 3.3rem;
|
||||
float: left;
|
||||
line-height: 3rem;
|
||||
|
|
@ -302,6 +308,7 @@ footer {
|
|||
width: 0.75rem;
|
||||
vertical-align: middle;
|
||||
margin: 0 1px;
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
path {
|
||||
fill: white;
|
||||
|
|
@ -364,4 +371,4 @@ code {
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@ date = '2024-12-12'
|
|||
title = 'Über mich'
|
||||
+++
|
||||
|
||||
Mein Name ist _Jan Kremer_. Ich bin 29 Jahre alt und bin *Apotheker*. Manchmal schreibe ich über Technik und Software die ich benutze.
|
||||
Mein Name ist _Jan Kremer_. Ich bin 29 Jahre alt und habe *Pharmazie* studiert. Manchmal schreibe ich über Technik und Software die ich benutze.
|
||||
|
||||
Wenn ich nicht gerade lerne, mache ich gerne Sport, vor allem Joggen, Kraftsport und Tanzen.
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ email = "mail@jankremer.eu"
|
|||
[menus]
|
||||
[[menus.main]]
|
||||
name = "Blog"
|
||||
pageRef = "/"
|
||||
pageRef = "/blog"
|
||||
weight = 1
|
||||
[[menus.main]]
|
||||
name = "Fotos"
|
||||
|
|
|
|||
|
|
@ -1,2 +1,6 @@
|
|||
<a href="/" class="title">{{ partial "logo.svg" . }}{{ site.Title }}</a>
|
||||
{{- $attrs := dict "class" "title" }}
|
||||
{{- if .IsHome }}
|
||||
{{- $attrs = merge $attrs (dict "class" "title active" "aria-current" "page") }}
|
||||
{{- end }}
|
||||
<a href="/" {{ range $k, $v :=$attrs }}{{ $k }}="{{ $v }}" {{ end }}>{{ partial "logo.svg" . }}{{ site.Title }}</a>
|
||||
{{ partial "menu.html" (dict "menuID" "main" "page" .) }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue