icon rows have equal widths

and max height
and now 10px border radius
This commit is contained in:
neon443
2024-04-03 13:15:20 +01:00
parent 0f7ddbaedd
commit c68b01cbb2
2 changed files with 17 additions and 2 deletions

View File

@@ -41,14 +41,16 @@
<b>├─</b><a href="https://neon443.github.io/sandspiel/">Sandspiel</a><br>
<b>└─</b><a href="https://neon443.github.io/sandboxels/">Sandboxels</a><br><br>
</p>
<table style="width:100%">
<table>
<tr>
<td class="icn"><a href="https://neon443.github.io/eaglercraft152"><img src="images/minecraft/1.5.png" alt=""></a></td>
<td class="icn"><a href="https://neon443.github.io/eaglercraftX188"><img src="images/minecraft/1.8.png" alt=""></a></td>
<td class="icn"><a href="https://neon443.github.io/webEPK"><img src="images/webEPK/icon.png" alt=""></a></td>
</tr>
<tr>
<td class="label"><p>Minecraft 1.5.2</p></td>
<td class="label"><p>Minecraft 1.8.8 u27</p></td>
<td class="label"><p>webEPK</p></td>
</tr>
</table><br>
</body>

View File

@@ -117,17 +117,30 @@ h3 {
}
/* Bar styling */
table {
table-layout: fixed;
width: 100%;
}
td {
padding: 0px;
}
td p {
text-align: center;
font-size: 15px;
}
td img{
height: 100px;
display: block;
margin-left: auto;
margin-right: auto;
transform: scale(0.9, 0.9);
border-radius: 5px;
border-radius: 10px;
transition: all 0.2s ease-in-out 100ms;
position: relative;
}
td img:hover {
transform: scale(1, 1);
}