Rajout des style du podcast, refonte mineure du script, réarangement du html
This commit is contained in:
parent
c865c01c7f
commit
4d36c05cdf
3 changed files with 29 additions and 17 deletions
|
@ -114,7 +114,6 @@ body {
|
|||
padding-left: 1%;
|
||||
padding-right: 1%;
|
||||
|
||||
border: solid var(--text-color);
|
||||
border-radius: 50px;
|
||||
}
|
||||
}
|
||||
|
@ -125,11 +124,23 @@ body {
|
|||
|
||||
.Podcasts {
|
||||
.podcast {
|
||||
|
||||
h3 {
|
||||
font-size: xx-large;
|
||||
}
|
||||
|
||||
audio {
|
||||
width: 90%;
|
||||
background-color: #F7F6EE;
|
||||
margin-left: 1%;
|
||||
}
|
||||
|
||||
.podcast-desc {
|
||||
font-size: x-large;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@ function formatEpisodeIntoHTML(episode) {
|
|||
podcastDescription.innerHTML = removeAcastBranding(episode.description,true);
|
||||
|
||||
article.append(podcastTitle,podcastAudio,podcastDescription);
|
||||
article.append(document.createElement("hr"))
|
||||
|
||||
return article
|
||||
}
|
||||
|
@ -39,7 +40,7 @@ function formatEpisodeIntoHTML(episode) {
|
|||
window.addEventListener("DOMContentLoaded", function () {
|
||||
console.log(
|
||||
"Hewo, c'est renarde 🦊, la créatrice de ce site. Si tu veux trouver le code source du site c'est par ici -> "
|
||||
+ 'https://forgejo.la-taniere-solidaire.gay/'
|
||||
+ 'https://forgejo.la-taniere-solidaire.gay/Renarde/site-web-le-plus-beau-des-voyages'
|
||||
);
|
||||
|
||||
fetchRSSfeed().then( rssData => {
|
||||
|
|
30
index.html
30
index.html
|
@ -14,21 +14,6 @@
|
|||
<h1>Le plus beau des voyages</h1>
|
||||
<p id="FeedDesc" class="FeedDesc"></p>
|
||||
<hr>
|
||||
<div class="FollowMe">
|
||||
Me suivre :
|
||||
<a href="https://www.instagram.com/leplusbeaudesvoyages/">
|
||||
<img src="/assets/images/Instagram_logo.wepb"/>
|
||||
<p>Le plus beau des voyages</p>
|
||||
</a>
|
||||
<a href="https://www.instagram.com/pauline.hrdt/">
|
||||
<img src="/assets/images/Instagram_logo.wepb"/>
|
||||
<p>Pauline.Hrdt</p>
|
||||
</a>
|
||||
<a href="https://www.instagram.com/oscar_le_teckel/">
|
||||
<img src="/assets/images/Instagram_logo.wepb"/>
|
||||
<p>Oscar le teckel</p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="listen-on">
|
||||
Écoutez le podcast sur :
|
||||
<a href="https://feeds.acast.com/public/shows/le-plus-beau-des-voyages" class="rss-listen">
|
||||
|
@ -47,5 +32,20 @@
|
|||
</div>
|
||||
<hr>
|
||||
<div id="Podcasts" class="Podcasts"></div>
|
||||
<div class="FollowMe">
|
||||
Me suivre :
|
||||
<a href="https://www.instagram.com/leplusbeaudesvoyages/">
|
||||
<img src="/assets/images/Instagram_logo.wepb"/>
|
||||
<p>Le plus beau des voyages</p>
|
||||
</a>
|
||||
<a href="https://www.instagram.com/pauline.hrdt/">
|
||||
<img src="/assets/images/Instagram_logo.wepb"/>
|
||||
<p>Pauline.Hrdt</p>
|
||||
</a>
|
||||
<a href="https://www.instagram.com/oscar_le_teckel/">
|
||||
<img src="/assets/images/Instagram_logo.wepb"/>
|
||||
<p>Oscar le teckel</p>
|
||||
</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue