Add map
This commit is contained in:
parent
438c123c8e
commit
261f27c5f6
3 changed files with 19 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
||||||
# Minecraft-server status
|
# Minecraft-server status
|
||||||
|
|
||||||
## Open Source software used
|
## Open Source software used
|
||||||
- [minestat](https://github.com/FragLand/minestat)
|
- [minestat](https://github.com/FragLand/minestat)
|
||||||
|
- [Minecraft Overviewer](https://github.com/overviewer/Minecraft-Overviewer)
|
|
@ -21,5 +21,10 @@
|
||||||
echo("<h2 class='offline status'>offline</h2>");
|
echo("<h2 class='offline status'>offline</h2>");
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<div class="map-container">
|
||||||
|
<iframe src="map" class="iframe-map"></iframe>
|
||||||
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
12
main.css
12
main.css
|
@ -29,6 +29,16 @@ h3 {
|
||||||
background-color: rgb(248, 48, 88);
|
background-color: rgb(248, 48, 88);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.map-container {
|
||||||
|
width: 100%;
|
||||||
|
height: 30pc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iframe-map {
|
||||||
|
width: 100%;
|
||||||
|
height: 30pc;
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 1000px) {
|
@media only screen and (max-width: 1000px) {
|
||||||
body {
|
body {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
|
@ -45,4 +55,4 @@ h3 {
|
||||||
p {
|
p {
|
||||||
font-size: 3pc;
|
font-size: 3pc;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue