This commit is contained in:
William 2023-01-21 15:00:43 +01:00
parent d33aa33f35
commit 6006a738db
2 changed files with 14 additions and 6 deletions

View File

@ -3,13 +3,14 @@ html, body {
} }
body { body {
background: darkblue; background-color: darkblue;
background: url('../img/99.png'); background: url('../img/99.png');
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
color: white; color: white;
line-height: 1.5; line-height: 1.5;
font-family: serif; font-family: serif;
image-rendering: pixelated;
} }
hr { hr {
@ -33,8 +34,8 @@ img {
pre, code { pre, code {
margin: auto; margin: auto;
font-family: monospace; font-family: monospace;
background: darkblue; background: black;
border: 4px double yellow; color: greenyellow;
padding: 8px; padding: 8px;
max-width: min-content; max-width: min-content;
display: block; display: block;

View File

@ -22,9 +22,16 @@ function special_events(): string {
<?php endif; ?> <?php endif; ?>
<header> <header>
<audio controls>
<source src="http://radio.hbr1.com/stream/trance.ogg" type="audio/ogg"> <div id="radio"></div>
</audio> <script>
// some browsers (cough cough safari) dont like the live broadcast and so just keeps loading forever
window.addEventListener('load', function () {
radio.innerHTML = `
<audio controls autoplay preload="none"><source src="http://radio.hbr1.com/stream/trance.ogg" type="audio/ogg"></audio>
`;
});
</script>
<br> <br>
<br> <br>