Skip to content

Commit f8de842

Browse files
committed
changed more stuff (now i go to rehersal, even if no work)
1 parent f302b70 commit f8de842

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

static/assets/scripts/home.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ try {
516516
if (needToLoadAds) {
517517
loadAds();
518518
} else {
519-
const ads = document.querySelectorAll(".xxx");
519+
const ads = document.querySelectorAll(".inxxx");
520520
ads.forEach(ad => {
521521
ad.style.display = "flex";
522522
});
@@ -525,7 +525,7 @@ try {
525525
function hideAds() {
526526
log("Hiding ads");
527527
showingAds = false;
528-
const ads = document.querySelectorAll(".xxx");
528+
const ads = document.querySelectorAll(".inxxx");
529529
ads.forEach(ad => {
530530
ad.style.display = "none";
531531
});
@@ -619,7 +619,7 @@ try {
619619
sortDirectionText.innerHTML = sortStates[sortState][1];
620620
}
621621
function shuffleAds() {
622-
const ads = document.querySelectorAll(".xxx");
622+
const ads = document.querySelectorAll(".inxxx");
623623
ads.forEach(ad => {
624624
ad.remove();
625625
var randomCard = document.querySelector(".cards").children[Math.floor(Math.random() * document.querySelector(".cards").children.length)];
@@ -827,7 +827,7 @@ try {
827827
const adID = `mmt-ad-${Math.random().toString(16).slice(2)}-${num}`;
828828
const adHTML = `<div id="${adID}"></div>`;
829829
const adCard = document.createElement("div");
830-
adCard.classList.add("xxx");
830+
adCard.classList.add("inxxx");
831831
adCard.innerHTML = adHTML;
832832
// adCard.style.backgroundImage = `url('/assets/images/loading.gif')`;
833833
// adCard.style.backgroundSize = "fit";

static/assets/styles/home.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,4 +767,19 @@ button#sort, button#pickforme {
767767
margin: 0px;
768768
margin-left: 5px;
769769

770+
}
771+
772+
.inxxx {
773+
width: 500px;
774+
height: 325px;
775+
margin: 15px;
776+
position: relative;
777+
overflow: hidden;
778+
border-radius: 10px;
779+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
780+
transition: all 0.3s ease;
781+
display: flex;
782+
flex-direction: column;
783+
align-items: center;
784+
justify-content: center;
770785
}

static/roms/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ body {
77
flex-direction: column;
88
align-items: center;
99
justify-content: center;
10+
margin-bottom: 300px;
1011
}
1112
h1 {
1213
text-align: center;

0 commit comments

Comments
 (0)