.showExtra > .extra {
transform: translateY(0%);
}
-.main > *, .extra > *:not(.soldBox), .bottom > *, .marquee > * {
+.main > *, .extra > *:not(.soldBox), .bottom > *, .bottom > div > *, .marquee > * {
margin: 0;
padding: 0.5vh 1vh;
}
display: inline-block;
vertical-align: top;
}
+#topTextBox {
+ width: calc(100% - 20px);
+ margin: 5px;
+ margin-bottom: 0;
+ padding: 5px;
+ border-radius: 5px;
+ background-image: linear-gradient(0.25turn, var(--feature-dark), rgba(0,0,0,0) 40%), var(--background);
+ box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.19) 0px 1px 2px;
+}
+#topText {
+ display: inline-block;
+ width: 50%;
+ padding: 0;
+}
+#idText {
+ display: inline-block;
+ width: 50%;
+ padding: 0;
+ text-align: right;
+ font-size: 1.5em;
+ font-weight: bold;
+ font-style: italic;
+ color: var(--feature-dark);
+}
.marquee {
padding: 0;
width: 100%;
mask-image: linear-gradient(0.25turn, transparent, black 5%, black 95%, transparent);
overflow: hidden;
}
+.marqueeText {
+ white-space: nowrap;
+ overflow: hidden;
+}
.timer1 {
position: absolute;
left: 101vh;
.show.banner {
width: 50vh;
}
+.show.sigilBox {
+ opacity: 0.9;
+}
@keyframes spinBox {
0% {transform: translateY(100%);}
50% {}
// Discount badge
const badgeContainer = document.getElementsByClassName("badgeContainer")[0];
- if (discount <= 0.99) {
+ if (discount <= 0.99 && data.showingExtra == "true") {
badgeContainer.classList.add("show");
} else {
badgeContainer.classList.remove("show");
<div class="container box bottom">
<h3 class="feature timer1 box"></h3>
- <h2 id="topText"></h2>
+ <div id="topTextBox">
+ <h2 id="topText"></h2><p id="idText">Welcome to <span style="font-family: serif;">XMDV</span> Shopping!</p>
+ </div>
<div class="marquee">
<h1 class="marqueeText" id="bottomText"></h1>
</div>
<div class="timer2 box"></div>
<div class="timer3"></div>
- <div class="container box sigilBox show" id="sigilNE">
+ <div class="container box sigilBox" id="sigilNE">
<svg class="sigil" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg">
<path class="sigilGrid" d="
M 10,10 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100
<circle class="sigilEnd" r="3">
</svg>
</div>
- <div class="container box sigilBox show" id="sigilSE">
+ <div class="container box sigilBox" id="sigilSE">
<svg class="sigil" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg">
<path class="sigilGrid" d="
M 10,10 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100
<circle class="sigilEnd" r="3">
</svg>
</div>
- <div class="container box sigilBox show" id="sigilSW">
+ <div class="container box sigilBox" id="sigilSW">
<svg class="sigil" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg">
<path class="sigilGrid" d="
M 10,10 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100
<circle class="sigilEnd" r="3">
</svg>
</div>
- <div class="container box sigilBox show" id="sigilNW">
+ <div class="container box sigilBox" id="sigilNW">
<svg class="sigil" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg">
<path class="sigilGrid" d="
M 10,10 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100 v 100 m 20,-100