works now

This commit is contained in:
ebby 2026-10-05 13:17:55 +02:00
parent f44012353d
commit 6e0e4ab636
3 changed files with 27 additions and 16 deletions

View file

@ -40,7 +40,7 @@ import Logo from "./Logo.astro";
header {
position: relative;
width: 100%;
padding: 32px;
padding: 16px 32px;
display: flex;
align-items: center;
justify-content: space-between;
@ -75,7 +75,7 @@ import Logo from "./Logo.astro";
#user-action {
display: none;
}
.menu-icon {
display: block;
position: relative;

View file

@ -23,12 +23,15 @@ const localeDate = formatLocalizedDateString(postData.date);
<div class="info">
<span>{localeDate} | </span>
<span>Autor: {postData.author} | </span>
<span>Lesezeit: {postData.time2read}</span>
<span>Lesezeit: {postData.time2read} min</span>
</div>
<h1 id="title">{postData.title}</h1>
<h3 id="subtitle">{postData.subtitle}</h3>
<span id="introduction">{postData.introduction}</span>
</div>
<div id="hr-knast">
<hr />
</div>
<article class="markdown-content">
<slot />
<NavBack client:visible />
@ -59,6 +62,16 @@ const localeDate = formatLocalizedDateString(postData.date);
padding: 0 20%;
}
#hr-knast {
padding: 16px 64px 0 64px ;
background-color: white;
}
hr {
margin: 0;
height: 1px;
}
#header {
display: flex;
flex-direction: column;
@ -66,11 +79,6 @@ const localeDate = formatLocalizedDateString(postData.date);
padding-bottom: 16px;
}
hr {
margin: 0;
padding: 0;
}
article {
max-width: 900px;
padding: 0 64px;
@ -170,19 +178,20 @@ const localeDate = formatLocalizedDateString(postData.date);
.markdown-content {
font-size: 1.25rem;
line-height: 1.4;
background-color: white;
border-radius: 48px;
}
#hr-knast {
display: none;
}
#background {
background-image: none;
padding: 0;
}
#header {
background-image: linear-gradient(
to bottom,
var(--primary-dark),
var(--primary-color)
);
background-color: transparent;
* {
color: white;
}
@ -190,6 +199,9 @@ const localeDate = formatLocalizedDateString(postData.date);
.info {
order: 1;
font-size: 1rem !important;
padding-top: 16px;
padding-bottom: 16px;
}
#title-img {
@ -206,6 +218,7 @@ const localeDate = formatLocalizedDateString(postData.date);
}
#introduction {
font-size: 1.25rem !important;
order: 5;
}
}

View file

@ -16,8 +16,6 @@ import SingleImage from '../../components/blog/SingleImage.astro'
import DoubleImage from '../../components/blog/DoubleImage.astro'
<br />
---
<br />
## Zurück im warmen