Move some styles back into index.html

These should only apply on servers.minetest.net, not when
the server list is embedded into another page.
This commit is contained in:
sfan5
2019-02-13 13:28:32 +01:00
parent 8d0c99b5d0
commit 8aa2efd5eb
2 changed files with 12 additions and 13 deletions

View File

@@ -3,6 +3,17 @@
<head>
<meta charset="utf-8">
<title>Minetest server list</title>
<style>
body {
font-family: Roboto, Ubuntu, "Segoe UI", sans;
}
a {
color: #336B87;
}
a:visited {
color: #336BA1;
}
</style>
</head>
<body>
<div id="server_list"></div>

View File

@@ -1,7 +1,3 @@
#server_list {
font-family: Roboto, Ubuntu, "Segoe UI", sans;
}
#server_list .total {
font-weight: bold;
}
@@ -31,15 +27,7 @@
background-color: #F3F3F3;
}
#server_list a {
color: #336B87;
}
#server_list a:visited {
color: #336BA1;
}
#server_list .clients, #server_list .uptime, #server_list .ping {
#server_list td.clients, #server_list td.uptime, #server_list td.ping {
text-align: center;
}