mirror of
https://github.com/sigmasternchen/mobmash.click
synced 2025-03-15 08:09:02 +00:00
feat: Add links to Minecraft Wiki on results page
This commit is contained in:
parent
07c2c9018e
commit
b44aba30ce
2 changed files with 14 additions and 3 deletions
|
@ -132,8 +132,6 @@ h2 {
|
|||
width: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.choice {
|
||||
position: relative;
|
||||
}
|
||||
|
@ -273,6 +271,17 @@ h2 {
|
|||
background-color: white;
|
||||
}
|
||||
|
||||
.results-list td a, .results-list td a:visited {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.results-list td a:hover {
|
||||
color: grey;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#disclaimer p {
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
|
|
|
@ -13,7 +13,9 @@
|
|||
<img alt="<?= $mob["name"] ?>" src="/images/mobs/<?= $mob["image"] ?>" />
|
||||
</td>
|
||||
<td>
|
||||
<?= $mob["name"] ?>
|
||||
<a target="_blank" href="https://minecraft.wiki/w/<?= str_replace(" ", "_", $mob["name"]) ?>">
|
||||
<?= $mob["name"] ?>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<?= number_format($mob["rating"]) ?>
|
||||
|
|
Loading…
Reference in a new issue