add weeklyFeed scrolling + minor fixes

This commit is contained in:
Mateo Körber Belmonte
2025-02-22 00:07:22 +01:00
parent 13a60b8b6a
commit 8fa651eff0
2 changed files with 135 additions and 31 deletions
+42 -6
View File
@@ -1,4 +1,3 @@
<!DOCTYPE html>
<html lang="de">
<head>
@@ -8,6 +7,9 @@
<style>
body {
font-family: 'Fira Sans', sans-serif;
margin: 0;
padding: 0;
overflow: hidden;
}
h1 {
@@ -15,7 +17,12 @@
font-size: 50px;
font-weight: 300;
font-style: italic;
margin-top: 0;
margin: 0;
padding: 10px;
background: #ffffff;
position: fixed;
width: 100%;
z-index: 2;
}
h2 {
@@ -52,24 +59,53 @@
.side {
margin-top: 0;
margin-bottom: 0;
margin-left:17px;
margin-left: 17px;
font-size: 23px;
}
hr {
border: 0;
border-top: 0.5px solid #707070;
border-top: 1px solid #2b2b2b;
width: 80%;
margin-left: 0;
margin-top: 10px;
margin-bottom: 10px;
}
.ticker-wrapper {
position: absolute;
width: 100%;
height: 100vh;
padding-top: 80px;
}
.ticker-content {
padding: 20px;
will-change: transform;
}
.menu-item {
margin-bottom: 20px;
}
.content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: 1;
}
</style>
</head>
<body>
<h1>Freuen Sie sich auf:</h1>
<h2></h2>
<script>
setInterval(() => {
window.location.reload();
}, 3600000);
</script>
<script src="../src/weeklyFeed.js"></script>
</body>