tiny html fixes

This commit is contained in:
GDColon 2021-12-11 00:59:13 -05:00
parent 36b0aa7ff8
commit 2fe2ebfdd5
4 changed files with 9 additions and 4 deletions

View file

@ -115,7 +115,7 @@
<a id="levelLink"><h2 class="smallGold inline gdButton" id="levelID" style="margin-left: 6vh"></h2></a> <a id="levelLink"><h2 class="smallGold inline gdButton" id="levelID" style="margin-left: 6vh"></h2></a>
</div> </div>
<div id="leaveComment" style="position:absolute;bottom: 0%;right: 0%;width: 14%;text-align: right;transform: translate(30%, 40%);"> <div id="leaveComment" style="display: none; position:absolute;bottom: 0%;right: 0%;width: 14%;text-align: right;transform: translate(30%, 40%);">
<img class="gdButton" src="../assets/comment.png" width="60%" onclick="$('#content').trigger('input'); $('#postComment').show();"> <img class="gdButton" src="../assets/comment.png" width="60%" onclick="$('#content').trigger('input'); $('#postComment').show();">
</div> </div>

View file

@ -66,7 +66,7 @@
</tr> </tr>
</table> </table>
<p>Website created by <a class="menuLink" href="https://gdcolon.com">GD Colon</a>.<br>Pretty much everything other than that belongs to <a class="menuLink" href="http://robtopgames.com">RobTopGames</a>.</p> <p>Website created by <a class="menuLink" href="https://gdcolon.com">Colon</a>.<br>Pretty much everything other than that belongs to <a class="menuLink" href="http://robtopgames.com">RobTop Games</a>.</p>
<p style="margin-top: -0.5%"><a class="menuLink" href="https://gdcolon.com/tools">GD Tools</a> <p style="margin-top: -0.5%"><a class="menuLink" href="https://gdcolon.com/tools">GD Tools</a>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a class="menuLink" href="./api">API</a> <a class="menuLink" href="./api">API</a>

View file

@ -74,7 +74,7 @@
<div id="discordLinks" style="display: none; position:absolute; top: 12%; right: 1.5%; width: 21%; text-align: right;"> <div id="discordLinks" style="display: none; position:absolute; top: 12%; right: 1.5%; width: 21%; text-align: right;">
<a id="discord" target="_blank" title="Official leaderboard Discord!" href="https://discord.gg/leaderboard"><img class="gdButton" src="../assets/discord.png" width="20%"></a> <a id="discord" target="_blank" title="Official leaderboard Discord!" href="https://discord.gg/leaderboard"><img class="gdButton" src="../assets/discord.png" width="20%"></a>
<a id="altDiscord" target="_blank" title="Accurate leaderboard Discord!" style="display: none; filter: hue-rotate(300deg)" href="https://discord.gg/Uz7pd4"><img class="gdButton" src="../assets/discord.png" width="20%"></a> <a id="altDiscord" target="_blank" title="Accurate leaderboard Discord!" style="display: none; filter: hue-rotate(300deg)" href="https://discord.gg/Uz7pd4d"><img class="gdButton" src="../assets/discord.png" width="20%"></a>
</div> </div>
<div class="supercenter" id="loading" style="height: 10%; top: 47%; display: none;"> <div class="supercenter" id="loading" style="height: 10%; top: 47%; display: none;">

View file

@ -161,6 +161,11 @@ if (type == "followed") {
searchFilters += ("&creators=" + followed.join()) searchFilters += ("&creators=" + followed.join())
} }
if (window.location.host.match(/\./g).length > 1) { // gdps check
$('#gdWorld').remove()
$('#normalGD').remove()
}
function Append(firstLoad, noCache) { function Append(firstLoad, noCache) {
loading = true; loading = true;
@ -257,7 +262,7 @@ function Append(firstLoad, noCache) {
</div>`) </div>`)
}) })
$('#searchBox').append('<div style="height: 4.5%"></div>') $('#searchBox').append('<div style="height: 4.5%"></div>').scrollTop(0)
$('#loading').hide() $('#loading').hide()
loading = false; loading = false;
} }