commit a538305c5f5240cb1b3c6f12bd8557701c629e73
parent 04e37a58e63de442f8cd4baf6c50588e065b0b56
Author: William Lindholm <william_lindholm@outlook.com>
Date: Mon, 20 Dec 2021 00:10:04 +0100
Fixed some things.
Diffstat:
2 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/index.html b/index.html
@@ -14,8 +14,11 @@
<body class="noselect">
<script src="//acscdn.com/script/ippg.js" data-adel="inpage" zid="5407851" rr="0" mads="2"></script>
+ <div id="banner-ad">
+ <script data-cfasync="false" type="text/javascript" src="https://www.onclickalgo.com/a/display.php?r=5407855"></script>
+ </div>
<canvas id="bang" width="800" height="800"></canvas>
- <script data-cfasync="false" type="text/javascript" src="https://www.onclickalgo.com/a/display.php?r=5407855"></script>
+
<script src="./script.js"></script>
<div class="bg">
diff --git a/style.css b/style.css
@@ -16,8 +16,8 @@ html, body{
canvas{
background-color: #fcfcfc;
- z-index: -1;
- position: absolute;
+ z-index: 0;
+ top: 0;
}
.noselect {
@@ -152,6 +152,21 @@ footer{
100% { background-position: 0 0; }
}
+/*Banner ad*/
+#banner-ad {
+ z-index: 9;
+ position: absolute;
+ top: 50%;
+ transform: translate(0, -50%);
+}
+
+@media only screen
+ and (max-width: 800px) {
+ #banner-ad {
+ display: none;
+ }
+}
+
/* Ändringar för mobil */
@media only screen
and (max-width: 1300px) {