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> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Minetest server list</title> <title>Minetest server list</title>
<style>
body {
font-family: Roboto, Ubuntu, "Segoe UI", sans;
}
a {
color: #336B87;
}
a:visited {
color: #336BA1;
}
</style>
</head> </head>
<body> <body>
<div id="server_list"></div> <div id="server_list"></div>

View File

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