body { padding: 0; margin: 0; font-family: "Fira Sans", sans-serif; font-size: 18px; background-color: #eee; overflow-x: hidden; display: flex; height: 100%; flex-direction: column; } html { height: 100%; margin: 0; } header { width: 100%; height: 100px; padding-top: 15px; padding-bottom: 15px; background-color: #003366; font-family: 'Fira Mono', monospace; text-align: center; color: #eee; } iframe { width: 100%; height: 100%; border: 0; } #content { clear: both; height: 100%; width: 55%; margin: 0 auto; } footer { width: 100%; margin: auto; text-align: center; height: auto; background-color: #00274f; padding: 15px; color: #eee; } table { width: 100%; } table, th, td { border: 1px solid black; } /* Navigation der Seite: Realisierung als Flex-Box, um die Navigation nach Implementierung weiterer Seiten problemlos erweitern zu können */ #nav_container { width: 100%; background-color: #00274f; border-top: 2px solid #003366; } .nav-dropdown { height: 0; display: none; color: #eee; width: max-content; } .nav-dropdown-box { position: relative; display: block; top: 10px; left: -10.2px; width: 110%; height: 22px; color: #eee; background-color: #003366; border-top: 2px solid #003366; padding: 5px 0px 5px 0px; } .nav-dropdown-box:hover { position: relative; display: block; top: 10px; color: #eee; background-color: #114477; } nav { width: 60%; margin: 0 auto; } nav ul { display: flex; flex-direction: row; margin: 0; padding: 0; } nav ul li { list-style: none; padding: 10px; flex-grow: 1; text-align: center; } nav ul li:hover { cursor: pointer; list-style: none; padding: 10px; flex-grow: 1; background-color: #003366; text-align: center; } nav ul li .nav-button { font-size: 20px; display: block; text-decoration: none; color: #eee; } @media only screen and (max-width: 768px) { /* For mobile phones: */ nav { width: 100%; } nav ul { display: flex; flex-direction: column; margin: 0; padding: 0; } #content { clear: both; width: 90%; margin: 0 auto; } #discord_widget { width: 100%; } .widget { display: none; } } /* Headlines, Fonts and Styling */ header h1 { font-family: "Fira Mono", monospace; text-shadow: 1px 1px #67909C; } h1 { font-size: 48px; margin: 0px; } h2 { font-size: 32px; margin: 10px 0px; } a { cursor: pointer; text-decoration: none; color: #003366; } .separator { width: 100%; height: 1px; background-color: black; margin: 25px 0px; } .widget { position: absolute; margin: 10px; padding: 10px; border-style: solid; border-color: #001937; border-width: 1px; border-bottom-width: 0; border-radius: 16px; width: max-content; background-color: #00274f; } #sessionWidget { bottom: 110px; right: 25px; width: 350px; height: 210px; } #donate { bottom: 100px; left: 15px; } /* Positions-Classes: Extra-Klassen, die genutzt werden, um Formulare zu zentrieren */ .center { text-align: center; } #discord_widget { margin: 0 auto; width: 350px; } .right { float: right; margin: 20px; } .left { float: left; margin: 20px; } /* Wrapper Classes */ .fluent { color: inherit; } .fluent:hover { color: inherit; } .fluent:visited { color: inherit; }