Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sfan5 committed Feb 13, 2019
1 parent 8d0c99b commit 8aa2efd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
11 changes: 11 additions & 0 deletions static/index.html
Expand Up @@ -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>
Expand Down
14 changes: 1 addition & 13 deletions static/style.css
@@ -1,7 +1,3 @@
#server_list {
font-family: Roboto, Ubuntu, "Segoe UI", sans;
}

#server_list .total {
font-weight: bold;
}
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 8aa2efd

Please sign in to comment.