From f05fc6cf1560148ada15a0fbc87f8d9047e0c523 Mon Sep 17 00:00:00 2001 From: tmn Date: Mon, 2 Nov 2020 11:15:27 +0100 Subject: [PATCH] +Farben und Position (CSS) --- style.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index d98f9e5..c4d3530 100644 --- a/style.css +++ b/style.css @@ -4,11 +4,15 @@ ul { padding: 0; overflow: hidden; background-color: #333; + height: auto; + width: 800px; + position: absolute; + top: 5%; } li { float: left; - border-right:1px solid #bbb; + border-right:1px solid #bbbbbb; } li:last-child { @@ -35,6 +39,7 @@ li a:hover:not(.active) { transform: translate(-50%, -50%); left: 50%; top: 50%; + background-color: #ffffff; } .game{ border: solid black 0.1em; @@ -47,4 +52,8 @@ li a:hover:not(.active) { body{ text-align: center; justify-content: center; + background-color: #585858; + display: flex; + flex-direction: row; + justify-content: center; } \ No newline at end of file