From c9e806897f26d63ca6e5e2612b942bbb30625688 Mon Sep 17 00:00:00 2001 From: estellon Date: Tue, 27 Aug 2024 21:30:18 +0200 Subject: [PATCH] css tournament --- pong/static/styles.css | 67 ++++++++++++++++++++++++++++++------------ 1 file changed, 49 insertions(+), 18 deletions(-) diff --git a/pong/static/styles.css b/pong/static/styles.css index 4103df0..61748ff 100644 --- a/pong/static/styles.css +++ b/pong/static/styles.css @@ -260,9 +260,9 @@ button:hover { .navbar { - position: absolute; - top: 30px; - right: 10px; + position: absolute; + top: 30px; + right: 10px; padding: 10px; } @@ -270,28 +270,28 @@ button:hover { font-size: 24px; background: none; border: none; - color: #00ffff; + color: #00ffff; cursor: pointer; transition: color 0.3s ease; } .burger-menu:hover { - color: #ffffff; + color: #ffffff; } .dropdown-content { display: none; position: absolute; - top: 100%; - right: 0; - margin-top: 10px; - background-color: #1a1a2e; - color: #ffffff; + top: 100%; + right: 0; + margin-top: 10px; + background-color: #1a1a2e; + color: #ffffff; box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3); border-radius: 5px; z-index: 1; - width: max-content; + width: max-content; } .dropdown-content.show { @@ -300,18 +300,18 @@ button:hover { .dropdown-content a { - color: #ffffff; + color: #ffffff; padding: 12px 16px; text-decoration: none; display: block; - border-bottom: 1px solid rgba(255, 255, 255, 0.2); - transition: background-color 0.3s ease; + border-bottom: 1px solid rgba(255, 255, 255, 0.2); + transition: background-color 0.3s ease; } .dropdown-content a:hover { - background-color: #333; - color: #00ffff; + background-color: #333; + color: #00ffff; } .language-switcher { @@ -371,8 +371,8 @@ button:hover { width: 100%; height: 100%; overflow: auto; - background-color: rgb(0,0,0); - background-color: rgba(0,0,0,0.4); + background-color: rgb(0, 0, 0); + background-color: rgba(0, 0, 0, 0.4); padding-top: 60px; } @@ -403,4 +403,35 @@ button:hover { pre { white-space: pre-wrap; word-wrap: break-word; +} + +.tournament-waiting-room { + background-color: rgba(0, 0, 0, 0.6); + padding: 20px; + border-radius: 15px; + color: #00ffff; + width: 50%; + margin: auto; + text-align: center; + box-shadow: 0 0 30px #00ffff, inset 0 0 20px #00ffff; + +} + +.tournament-waiting-room h2 { + font-family: 'Arial', sans-serif; + font-size: 2em; + margin-bottom: 15px; + text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); +} + +.tournament-waiting-room p { + font-family: 'Verdana', sans-serif; + font-size: 1.2em; + margin-bottom: 20px; + text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); +} + +.tournament-waiting-room ul { + list-style-type: none; + padding: 0; } \ No newline at end of file