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 { header {
position: relative; position: relative;
width: 100%; width: 100%;
padding: 32px; padding: 16px 32px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;

View file

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

View file

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