diff --git a/assets/css/podcast.css b/assets/css/podcast.css index 23e2a99..67fb39d 100644 --- a/assets/css/podcast.css +++ b/assets/css/podcast.css @@ -6,3 +6,23 @@ filter: invert(1); } +@media screen and (max-width: 800px) { + .masthead { + padding-top: 0 !important; + } +} + +/* For screen under 450 px set the nav icon width 100% */ + +@media screen and (max-width: 450px) { + img.navicon { + width: 100%; + } +} + +@media screen and (max-width: 450px) { + #navbar { + padding-left: 0 !important; + } +} + diff --git a/assets/img/podcast/Alliance_Logo.png b/assets/img/podcast/Alliance_Logo.png new file mode 100644 index 0000000..053d6f9 Binary files /dev/null and b/assets/img/podcast/Alliance_Logo.png differ diff --git a/assets/js/hacker-podcast.js b/assets/js/hacker-podcast.js new file mode 100644 index 0000000..8c5ce2c --- /dev/null +++ b/assets/js/hacker-podcast.js @@ -0,0 +1,31 @@ +const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ/.?!@#$%^&*()_+"; + +let interval = null; +let interval2 = null; +let interval3 = null; + + +document.querySelector(".copyright").onmouseover = event => { + let iteration2 = 0; + let old2 = "Copyright © Nathan Woodburn 2023"; + clearInterval(interval2); + + interval2 = setInterval(() => { + event.target.innerText = event.target.innerText + .split("") + .map((letter, index2) => { + if(index2 < iteration2) { + return old2[index2]; + } + + return letters[Math.floor(Math.random() * 41)] + }) + .join(""); + + if(iteration2 >= old2.length){ + clearInterval(interval2); + } + + iteration2 += 1/3; + }, 10); + } \ No newline at end of file diff --git a/podcast.html b/podcast.html index 5da714e..168f6d7 100644 --- a/podcast.html +++ b/podcast.html @@ -11,7 +11,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= })(window,document,'script','dataLayer','GTM-NNXTCKW'); - Podcast | Nathan.Woodburn/ + Podcast | Alliance Church Woden Valley @@ -33,7 +33,6 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= - @@ -41,17 +40,9 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= - -
-
+
+ +
@@ -70,7 +61,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
-
+
@@ -98,7 +89,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= - + \ No newline at end of file