forked from HoloTech/twitch-subathon-timer
Compare commits
8 Commits
2d9e320d42
...
v2-Prototy
| Author | SHA1 | Date | |
|---|---|---|---|
| 1a09ea3d80 | |||
| ff7c48dab4 | |||
| 6c2b897522 | |||
| 192f3c0eb1 | |||
| 8e95f378d7 | |||
| f2fc02ff7e | |||
| 75cdfcf09a | |||
| 11ca4470fe |
16
index.html
16
index.html
@@ -8,7 +8,7 @@
|
|||||||
<link href='https://fonts.googleapis.com/css?family=Inter' rel='stylesheet'>
|
<link href='https://fonts.googleapis.com/css?family=Inter' rel='stylesheet'>
|
||||||
<link rel="stylesheet" href="timer.css" />
|
<link rel="stylesheet" href="timer.css" />
|
||||||
<script src="timer.js"></script>
|
<script src="timer.js"></script>
|
||||||
<title>v2 onefont</title>
|
<title>Lilac Timer</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
@@ -40,6 +40,9 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<p class='giftUserScore' id='GiftUserScore1'>
|
||||||
|
0000
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class='giftUserRow' id='GiftUserRow2'>
|
<div class='giftUserRow' id='GiftUserRow2'>
|
||||||
<p class='giftUserNum' id='GiftUserNum2'>
|
<p class='giftUserNum' id='GiftUserNum2'>
|
||||||
@@ -55,6 +58,9 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<p class='giftUserScore' id='GiftUserScore2'>
|
||||||
|
25
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class='giftUserRow' id='GiftUserRow3'>
|
<div class='giftUserRow' id='GiftUserRow3'>
|
||||||
<p class='giftUserNum' id='GiftUserNum3'>
|
<p class='giftUserNum' id='GiftUserNum3'>
|
||||||
@@ -70,6 +76,9 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<p class='giftUserScore' id='GiftUserScore3'>
|
||||||
|
1
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -105,6 +114,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id='GoalProgressWrap'>
|
<div id='GoalProgressWrap'>
|
||||||
|
<div id='GoalProgressBar'>
|
||||||
|
<p id='GoalProgressTransparent' style='color: transparent;'>
|
||||||
|
1234/5678
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
<p id='GoalProgress'>
|
<p id='GoalProgress'>
|
||||||
1234/5678
|
1234/5678
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
222
no-bold.css
222
no-bold.css
@@ -1,222 +0,0 @@
|
|||||||
:root {
|
|
||||||
--time-color: #453960;
|
|
||||||
--details-color: #403060;
|
|
||||||
--background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
html, body {
|
|
||||||
height: 100%;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
font-family: 'Inter', sans-serif;
|
|
||||||
background-color: var(--background-color);
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
main {
|
|
||||||
font-family: "Silkscreen", sans-serif;
|
|
||||||
font-weight: 400;
|
|
||||||
font-style: normal;
|
|
||||||
color: #EA4045;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 3.4em;
|
|
||||||
color: #404145;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 1.4em;
|
|
||||||
color: #404145;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 1em;
|
|
||||||
color: #404145;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.contentContainer {
|
|
||||||
height: fit-content;
|
|
||||||
width: fit-content;
|
|
||||||
position: relative;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#MainHeart {
|
|
||||||
max-height: 100vh;
|
|
||||||
max-width: 100vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
.infoWrap {
|
|
||||||
container-type: size;
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
position: absolute;
|
|
||||||
left: 0px;
|
|
||||||
top: 0px;
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 56% 34% 1fr;
|
|
||||||
/*
|
|
||||||
grid-template-rows: 11% 28% 16% 16% 1fr;
|
|
||||||
*/
|
|
||||||
grid-template-rows: 11% 1fr 29%;
|
|
||||||
place-items: center;
|
|
||||||
text-wrap: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.infoGroup {
|
|
||||||
display: block;
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
grid-column-start: 2;
|
|
||||||
grid-column-end: 2;
|
|
||||||
grid-row-start: 2;
|
|
||||||
grid-row-end: 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.infoBox {
|
|
||||||
height: auto;
|
|
||||||
width: 100%;
|
|
||||||
/*
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(1, 1fr);
|
|
||||||
grid-auto-rows: auto;
|
|
||||||
place-items: center;
|
|
||||||
*/
|
|
||||||
font-size: 4cqh;
|
|
||||||
}
|
|
||||||
|
|
||||||
#InfoBox1 {
|
|
||||||
margin-top: 4cqh;
|
|
||||||
/*
|
|
||||||
justify-self: left;
|
|
||||||
align-self: stretch;
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
transform: translate(-8%, 5%);
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
#InfoBox2 {
|
|
||||||
/*
|
|
||||||
display: grid;
|
|
||||||
width: 100%;
|
|
||||||
justify-self: left;
|
|
||||||
align-self: stretch;
|
|
||||||
*/
|
|
||||||
transform: translate(0%, -12%);
|
|
||||||
}
|
|
||||||
|
|
||||||
#InfoBox3 {
|
|
||||||
grid-template-columns: 1fr;
|
|
||||||
grid-template-rows: 1fr 23% 23% 23%;
|
|
||||||
transform: translate(0%, -16%) scale(1, 1);
|
|
||||||
/*
|
|
||||||
justify-self: left;
|
|
||||||
align-self: stretch;
|
|
||||||
transform: translate(0%, -32%);
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
#Timer {
|
|
||||||
transform: translate(-9%, 3%) scale(.95, 1.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
#TimerInfo {
|
|
||||||
transform: translate(0%, -60%);
|
|
||||||
font-size: 1em;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#GoalLabel {
|
|
||||||
transform: translate(5%, 0%) scale(1.05, 1.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
#GoalName {
|
|
||||||
width: 100%;
|
|
||||||
transform: translate(8%, -10%) scale(1, 1.4);
|
|
||||||
color: #32B993;
|
|
||||||
text-wrap: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
mask-image: linear-gradient(to right, black 85%, transparent 100%);
|
|
||||||
}
|
|
||||||
|
|
||||||
#GoalProgressWrap {
|
|
||||||
width: fit-content;
|
|
||||||
padding-left: .8cqh;
|
|
||||||
padding-right: .8cqh;
|
|
||||||
transform: translate(7%, 0%) scale(1, 1);
|
|
||||||
border-radius: 3cqh;
|
|
||||||
border: .4cqh solid;
|
|
||||||
border-color: #404145;
|
|
||||||
margin: 0 auto 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
#GoalProgress {
|
|
||||||
transform: translate(0%, -8%) scale(1, 1.4);
|
|
||||||
font-size: 1.3em;
|
|
||||||
text-align: center;
|
|
||||||
/*
|
|
||||||
font-weight: bold;
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
#TopUsers {
|
|
||||||
transform: translate(6%, 0%) scale(1.15, 1.2);
|
|
||||||
font-weight: normal;
|
|
||||||
font-size: 1.1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.giftUserWrap {
|
|
||||||
transform: translate(18%, -8%) scale(1, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.giftUserRow {
|
|
||||||
width: 100%;
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 8% 1fr;
|
|
||||||
grid-template-rows: 1fr;
|
|
||||||
text-wrap: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-align: left;
|
|
||||||
justify-self: left;
|
|
||||||
text-align: center;
|
|
||||||
transform: translate(0%, 0%) scale(1, 1.2);
|
|
||||||
font-size: 1.4em;
|
|
||||||
line-height: 90%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.giftUserName {
|
|
||||||
margin-left: 0%;
|
|
||||||
color: #32B993;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
#GiftUserName1 {
|
|
||||||
width: 24cqw;
|
|
||||||
mask-image: linear-gradient(to right, black 85%, transparent 100%);
|
|
||||||
}
|
|
||||||
#GiftUserName2 {
|
|
||||||
width: 20cqw;
|
|
||||||
mask-image: linear-gradient(to right, black 75%, transparent 100%);
|
|
||||||
}
|
|
||||||
#GiftUserName3 {
|
|
||||||
width: 14cqw;
|
|
||||||
mask-image: linear-gradient(to right, black 60%, transparent 100%);
|
|
||||||
}
|
|
||||||
76
no-bold.html
76
no-bold.html
@@ -1,76 +0,0 @@
|
|||||||
<!doctype html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&family=VT323&display=swap" rel="stylesheet">
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Inter' rel='stylesheet'>
|
|
||||||
<link rel="stylesheet" href="no-bold.css" />
|
|
||||||
<script src="timer.js"></script>
|
|
||||||
<title>v2 onefont</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<main>
|
|
||||||
<div class='contentContainer'>
|
|
||||||
<img id='MainHeart' src='src/youve_got_mail_whiteheart.png'>
|
|
||||||
<div class='infoWrap'>
|
|
||||||
<div class='infoGroup'>
|
|
||||||
<div class='infoBox' id='InfoBox1'>
|
|
||||||
<h1 id='Timer'>
|
|
||||||
00:00
|
|
||||||
</h1>
|
|
||||||
<p id='TimerInfo'>
|
|
||||||
!subathon for details
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class='infoBox' id='InfoBox2'>
|
|
||||||
<h2 id='GoalLabel'>
|
|
||||||
Next Goal:
|
|
||||||
</h2>
|
|
||||||
<h3 id='GoalName'>
|
|
||||||
Discord Watch Party + Puzzles
|
|
||||||
</h3>
|
|
||||||
<div id='GoalProgressWrap'>
|
|
||||||
<p id='GoalProgress'>
|
|
||||||
1234/5678
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class='infoBox' id='InfoBox3'>
|
|
||||||
<h2 id='TopUsers'>
|
|
||||||
Leaderboard:
|
|
||||||
</h2>
|
|
||||||
<div class='giftUserWrap'>
|
|
||||||
<div class='giftUserRow' id='GiftUserRow1'>
|
|
||||||
<p class='giftUserNum' id='GiftUserNum1'>
|
|
||||||
1
|
|
||||||
</p>
|
|
||||||
<p class='giftUserName'id='GiftUserName1'>
|
|
||||||
Usernamethatisverylong
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class='giftUserRow' id='GiftUserRow2'>
|
|
||||||
<p class='giftUserNum' id='GiftUserNum2'>
|
|
||||||
2
|
|
||||||
</p>
|
|
||||||
<p class='giftUserName'id='GiftUserName2'>
|
|
||||||
Usernamethatisverylong
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class='giftUserRow' id='GiftUserRow3'>
|
|
||||||
<p class='giftUserNum' id='GiftUserNum3'>
|
|
||||||
3
|
|
||||||
</p>
|
|
||||||
<p class='giftUserName'id='GiftUserName3'>
|
|
||||||
Usernamethatisverylong
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
66
timer.css
66
timer.css
@@ -61,7 +61,7 @@ p {
|
|||||||
|
|
||||||
.mainHeart {
|
.mainHeart {
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
max-width: 75vw;
|
max-width: 72vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
#SecondHeart {
|
#SecondHeart {
|
||||||
@@ -112,9 +112,9 @@ p {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#InfoBox3 {
|
#InfoBox3 {
|
||||||
width: 110%;
|
width: 142%;
|
||||||
position: relative;
|
position: relative;
|
||||||
transform: translate(88%, 25%) scale(1, 1);
|
transform: translate(65%, 10%) scale(1, 1);
|
||||||
border-radius: 3cqh;
|
border-radius: 3cqh;
|
||||||
border: .4cqh solid;
|
border: .4cqh solid;
|
||||||
border-color: #00A0F3;
|
border-color: #00A0F3;
|
||||||
@@ -168,11 +168,20 @@ p {
|
|||||||
border: .4cqh solid;
|
border: .4cqh solid;
|
||||||
border-color: #404145;
|
border-color: #404145;
|
||||||
margin: .4ch auto 0 auto;
|
margin: .4ch auto 0 auto;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
#GoalProgressBar {
|
||||||
|
width: 110%;
|
||||||
|
background-color: #FC98B3;
|
||||||
|
transform: translate(-5%, 0%) scale(1, 1.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
#GoalProgress {
|
#GoalProgress {
|
||||||
transform: translate(0%, -8%) scale(1);
|
transform: translate(0%, -8%) scale(1);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
margin-top: -19%;
|
||||||
|
color: #404145;
|
||||||
}
|
}
|
||||||
|
|
||||||
#TopUsers {
|
#TopUsers {
|
||||||
@@ -182,19 +191,41 @@ p {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.giftUserWrap {
|
.giftUserWrap {
|
||||||
transform: translate(11%, -8%) scale(1, 1);
|
transform: translate(9%, -8%) scale(1, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.giftUserRow {
|
.giftUserRow {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 8% 1fr;
|
grid-template-columns: 2ch 14ch 5ch;
|
||||||
grid-template-rows: 1fr;
|
grid-template-rows: 1fr;
|
||||||
text-wrap: nowrap;
|
text-wrap: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.giftUserNum {
|
||||||
|
border-right: 1.5px solid #00A0F3;
|
||||||
|
border-image: linear-gradient(to top,
|
||||||
|
transparent 0%,
|
||||||
|
transparent 5%,
|
||||||
|
#00A0F3 35%,
|
||||||
|
#00A0F3 65%,
|
||||||
|
transparent 95%) 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.giftUserScore {
|
||||||
|
border-left: 1.5px solid #00A0F3;
|
||||||
|
border-image: linear-gradient(to top,
|
||||||
|
transparent 0%,
|
||||||
|
transparent 5%,
|
||||||
|
#00A0F3 40%,
|
||||||
|
#00A0F3 60%,
|
||||||
|
transparent 95%) 1;
|
||||||
|
text-align: right;
|
||||||
|
padding-right: .25ch;
|
||||||
|
}
|
||||||
|
|
||||||
.giftUserName {
|
.giftUserName {
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
margin-left: 0%;
|
margin-left: 0%;
|
||||||
@@ -245,19 +276,36 @@ p {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.rightFadeWrap {
|
.rightFadeWrap {
|
||||||
|
/*
|
||||||
mask-image: linear-gradient(to right, black 75%, transparent 90%);
|
mask-image: linear-gradient(to right, black 75%, transparent 90%);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
#RightFadeWrapInfoBox3 {
|
#RightFadeWrapInfoBox2 {
|
||||||
|
width: 90%;
|
||||||
|
border-left: 1.5px solid #00A0F3;
|
||||||
|
border-right: 1.5px solid #00A0F3;
|
||||||
|
border-image: linear-gradient(to top,
|
||||||
|
transparent 0%,
|
||||||
|
transparent 5%,
|
||||||
|
#00A0F3 40%,
|
||||||
|
#00A0F3 60%,
|
||||||
|
transparent 95%) 1;
|
||||||
|
transform: translate(1ch, 0%) scale(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.fadeLeft {
|
.fadeLeft {
|
||||||
mask-image: linear-gradient(to right, transparent 0%, black 1ch);
|
mask-image: linear-gradient(to right,
|
||||||
|
transparent 0%,
|
||||||
|
black 1ch,
|
||||||
|
black calc(100% - 2ch),
|
||||||
|
transparent 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ScrollWrapGoal {
|
#ScrollWrapGoal {
|
||||||
transform: translate(1ch, 0%) scale(1);
|
/*
|
||||||
|
width: 90%;
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.scrollWrapName {
|
.scrollWrapName {
|
||||||
|
|||||||
75
timer.js
75
timer.js
@@ -8,6 +8,7 @@ class Timer {
|
|||||||
constructor(renderer, timer_data) {
|
constructor(renderer, timer_data) {
|
||||||
this.renderer = renderer;
|
this.renderer = renderer;
|
||||||
this.destroying = false;
|
this.destroying = false;
|
||||||
|
this.ended = false;
|
||||||
|
|
||||||
this.update_from_data(timer_data);
|
this.update_from_data(timer_data);
|
||||||
}
|
}
|
||||||
@@ -32,13 +33,34 @@ class Timer {
|
|||||||
this.leaderboard = timer_data.leaderboard;
|
this.leaderboard = timer_data.leaderboard;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check_ended() {
|
||||||
|
if (!this.ended && this.end_at < new Date()) {
|
||||||
|
this.ended = true;
|
||||||
|
this.renderer.finale();
|
||||||
|
}
|
||||||
|
return this.ended;
|
||||||
|
}
|
||||||
|
|
||||||
|
set_ended() {
|
||||||
|
if (!this.ended && this.end_at < new Date()) {
|
||||||
|
this.ended = true;
|
||||||
|
this.renderer.finale();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
render_time() {
|
render_time() {
|
||||||
|
if (this.check_ended()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.renderer.render_time(
|
this.renderer.render_time(
|
||||||
Math.floor((this.end_at - new Date()) / 1000)
|
Math.floor((this.end_at - new Date()) / 1000)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
if (this.ended) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
// Render goal
|
// Render goal
|
||||||
if (this.next_goal != null) {
|
if (this.next_goal != null) {
|
||||||
this.renderer.render_current_goal(
|
this.renderer.render_current_goal(
|
||||||
@@ -64,6 +86,8 @@ class Timer {
|
|||||||
|
|
||||||
// Render timer
|
// Render timer
|
||||||
this.render_time();
|
this.render_time();
|
||||||
|
|
||||||
|
this.set_ended();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -77,7 +101,6 @@ class Timer {
|
|||||||
setTimeout(this.tick.bind(this), 1000);
|
setTimeout(this.tick.bind(this), 1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -95,6 +118,7 @@ class TimerRenderer {
|
|||||||
|
|
||||||
// 1524/3000 Points
|
// 1524/3000 Points
|
||||||
this.goal_progress = document.getElementById("GoalProgress")
|
this.goal_progress = document.getElementById("GoalProgress")
|
||||||
|
this.goal_bar = document.getElementById("GoalProgressBar")
|
||||||
|
|
||||||
// Top 3 Gifters
|
// Top 3 Gifters
|
||||||
this.topusers_label = document.getElementById("TopUsers")
|
this.topusers_label = document.getElementById("TopUsers")
|
||||||
@@ -105,12 +129,15 @@ class TimerRenderer {
|
|||||||
// Name of user 1
|
// Name of user 1
|
||||||
this.topusers_user1_name = document.getElementById("GiftUserName1")
|
this.topusers_user1_name = document.getElementById("GiftUserName1")
|
||||||
this.topusers_userdupe1_name = document.getElementById("GiftUserNameDupe1")
|
this.topusers_userdupe1_name = document.getElementById("GiftUserNameDupe1")
|
||||||
|
this.topusers_user1_score = document.getElementById("GiftUserScore1")
|
||||||
this.topusers_user2_num = document.getElementById("GiftUserNum2")
|
this.topusers_user2_num = document.getElementById("GiftUserNum2")
|
||||||
this.topusers_user2_name = document.getElementById("GiftUserName2")
|
this.topusers_user2_name = document.getElementById("GiftUserName2")
|
||||||
this.topusers_userdupe2_name = document.getElementById("GiftUserNameDupe2")
|
this.topusers_userdupe2_name = document.getElementById("GiftUserNameDupe2")
|
||||||
|
this.topusers_user2_score = document.getElementById("GiftUserScore2")
|
||||||
this.topusers_user3_num = document.getElementById("GiftUserNum3")
|
this.topusers_user3_num = document.getElementById("GiftUserNum3")
|
||||||
this.topusers_user3_name = document.getElementById("GiftUserName3")
|
this.topusers_user3_name = document.getElementById("GiftUserName3")
|
||||||
this.topusers_userdupe3_name = document.getElementById("GiftUserNameDupe3")
|
this.topusers_userdupe3_name = document.getElementById("GiftUserNameDupe3")
|
||||||
|
this.topusers_user3_score = document.getElementById("GiftUserScore3")
|
||||||
|
|
||||||
// -- Animation --
|
// -- Animation --
|
||||||
// Left-fade wrappers
|
// Left-fade wrappers
|
||||||
@@ -123,17 +150,20 @@ class TimerRenderer {
|
|||||||
// Leaderboard names
|
// Leaderboard names
|
||||||
this.userboxes = [this.topusers_user1_name, this.topusers_user2_name, this.topusers_user3_name]
|
this.userboxes = [this.topusers_user1_name, this.topusers_user2_name, this.topusers_user3_name]
|
||||||
this.userdupeboxes = [this.topusers_userdupe1_name, this.topusers_userdupe2_name, this.topusers_userdupe3_name]
|
this.userdupeboxes = [this.topusers_userdupe1_name, this.topusers_userdupe2_name, this.topusers_userdupe3_name]
|
||||||
|
|
||||||
|
// Thank you!
|
||||||
|
this.thankyou = "Thank you! The subathon has now ended, thank you so much for contributions and viewership to celebrate!"
|
||||||
}
|
}
|
||||||
|
|
||||||
// -- Toggles animation if text overflows container and adjusts speed for uniform movement --
|
// -- Toggles animation if text overflows container and adjusts speed for uniform movement --
|
||||||
animate() {
|
animate() {
|
||||||
for (let i = 0; i < this.scrollboxes.length; i++) {
|
|
||||||
|
|
||||||
|
for (let i = 0; i < this.scrollboxes.length; i++) {
|
||||||
// Check whether the itteration is a username or goal
|
// Check whether the itteration is a username or goal
|
||||||
if (this.scrollboxes[i].id == 'ScrollWrapGoal') {
|
if (this.scrollboxes[i].id == 'ScrollWrapGoal') {
|
||||||
|
|
||||||
// Check if element text overflows
|
// Check if element text overflows
|
||||||
if (this.goal_name.getBoundingClientRect().width > (this.scrollboxes[i].getBoundingClientRect().width * .85) ) {
|
if (this.goal_name.getBoundingClientRect().width > (this.scrollboxes[i].getBoundingClientRect().width)) {
|
||||||
// Toggle animation
|
// Toggle animation
|
||||||
this.goal_name.classList.add("scrollAnim");
|
this.goal_name.classList.add("scrollAnim");
|
||||||
this.goal_namedupe.classList.add("scrollAnim");
|
this.goal_namedupe.classList.add("scrollAnim");
|
||||||
@@ -152,7 +182,7 @@ class TimerRenderer {
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
// Check if element text overflows
|
// Check if element text overflows
|
||||||
if (this.userboxes[i].getBoundingClientRect().width > (this.scrollboxes[i].getBoundingClientRect().width * .75) ) {
|
if (this.userboxes[i].getBoundingClientRect().width > (this.scrollboxes[i].getBoundingClientRect().width * .65)) {
|
||||||
// Toggle animation
|
// Toggle animation
|
||||||
this.userboxes[i].classList.add("scrollAnim");
|
this.userboxes[i].classList.add("scrollAnim");
|
||||||
this.userdupeboxes[i].classList.add("scrollAnim");
|
this.userdupeboxes[i].classList.add("scrollAnim");
|
||||||
@@ -176,23 +206,35 @@ class TimerRenderer {
|
|||||||
* Bring the display into a standard initial state.
|
* Bring the display into a standard initial state.
|
||||||
*/
|
*/
|
||||||
reset() {
|
reset() {
|
||||||
this.timer.textContent = "00:00";
|
this.timer.textContent = "88:88";
|
||||||
this.goal_label.textContent = "Next Goal:";
|
this.goal_label.textContent = "Next Goal:";
|
||||||
this.goal_name.textContent = "The answer is...";
|
this.goal_name.textContent = "Goal name for the subathon";
|
||||||
this.goal_namedupe.textContent = "The answer is...";
|
this.goal_namedupe.textContent = "Goal name for the subathon";
|
||||||
this.goal_progress.textContent = "0000/0000";
|
this.goal_progress.textContent = "1234/1234";
|
||||||
|
|
||||||
this.topusers_label.textContent = "Leaderboard:";
|
this.topusers_label.textContent = "Leaderboard:";
|
||||||
this.topusers_user1_num.textContent = "1";
|
this.topusers_user1_num.textContent = "1";
|
||||||
this.topusers_user1_name.textContent = "Username4";
|
this.topusers_user1_name.textContent = "Username1024";
|
||||||
this.topusers_userdupe1_name.textContent = "Username4";
|
this.topusers_userdupe1_name.textContent = "Username1024";
|
||||||
|
this.topusers_user1_score.textContent = "0000";
|
||||||
this.topusers_user2_num.textContent = "2";
|
this.topusers_user2_num.textContent = "2";
|
||||||
this.topusers_user2_name.textContent = "User";
|
this.topusers_user2_name.textContent = "User";
|
||||||
this.topusers_userdupe2_name.textContent = "User";
|
this.topusers_userdupe2_name.textContent = "User";
|
||||||
|
this.topusers_user2_score.textContent = "0000";
|
||||||
this.topusers_user3_num.textContent = "3";
|
this.topusers_user3_num.textContent = "3";
|
||||||
this.topusers_user3_name.textContent = "Username_Very_Super_Long12";
|
this.topusers_user3_name.textContent = "Username_Very_Super_Long12";
|
||||||
this.topusers_userdupe3_name.textContent = "Username_Very_Super_Long12";
|
this.topusers_userdupe3_name.textContent = "Username_Very_Super_Long12";
|
||||||
|
this.topusers_user3_score.textContent = "0000";
|
||||||
|
}
|
||||||
|
|
||||||
|
// End subathon, change timer color, and show thank you message
|
||||||
|
finale() {
|
||||||
|
this.timer.textContent = "00:00";
|
||||||
|
this.timer.style.color = '#82C8B6';
|
||||||
|
this.goal_label.textContent = "Completed!";
|
||||||
|
this.goal_name.textContent = this.thankyou;
|
||||||
|
this.goal_namedupe.textContent = this.thankyou;
|
||||||
|
this.animate();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -240,6 +282,13 @@ class TimerRenderer {
|
|||||||
|
|
||||||
// Bitwise OR done to convert floats to integers if needed
|
// Bitwise OR done to convert floats to integers if needed
|
||||||
this.goal_progress.textContent = String(current | 0) + '/' + String(required | 0)
|
this.goal_progress.textContent = String(current | 0) + '/' + String(required | 0)
|
||||||
|
|
||||||
|
// Update the progress bar
|
||||||
|
if (current / required > .02) {
|
||||||
|
this.goal_bar.style.maskImage = `linear-gradient(to right, #FC98B3 0%, #FC98B3 ${((current / required) - .02) * 100}%, transparent ${(current / required) * 100}%)`;
|
||||||
|
} else {
|
||||||
|
this.goal_bar.style.maskImage = `linear-gradient(to right, #FC98B3 0%, transparent .01%)`;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -265,33 +314,39 @@ class TimerRenderer {
|
|||||||
this.topusers_user1_num.textContent = "1";
|
this.topusers_user1_num.textContent = "1";
|
||||||
this.topusers_user1_name.textContent = users[0].user_name;
|
this.topusers_user1_name.textContent = users[0].user_name;
|
||||||
this.topusers_userdupe1_name.textContent = users[0].user_name;
|
this.topusers_userdupe1_name.textContent = users[0].user_name;
|
||||||
|
this.topusers_user1_score.textContent = Math.round(users[0].amount);
|
||||||
//this.topusers_user1_name.style.animationDuration = `${this.topusers_user1_name.getBoundingClientRect().width / 50}s`;
|
//this.topusers_user1_name.style.animationDuration = `${this.topusers_user1_name.getBoundingClientRect().width / 50}s`;
|
||||||
} else {
|
} else {
|
||||||
this.topusers_user1_num.textContent = "1";
|
this.topusers_user1_num.textContent = "1";
|
||||||
this.topusers_user1_name.textContent = "";
|
this.topusers_user1_name.textContent = "";
|
||||||
this.topusers_userdupe1_name.textContent = "";
|
this.topusers_userdupe1_name.textContent = "";
|
||||||
|
this.topusers_user1_score.textContent = "0000";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (users.length >= 2) {
|
if (users.length >= 2) {
|
||||||
this.topusers_user2_num.textContent = "2";
|
this.topusers_user2_num.textContent = "2";
|
||||||
this.topusers_user2_name.textContent = users[1].user_name;
|
this.topusers_user2_name.textContent = users[1].user_name;
|
||||||
this.topusers_userdupe2_name.textContent = users[1].user_name;
|
this.topusers_userdupe2_name.textContent = users[1].user_name;
|
||||||
|
this.topusers_user2_score.textContent = Math.round(users[1].amount);
|
||||||
//this.topusers_user2_name.style.animationDuration = `${this.topusers_user2_name.getBoundingClientRect().width / 50}s`;
|
//this.topusers_user2_name.style.animationDuration = `${this.topusers_user2_name.getBoundingClientRect().width / 50}s`;
|
||||||
} else {
|
} else {
|
||||||
this.topusers_user2_num.textContent = "2";
|
this.topusers_user2_num.textContent = "2";
|
||||||
this.topusers_user2_name.textContent = "";
|
this.topusers_user2_name.textContent = "";
|
||||||
this.topusers_userdupe2_name.textContent = "";
|
this.topusers_userdupe2_name.textContent = "";
|
||||||
|
this.topusers_user2_score.textContent = "0000";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (users.length >= 3) {
|
if (users.length >= 3) {
|
||||||
this.topusers_user3_num.textContent = "3";
|
this.topusers_user3_num.textContent = "3";
|
||||||
this.topusers_user3_name.textContent = users[2].user_name;
|
this.topusers_user3_name.textContent = users[2].user_name;
|
||||||
this.topusers_userdupe3_name.textContent = users[2].user_name;
|
this.topusers_userdupe3_name.textContent = users[2].user_name;
|
||||||
|
this.topusers_user3_score.textContent = Math.round(users[2].amount);
|
||||||
//this.topusers_user3_name.style.animationDuration = `${this.topusers_user3_name.getBoundingClientRect().width / 50}s`;
|
//this.topusers_user3_name.style.animationDuration = `${this.topusers_user3_name.getBoundingClientRect().width / 50}s`;
|
||||||
} else {
|
} else {
|
||||||
this.topusers_user3_num.textContent = "3";
|
this.topusers_user3_num.textContent = "3";
|
||||||
this.topusers_user3_name.textContent = "";
|
this.topusers_user3_name.textContent = "";
|
||||||
this.topusers_userdupe3_name.textContent = "";
|
this.topusers_userdupe3_name.textContent = "";
|
||||||
|
this.topusers_user3_score.textContent = "0000";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
241
uniform-font.css
241
uniform-font.css
@@ -1,241 +0,0 @@
|
|||||||
:root {
|
|
||||||
--time-color: #453960;
|
|
||||||
--details-color: #403060;
|
|
||||||
--background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
html, body {
|
|
||||||
height: 100%;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
font-family: 'Inter', sans-serif;
|
|
||||||
background-color: var(--background-color);
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
main {
|
|
||||||
font-family: "Silkscreen", sans-serif;
|
|
||||||
font-weight: 400;
|
|
||||||
font-style: normal;
|
|
||||||
color: #EA4045;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 3.4em;
|
|
||||||
color: #404145;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 1.4em;
|
|
||||||
color: #404145;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 1em;
|
|
||||||
color: #404145;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 1.4em;
|
|
||||||
line-height: 95%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.contentContainer {
|
|
||||||
height: fit-content;
|
|
||||||
width: fit-content;
|
|
||||||
position: relative;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#MainHeart {
|
|
||||||
max-height: 100vh;
|
|
||||||
max-width: 100vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
.infoWrap {
|
|
||||||
container-type: size;
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
position: absolute;
|
|
||||||
left: 0px;
|
|
||||||
top: 0px;
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 56% 34% 1fr;
|
|
||||||
/*
|
|
||||||
grid-template-rows: 11% 28% 16% 16% 1fr;
|
|
||||||
*/
|
|
||||||
grid-template-rows: 11% 1fr 29%;
|
|
||||||
place-items: center;
|
|
||||||
text-wrap: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.infoGroup {
|
|
||||||
display: block;
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
grid-column-start: 2;
|
|
||||||
grid-column-end: 2;
|
|
||||||
grid-row-start: 2;
|
|
||||||
grid-row-end: 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.infoBox {
|
|
||||||
height: auto;
|
|
||||||
width: 100%;
|
|
||||||
/*
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(1, 1fr);
|
|
||||||
grid-auto-rows: auto;
|
|
||||||
place-items: center;
|
|
||||||
*/
|
|
||||||
font-size: 4cqh;
|
|
||||||
}
|
|
||||||
|
|
||||||
#InfoBox1 {
|
|
||||||
/*
|
|
||||||
justify-self: left;
|
|
||||||
align-self: stretch;
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
transform: translate(-8%, 5%);
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
#InfoBox2 {
|
|
||||||
/*
|
|
||||||
display: grid;
|
|
||||||
width: 100%;
|
|
||||||
justify-self: left;
|
|
||||||
align-self: stretch;
|
|
||||||
*/
|
|
||||||
transform: translate(0%, -12%);
|
|
||||||
}
|
|
||||||
|
|
||||||
#InfoBox3 {
|
|
||||||
grid-template-columns: 1fr;
|
|
||||||
grid-template-rows: 1fr 23% 23% 23%;
|
|
||||||
transform: translate(0%, -16%) scale(1, 1);
|
|
||||||
/*
|
|
||||||
justify-self: left;
|
|
||||||
align-self: stretch;
|
|
||||||
transform: translate(0%, -32%);
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
#Timer {
|
|
||||||
margin-top: 10%;
|
|
||||||
transform: translate(-7.5%, 3%) scale(.95, 1.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
#TimerInfo {
|
|
||||||
transform: translate(0%, -60%);
|
|
||||||
/* uni
|
|
||||||
font-size: 1em;
|
|
||||||
*/
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#GoalLabel {
|
|
||||||
transform: translate(5%, 0%) scale(1);
|
|
||||||
color: #404145;
|
|
||||||
}
|
|
||||||
|
|
||||||
#GoalName {
|
|
||||||
width: 100%;
|
|
||||||
transform: translate(8%, -10%) scale(1);
|
|
||||||
color: #32B993;
|
|
||||||
text-wrap: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
mask-image: linear-gradient(to right, black 85%, transparent 100%);
|
|
||||||
}
|
|
||||||
|
|
||||||
#GoalProgressWrap {
|
|
||||||
width: fit-content;
|
|
||||||
padding-left: .8cqh;
|
|
||||||
padding-right: .8cqh;
|
|
||||||
transform: translate(7%, 0%) scale(1, 1);
|
|
||||||
border-radius: 3cqh;
|
|
||||||
border: .4cqh solid;
|
|
||||||
border-color: #404145;
|
|
||||||
margin: 0 auto .8cqh auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
#GoalProgress {
|
|
||||||
transform: translate(0%, -8%) scale(1);
|
|
||||||
/* uni
|
|
||||||
font-size: 1.3em;
|
|
||||||
*/
|
|
||||||
text-align: center;
|
|
||||||
/*
|
|
||||||
font-weight: bold;
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
#TopUsers {
|
|
||||||
transform: translate(0%, 0%) scale(1);
|
|
||||||
font-weight: normal;
|
|
||||||
color: #404145;
|
|
||||||
/* uni
|
|
||||||
font-size: 1.1em;
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
.giftUserWrap {
|
|
||||||
transform: translate(18%, -8%) scale(1, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.giftUserRow {
|
|
||||||
width: 100%;
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 8% 1fr;
|
|
||||||
grid-template-rows: 1fr;
|
|
||||||
text-wrap: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-align: left;
|
|
||||||
justify-self: left;
|
|
||||||
text-align: center;
|
|
||||||
transform: translate(0%, 0%) scale(1, 1);
|
|
||||||
/* uni
|
|
||||||
font-size: 1.4em;
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
line-height: 95%;
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
.giftUserName {
|
|
||||||
margin-left: 0%;
|
|
||||||
color: #32B993;
|
|
||||||
text-align: left;
|
|
||||||
/*
|
|
||||||
background-color: blue;
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
#GiftUserName1 {
|
|
||||||
width: 23.5cqw;
|
|
||||||
mask-image: linear-gradient(to right, black 80%, transparent 100%);
|
|
||||||
}
|
|
||||||
#GiftUserName2 {
|
|
||||||
width: 21.5cqw;
|
|
||||||
mask-image: linear-gradient(to right, black 75%, transparent 100%);
|
|
||||||
/*
|
|
||||||
background-color: red;
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
#GiftUserName3 {
|
|
||||||
width: 18cqw;
|
|
||||||
mask-image: linear-gradient(to right, black 65%, transparent 100%);
|
|
||||||
}
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
<!doctype html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&family=VT323&display=swap" rel="stylesheet">
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Inter' rel='stylesheet'>
|
|
||||||
<link rel="stylesheet" href="uniform-font.css" />
|
|
||||||
<script src="timer.js"></script>
|
|
||||||
<title>v2 onefont</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<main>
|
|
||||||
<div class='contentContainer'>
|
|
||||||
<img id='MainHeart' src='src/youve_got_mail_whiteheart.png'>
|
|
||||||
<div class='infoWrap'>
|
|
||||||
<div class='infoGroup'>
|
|
||||||
<div class='infoBox' id='InfoBox1'>
|
|
||||||
<h1 id='Timer'>
|
|
||||||
00:00
|
|
||||||
</h1>
|
|
||||||
<p id='TimerInfo'>
|
|
||||||
!subathon for details
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class='infoBox' id='InfoBox2'>
|
|
||||||
<p id='GoalLabel'>
|
|
||||||
Next Goal:
|
|
||||||
</p>
|
|
||||||
<p id='GoalName'>
|
|
||||||
Discord Watch Party + Puzzles
|
|
||||||
</p>
|
|
||||||
<div id='GoalProgressWrap'>
|
|
||||||
<p id='GoalProgress'>
|
|
||||||
1234/5678
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class='infoBox' id='InfoBox3'>
|
|
||||||
<p id='TopUsers'>
|
|
||||||
Leaderboard
|
|
||||||
</p>
|
|
||||||
<div class='giftUserWrap'>
|
|
||||||
<div class='giftUserRow' id='GiftUserRow1'>
|
|
||||||
<p class='giftUserNum' id='GiftUserNum1'>
|
|
||||||
1
|
|
||||||
</p>
|
|
||||||
<p class='giftUserName'id='GiftUserName1'>
|
|
||||||
Usernamethatisverylong
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class='giftUserRow' id='GiftUserRow2'>
|
|
||||||
<p class='giftUserNum' id='GiftUserNum2'>
|
|
||||||
2
|
|
||||||
</p>
|
|
||||||
<p class='giftUserName'id='GiftUserName2'>
|
|
||||||
Usernamethatisverylong
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class='giftUserRow' id='GiftUserRow3'>
|
|
||||||
<p class='giftUserNum' id='GiftUserNum3'>
|
|
||||||
3
|
|
||||||
</p>
|
|
||||||
<p class='giftUserName'id='GiftUserName3'>
|
|
||||||
Usernamethatisverylong
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
Reference in New Issue
Block a user