diff --git a/index.html b/index.html index bf4f847..f6190b6 100644 --- a/index.html +++ b/index.html @@ -30,6 +30,19 @@

Your score : 4

+ +
+

Scoreboard

+
+

12

+

Kybo_

+
+
+

12

+

Kybo_

+
+
+ \ No newline at end of file diff --git a/sources/css/style.css b/sources/css/style.css index cd1cbd2..eded58a 100644 --- a/sources/css/style.css +++ b/sources/css/style.css @@ -67,6 +67,65 @@ h1{ text-align: center; } +#scoreboard{ + width: 400px; + color: rgb(0, 255, 200); + height: 100%; + position: fixed; + top: 0; + border: 1px solid rgb(0, 255, 200); + background-color: rgba(0, 0, 0, 0.5); + border-right: none; + border-top: none; + border-bottom: none; + right: 0; + transition-duration: 0.8s; +} + +#scoreboard.close{ + transform: translateX(300px); +} + +#scoreboard.close .row-score{ + display: none; +} + +#scoreboard.close h1{ + text-orientation: upright; + writing-mode: vertical-rl; + margin-top: 250px; + padding-left: 30px; +} + +#scoreboard h1{ + width: auto; + font-size: 35px; + margin: 0; + padding: 0; + padding: 10px; + padding-top: 40px; + color:#FF4294; + padding-bottom: 40px; +} + +#scoreboard .row-score{ + width: 100%; + font-size: 50px; + font-family: 'Teko', sans-serif; + padding: 0 50px; + margin-bottom: 20px; +} + +.pseudo{ + margin: 0; +} + +#scoreboard .player-score{ + float: right; + margin: 0; +} + + #menu button{ display: block; text-align: center;