mirror of https://gitlab.com/bashrc2/epicyon
Chapters image size
parent
c267c5f66b
commit
d00180e456
|
@ -233,6 +233,9 @@ a:focus {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin: 20px 30px;
|
margin: 20px 30px;
|
||||||
}
|
}
|
||||||
|
.chapters img {
|
||||||
|
width: 10%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1000px) {
|
@media screen and (max-width: 1000px) {
|
||||||
|
@ -310,6 +313,9 @@ a:focus {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
margin: 30px 40px;
|
margin: 30px 40px;
|
||||||
}
|
}
|
||||||
|
.chapters img {
|
||||||
|
width: 15%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 480px) {
|
@media screen and (max-width: 480px) {
|
||||||
|
@ -387,4 +393,7 @@ a:focus {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
margin: 30px 40px;
|
margin: 30px 40px;
|
||||||
}
|
}
|
||||||
|
.chapters img {
|
||||||
|
width: 15%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -96,11 +96,12 @@ def _html_podcast_chapters(link_url: str,
|
||||||
' <img loading="lazy" ' + \
|
' <img loading="lazy" ' + \
|
||||||
'decoding="async" ' + \
|
'decoding="async" ' + \
|
||||||
'src="' + chapter['img'] + \
|
'src="' + chapter['img'] + \
|
||||||
'" alt="" class="chapter-image" />\n' + \
|
'" alt="" />\n' + \
|
||||||
' ' + chapter_title + '\n' + \
|
' ' + chapter_title + '\n' + \
|
||||||
' </li>\n'
|
' </li>\n'
|
||||||
if chapters_html:
|
if chapters_html:
|
||||||
html_str = '<ul>\n' + chapters_html + '</ul>\n'
|
html_str = \
|
||||||
|
'<ul class="chapters">\n' + chapters_html + '</ul>\n'
|
||||||
return html_str
|
return html_str
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue