From 323bbe0161d14c206f27744f0ab46f03cc0e2db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Gl=C3=BCpker?= Date: Fri, 23 Mar 2018 22:27:20 +0100 Subject: Introduce new page with serverinfo --- static/style.css | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index 454aedd..2601971 100644 --- a/static/style.css +++ b/static/style.css @@ -148,6 +148,77 @@ span.maininfo { font-size: x-small; } span.steamname { font-size: medium; /* font-family: serif; */ font-weight: bold; width: 110px; word-wrap: break-word; } img.gameimage { width: 95%; } +div.server { + display: inline-block; + width: 450px; + min-height: 500px; + text-align: center; + margin: 2px 5px 2px 5px; + padding: 0; + overflow: hidden; + /* border: 1px solid lightblue; */ +} + +div.serverheader { + display: inline-block; + vertical-align: top; + width: 448px; + height: 20px; + margin: 0; + padding-bottom: 5px; + overflow: hidden; + /* background-color: pink; */ + /* border: 1px solid pink; */ +} + +div.serverdata { + display: inline-block; + vertical-align: top; + width: 440px; + height: 478px; + margin: 0; + padding-bottom: 0; + overflow: hidden; + overflow-y: auto; + /* overflow: scroll; */ +} + +a.servername { + color: lightblue; + font-weight: bold; + /* text-decoration: underline; */ +} + +ul.server { + list-style-type: none; + margin: 0 10px 10px 10px; + padding: 0; + overflow: hidden; + /* background-color: #ff00ff; */ +} + +li.servermap { + float: left; + padding: 0 5px; +} + +li.playerinfo { + float: right; +} + +table.playerlist { + width: 100%; + margin: 0 20px 0 20px; +} + +td { + text-align: center; +} + +td.name { + text-align: left; +} + /***************************************/ /* Colors for different online states: */ /* offline online busy away snooze */ -- cgit v1.2.3