diff options
| author | stonedDiscord <Tukz@gmx.de> | 2025-01-30 12:50:33 +0000 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2025-01-30 12:54:25 +0000 |
| commit | f681d5c85088b66e47c46b56521056e59c9cdb7f (patch) | |
| tree | 27f7825d233f69ca75c088a672b246bc5130deb5 | |
| parent | afca5f12b75a2af1d75d74d952c2a955daa033a1 (diff) | |
make css look nicer
| -rw-r--r-- | public/index.html | 12 | ||||
| -rw-r--r-- | webAO/styles/master.css | 51 |
2 files changed, 20 insertions, 43 deletions
diff --git a/public/index.html b/public/index.html index aa9db3f..785c8d1 100644 --- a/public/index.html +++ b/public/index.html @@ -137,11 +137,9 @@ </noscript> <ul class="serverlist"> <details name="servers"> - <summary> - <p>Singleplayer</p> - <a class="button" href="client.html?mode=replay">Join</a> - </summary> - <p>This is your computer</p> + <summary><p>Singleplayer</p> + <a class="button" href="client.html?mode=replay">Join</a></summary> + <p>Try out things</p> </details> </ul> <ul class="serverlist" id="masterlist"></ul> @@ -160,9 +158,7 @@ <a href="https://discord.gg/9rYQVVQ">Join us on Discord</a> </p> <p> - <a href="https://servers.aceattorneyonline.com/privacy" - >Privacy Policy</a - > + <a href="https://servers.aceattorneyonline.com/privacy">Privacy Policy</a> </p> </div> </form> diff --git a/webAO/styles/master.css b/webAO/styles/master.css index a893f6e..5261f75 100644 --- a/webAO/styles/master.css +++ b/webAO/styles/master.css @@ -57,32 +57,6 @@ color: black; } -#serverdescription_container { - display: block; - top: 100px; - position: fixed; - right: 0; - width: 185px; - height: 276px; - padding: 0px; - background: url("../desc.png") no-repeat; - border: 2px solid #888; - border-radius: 5px; -} - -#serverdescription_content { - width: 180px; - height: 270px; - position: relative; - color: white; - white-space: pre-line; - word-wrap: break-word; - text-align: center; - margin: 2px; - overflow-x: visible; - overflow-y: auto; -} - #serverlist_container { margin-right: 200px; } @@ -95,14 +69,14 @@ .serverlist details { position: relative; right: 0; - background-color: #fff; + background-color: #333; + color: #fff; border: 2px solid #bbb; border-radius: 5px; padding: 0px; padding-left: 10px; display: block; min-width: 400px; - height: 50px; margin: 10px; margin-left: auto; margin-right: auto; @@ -110,19 +84,30 @@ cursor: default; } -.serverlist details:hover { +.serverlist summary { + height: 50px; + background-color: #fff; + color: #000; +} + +.serverlist summary:hover { background-color: #ffff6b; border-color: #efad21; } -.serverlist details p { +.serverlist summary p { display: inline-block !important; } -.serverlist details a { +.serverlist summary a { float: right; } +details[open] { + background: url("../desc.png"); + color: #fff; +} + #serverlist_container h2 { text-align: center; margin-left: auto; @@ -376,10 +361,6 @@ a.nav-link { text-decoration: none !important; } -ul.serverlist p { - color: black; -} - a.nav-link { padding: 8px; } |
