mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-14 00:36:48 +00:00
Minor fixes
This commit is contained in:
@@ -88,13 +88,6 @@
|
|||||||
transition-property: background-color;
|
transition-property: background-color;
|
||||||
transition-duration: var(--transition-duration-fast);
|
transition-duration: var(--transition-duration-fast);
|
||||||
|
|
||||||
@media (--up_to_M) {
|
|
||||||
padding: var(--space-l);
|
|
||||||
}
|
|
||||||
@media (--M_and_up) {
|
|
||||||
padding: var(--space-xl);
|
|
||||||
}
|
|
||||||
|
|
||||||
& a {
|
& a {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
@@ -105,21 +98,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
& .media {
|
& .title {
|
||||||
margin-right: var(--space-l);
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
& .media {
|
||||||
& a,
|
& a,
|
||||||
& img {
|
& img {
|
||||||
display: block;
|
display: block;
|
||||||
border-radius: var(--space-s);
|
border-radius: var(--space-s);
|
||||||
|
|
||||||
@media (--up_to_M) {
|
@media (--up_to_M) {
|
||||||
height: 60px;
|
width: 20vw;
|
||||||
width: 60px;
|
|
||||||
}
|
}
|
||||||
@media (--M_and_up) {
|
@media (--M_and_up) {
|
||||||
height: 100px;
|
width: 15vw;
|
||||||
width: 100px;
|
max-width: 7rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -134,6 +128,13 @@
|
|||||||
& .content {
|
& .content {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
||||||
|
@media (--up_to_M) {
|
||||||
|
padding: var(--space-m) var(--space-l);
|
||||||
|
}
|
||||||
|
@media (--M_and_up) {
|
||||||
|
padding: var(--space-l);
|
||||||
|
}
|
||||||
|
|
||||||
& > *:last-child {
|
& > *:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ const parseEpisode = e => {
|
|||||||
let [, categoryName = 'News', number, titlePlain] = title.match(/([\w\s]+?)?\s?#(\d+) - (.*)/) || [, , , title]
|
let [, categoryName = 'News', number, titlePlain] = title.match(/([\w\s]+?)?\s?#(\d+) - (.*)/) || [, , , title]
|
||||||
if (!number) categoryName = 'Verschiedenes'
|
if (!number) categoryName = 'Verschiedenes'
|
||||||
if (categoryName === 'Der-Weg') categoryName = 'Der Weg'
|
if (categoryName === 'Der-Weg') categoryName = 'Der Weg'
|
||||||
|
if (categoryName === 'Buchclub') categoryName = 'Lesestunde'
|
||||||
const firstLine = description.split('\n')[0]
|
const firstLine = description.split('\n')[0]
|
||||||
const blockMatch = firstLine.match(/Blockzeit\s(\d+)/)
|
const blockMatch = firstLine.match(/Blockzeit\s(\d+)/)
|
||||||
const block = blockMatch ? parseInt(blockMatch[1]) : null
|
const block = blockMatch ? parseInt(blockMatch[1]) : null
|
||||||
|
|||||||
Reference in New Issue
Block a user