Fixed icon color oopsie

This commit is contained in:
GDColon 2021-02-11 13:16:25 -05:00
parent 82b7dfa7a7
commit 2f9ce914f0
3 changed files with 10 additions and 7 deletions

View file

@ -99,10 +99,6 @@
<h1 class="inline smallerer spaced dailyLevel" style="display: none; margin: 0 0 0 0">#[[DAILYNUMBER]]<span style="font-size: 2.5vh; vertical-align: middle;" class="h3Size" id="dailyTime"></span></h1>
</div>
<div class="transparentBox center" style="position:absolute; bottom: 32%; left: 0; right: 0; width: 75vh; margin-left: auto; margin-right: auto">
<p class="pre" style="padding: 0 5%; white-space:normal">[[DESCRIPTION]]</p>
</div>
<div class="center valign" style="position:absolute; top: 10.5%; left: 27%; transform:scale(0.8); height: 100%; width: 20%">
<img class="spaced" src="../assets/difficulties/[[DIFFICULTYFACE]].png" height="15%" style="margin-bottom: 0%">
<h1 class="smaller" id="difficultytext" style="transform:scale(0.9);">[[DIFFICULTY]]</h1>
@ -123,6 +119,10 @@
<h1 class="inline smaller spaced orbs">[[ORBS]]</h1>
</div>
<div class="transparentBox center" style="position:absolute; bottom: 32%; left: 0; right: 0; width: 75vh; margin-left: auto; margin-right: auto">
<p class="pre" style="padding: 0 5%; white-space:normal">[[DESCRIPTION]]</p>
</div>
<div class="brownBox" id="songBox" style="position:absolute; bottom: 4%; left: 0; right: 0; width: 85vh; height: 20%; margin-left: auto; margin-right: auto;">
<div style="margin-left: 0.5%">
<h1 class="pre slightlySmaller" id="songname">[[SONGNAME]]</h1>

View file

@ -37,11 +37,11 @@ let sampleIcons = require('./misc/sampleIcons.json')
let achievements = require('./misc/achievements.json')
let achievementTypes = require('./misc/achievementTypes.json')
let shopIcons = require('./misc/shops.json')
let colorList = require('./icons/colors.json')
let music = require('./misc/music.json')
let gdIcons = fs.readdirSync('./assets/previewicons')
let colorList = JSON.parse(fs.readFileSync('./icons/colors.json', 'utf8')) // need a clone of this
let assetPage = fs.readFileSync('./html/assets.html', 'utf8')
let gdIcons = fs.readdirSync('./assets/previewicons')
let whiteIcons = fs.readdirSync('./icons').filter(x => x.endsWith("extra_001.png")).map(function (x) { let xh = x.split("_"); return [xh[1] == "ball" ? "ball" : forms[xh[0]] || xh[0], +xh[xh[1] == "ball" ? 2 : 1]]})
app.accountCache = {}

View file

@ -22,9 +22,12 @@
[ "Flub", 25, 3, 12, 1 ],
[ "GD Jaden", 74, 13, 12, 1 ],
[ "Juniper", 98, 40, 12, 1 ],
[ "klaux", 46, 22, 25, 1 ],
[ "Knobbelboy", 37, 10, 14, 0 ],
[ "Knots", 50, 40, 3, 1 ],
[ "Krisz", 126, 18, 14, 1 ],
[ "KrmaL", 30, 9, 12, 1 ],
[ "lemoncak3", 107, 11, 12, 0 ],
[ "Lemons", 93, 7, 11, 1 ],
[ "Loafeeee", 102, 8, 22, 1 ],
[ "Michigun", 22, 15, 12, 1 ],
@ -38,9 +41,9 @@
[ "SrGuillester", 23, 12, 15, 1 ],
[ "Technical", 48, 0, 13, 0 ],
[ "TheRealSdSlAyEr", 74, 3, 12, 1 ],
[ "TrusTa", 30, 7, 3, 1 ],
[ "tubular9", 98, 10, 3, 0 ],
[ "Unknown68D", 133, 5, 3, 1 ],
[ "ViPriN", 133, 11, 13, 1 ],
[ "XShadowWizardX", 115, 12, 7, 1 ]
]