Compare commits
2 commits
af6decdc5f
...
5abed41dd6
| Author | SHA1 | Date | |
|---|---|---|---|
| 5abed41dd6 | |||
| cb7a6fa891 |
4 changed files with 18 additions and 21 deletions
|
|
@ -17,12 +17,6 @@ const { posts } = Astro.props;
|
|||
display: grid;
|
||||
gap: 64px;
|
||||
width: 100%;
|
||||
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
|
||||
}
|
||||
|
||||
@media only screen ans (max-width: 800px) {
|
||||
.post-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ const localeDate = formatLocalizedDateString(postData.date);
|
|||
}
|
||||
|
||||
#hr-knast {
|
||||
padding: 16px 64px 0 64px ;
|
||||
padding: 16px 64px 0 64px;
|
||||
background-color: white;
|
||||
max-width: 900px;
|
||||
width: 100%;
|
||||
|
|
@ -108,16 +108,6 @@ const localeDate = formatLocalizedDateString(postData.date);
|
|||
line-height: 1.6;
|
||||
}
|
||||
|
||||
#header #title {
|
||||
font-size: 2.5rem;
|
||||
padding: 0 64px;
|
||||
}
|
||||
|
||||
#header #subtitle {
|
||||
font-size: 1.8rem;
|
||||
padding: 0 64px;
|
||||
}
|
||||
|
||||
.info {
|
||||
padding: 32px 64px 0 64px;
|
||||
font-size: medium;
|
||||
|
|
@ -127,12 +117,16 @@ const localeDate = formatLocalizedDateString(postData.date);
|
|||
#title {
|
||||
margin-bottom: 0;
|
||||
order: 3;
|
||||
font-size: 2.5rem;
|
||||
padding: 0 64px;
|
||||
}
|
||||
|
||||
#subtitle {
|
||||
margin-top: 0;
|
||||
font-weight: lighter;
|
||||
order: 4;
|
||||
font-size: 1.8rem;
|
||||
padding: 0 64px;
|
||||
}
|
||||
|
||||
#introduction {
|
||||
|
|
@ -206,8 +200,9 @@ const localeDate = formatLocalizedDateString(postData.date);
|
|||
.info {
|
||||
order: 1;
|
||||
font-size: 1rem !important;
|
||||
padding-top: 16px;
|
||||
padding-top: 16px !important;
|
||||
padding-bottom: 16px;
|
||||
padding: 0 24px;
|
||||
}
|
||||
|
||||
#title-img {
|
||||
|
|
@ -217,15 +212,22 @@ const localeDate = formatLocalizedDateString(postData.date);
|
|||
#title {
|
||||
margin: 0;
|
||||
order: 2;
|
||||
padding: 0 24px;
|
||||
}
|
||||
|
||||
#subtitle {
|
||||
order: 3;
|
||||
padding: 0 24px;
|
||||
}
|
||||
|
||||
#introduction {
|
||||
font-size: 1.25rem !important;
|
||||
order: 5;
|
||||
padding: 32px 24px 0 24px;
|
||||
}
|
||||
|
||||
article {
|
||||
padding: 0 24px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
export function formatLocalizedDateString(date: Date): string {
|
||||
return date.toLocaleDateString('de-DE')
|
||||
var options: Intl.DateTimeFormatOptions = { weekday: undefined, year: '2-digit', month: '2-digit', day: '2-digit' };
|
||||
return date.toLocaleDateString('de-DE', options)
|
||||
}
|
||||
|
|
@ -30,7 +30,7 @@ body {
|
|||
flex-direction: column;
|
||||
flex: 1;
|
||||
padding: 0;
|
||||
min-width: 380px;
|
||||
min-width: 350px;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue