diff --git a/html+css.html b/html+css.html index f7b4556..8919027 100644 --- a/html+css.html +++ b/html+css.html @@ -55,7 +55,7 @@ color: white; text-decoration: none; margin-left: 0px; - font-size: 50px; + font-size: 6vw; } .menu-link { @@ -71,7 +71,7 @@ .headline { text-align: center; color: rgb(0, 0, 0); - font-size: 40px; + font-size: 5vw; text-shadow: 5px 5px 3px rgba(5, 0, 0, 0.26); } @@ -90,10 +90,11 @@ .menu-links { display: flex; align-items: center; + justify-content: flex-end; /* Rechts ausrichten */ } .menu-links.show { - display: flex; /* Bei Klick auf das Symbol anzeigen */ + display: flex; } .menu { @@ -114,6 +115,7 @@ text-decoration: none; display: block; font-size: 250%; + margin: 10px; /* Abstand zwischen den Links hinzufügen */ } .mobile-menu { @@ -141,40 +143,20 @@ flex-direction: column; position: absolute; top: 80px; - left: 0; + right: 0; /* Rechts ausrichten */ background-color: #333; width: 100%; + justify-content: flex-start; /* Links oben ausrichten */ } .menu-links.show { - display: flex; /* Bei Klick auf das Symbol anzeigen */ + display: flex; } .mobile-menu.show { - display: block; /* Bei Klick auf das Symbol anzeigen */ + display: block; background-color: rgb(104, 0, 0); } - - .menu { - display: none; - } - - .close-menu { - position: absolute; - top: 10px; - right: 10px; - color: white; - cursor: pointer; - font-size: 20px; - } - } - .close-menu { - position: absolute; - top: 10px; - right: 10px; - color: white; - cursor: pointer; - font-size: 20px; } @@ -190,15 +172,11 @@
-