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