fixed some bugs in /toys/
This commit is contained in:
+7
-16
@@ -28,10 +28,8 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="mainDiv">
|
<div id="mainDiv">
|
||||||
<div id="navBarContainer" data-alt="byte, noAnim"></div>
|
<div class="toyUl">
|
||||||
|
<div class="toyLi">
|
||||||
<ul class="toyUl">
|
|
||||||
<li class="toyLi">
|
|
||||||
<button onclick="slideTransition('/toys/license', event)" class="toyContainer borderedRect">
|
<button onclick="slideTransition('/toys/license', event)" class="toyContainer borderedRect">
|
||||||
<img class="toyImg" src="/assets/boykisserLicense.png">
|
<img class="toyImg" src="/assets/boykisserLicense.png">
|
||||||
<div class="toyTextContainer">
|
<div class="toyTextContainer">
|
||||||
@@ -39,8 +37,8 @@
|
|||||||
<p class="desc">Automatically generates a "Boykissser license" for you. Free of charge and very silly.</p>
|
<p class="desc">Automatically generates a "Boykissser license" for you. Free of charge and very silly.</p>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</div>
|
||||||
<li class="toyLi">
|
<div class="toyLi">
|
||||||
<button onclick="slideTransition('/toys/loading', event)" class="toyContainer borderedRect">
|
<button onclick="slideTransition('/toys/loading', event)" class="toyContainer borderedRect">
|
||||||
<img class="toyImg" src="/assets/byte_dice_fancy_64x64.png">
|
<img class="toyImg" src="/assets/byte_dice_fancy_64x64.png">
|
||||||
<div class="toyTextContainer">
|
<div class="toyTextContainer">
|
||||||
@@ -48,17 +46,10 @@
|
|||||||
<p class="desc">The same loading screen as the website uses but less clutter and infinite. (Loading the rest of the description...)</p>
|
<p class="desc">The same loading screen as the website uses but less clutter and infinite. (Loading the rest of the description...)</p>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
</li>
|
|
||||||
<li class="toyLi">
|
|
||||||
<button onclick="slideTransition('/libs', event)" class="toyContainer borderedRect">
|
|
||||||
<img class="toyImg" src="/assets/js.png" style="border-radius: 16px;">
|
|
||||||
<div class="toyTextContainer">
|
|
||||||
<h1>Libraries</h1>
|
|
||||||
<p class="desc">A few JS libraries that I have made.</p>
|
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</div>
|
||||||
</li>
|
|
||||||
</ul>
|
<div id="navBarContainer" data-alt="byte, noAnim"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="loadingScreen"></div>
|
<div id="loadingScreen"></div>
|
||||||
|
|||||||
+10
-5
@@ -1,7 +1,9 @@
|
|||||||
.toyContainer {
|
.toyContainer {
|
||||||
border: none;
|
border: none;
|
||||||
display: grid;
|
display: inline-grid;
|
||||||
width: 100%;
|
width: 25%;
|
||||||
|
min-width: 100%;
|
||||||
|
max-width: 512px;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
grid-template-rows: calc(32px * var(--pxDensity)) 1fr;
|
grid-template-rows: calc(32px * var(--pxDensity)) 1fr;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
@@ -42,9 +44,12 @@ button:active {
|
|||||||
}
|
}
|
||||||
.toyUl {
|
.toyUl {
|
||||||
padding: calc(3px * var(--pxDensity));
|
padding: calc(3px * var(--pxDensity));
|
||||||
display: grid;
|
display: inline-flex;
|
||||||
grid-template-columns: repeat(4, 1fr);
|
width: fit-content;
|
||||||
gap: calc(6px * var(--pxDensity))
|
justify-content: flex-start;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: calc(6px * var(--pxDensity));
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
.toyLi {
|
.toyLi {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user