a { text-decoration: none; } body {font-family: Arial, Helvetica, sans-serif; background-image: linear-gradient(to right, rgb(38, 134, 62), rgb(89, 89, 175)) } /* Set a style for all buttons */ button { background-color: #6d4087; color: rgb(29, 24, 24); padding: 14px 20px; margin: 8px 0; border: none; cursor: pointer; width: 100%; } $orange: #ffa600; $grey:#f3f3f3; $white: #fff; $base-color:$orange ; /* Mixin's */ @mixin transition { -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; } @mixin corners ($radius) { -moz-border-radius: $radius; -webkit-border-radius: $radius; border-radius: $radius; -khtml-border-radius: $radius; } body { background:$base-color; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; height:100%; } .wrapper { width: max-content; margin: 30px auto; color:$white; text-align:center; float:left; } h1, h2, h3 { font-family: 'Roboto', sans-serif; font-weight: 100; font-size: 2.6em; text-transform: uppercase; } button{ @include corners (5px); background:$base-color; color:$white; border: solid 1px $white; border-radius: 8px; text-decoration:none; cursor:pointer; font-size:1.2em; padding:18px 10px; width:80px; margin: 10px; outline: none; &:hover{ @include transition; background:$white; border: solid 1px $white; color:$base-color; } } input[type=text], input[type=password] input[type=time]{ width: 30%; margin: 8px 0; padding: 12px 20px; display: inline-block; border: 2px solid rgb(58, 58, 58); box-sizing: border-box; border-radius: 12px; color: #050705; background-color: rgb(142, 142, 143); } .dark-mode { background-image: linear-gradient(to right, rgb(5, 49, 16), rgb(63, 63, 236)) } /* */ @media screen and (max-width: 950px) { .nav_cont_wrapper { display: flex; flex-wrap: wrap; flex-direction: row; align-items:center } .nav_cont_wrapper .navigation { display: flex; flex-wrap: wrap; flex-direction: column; } } @media screen and (min-width: 950px) { .nav_cont_wrapper { display: flex; flex-wrap: wrap; flex-direction: column; } .nav_cont_wrapper .navigation { display: flex; flex-wrap: wrap; flex-direction: row; justify-content: space-between; } } summary::-webkit-details-marker, summary::marker { content: ""; /* Verwendung des "Pfeil"-Symbols anstelle des Dreiecks */ color: rgb(0, 0, 0); font-size: 2em; font-weight: bold; transition: all 0.5s; } details[open] summary::-webkit-details-marker, details[open] summary::marker { content: " "; } table, th, td, caption { border: thick solid #33363d; border-collapse: collapse; } #messages { width: 50%; height: 50%; overflow-y: scroll; border: 1px solid gray; padding: 10px; margin-bottom: 10px; background-color: white; border-radius: 10px; } .message { margin-bottom: 10px; animation: fadein 0.5s; } @keyframes fadein { from { opacity: 0; } to { opacity: 1; } } .username { font-weight: bold; color: blue; } .timestamp { font-size: 12px; color: gray; } #player { display: flex; justify-content: center; align-items: center; height: 100vh; } .controls { display: flex; justify-content: center; align-items: center; } .controls button { margin: 0 10px; } #send { width: 80px; display: inline-block; } #input { width: calc(100% - 80px); display: inline-block; } table { border-collapse: collapse; width: 100%; } th, td { border: 1px solid #ddd; padding: 8px; text-align: left; } th { background-color: } tr:nth-child(even) { } tr:hover { background-color: #206926; } .rounded { border-radius: 10px; } .expired { background-color: #ff0000; color: #ffffff; } #myPopup { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 1; } #popupContent { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: white; padding: 20px; border-radius: 5px; animation-name: popupFadeIn; animation-duration: 0.5s; display: flex; flex-direction: column; } #popupContent p { margin-top: 10px; } #popupContent img { margin-top: 20px; } #popupContent button { margin-top: 10px; } #popupContent .btn-group { display: flex; justify-content: center; width: 100%; } @keyframes popupFadeIn { from { opacity: 0; transform: translate(-50%, -60%); } to { opacity: 1; transform: translate(-50%, -50%); } } .info_button{ position: absolute; right: 32px; top: 16px; font-size: 24px; } .menu-link{ color:white; text-decoration: none; margin-left: 16px; } .switch { position: absolute; top: 10px; right: 10px; display: inline-block; width: 60px; height: 34px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: relative; cursor: pointer; background-color: #ccc; border-radius: 34px; transition: background-color 0.2s; } .slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; border-radius: 50%; transition: transform 0.2s; } input:checked + .slider { background-color: #2196F3; } input:focus + .slider { box-shadow: 0 0 1px #2196F3; } input:checked + .slider:before { transform: translateX(26px); } .slider.round { border-radius: 34px; } .slider.round:before { border-radius: 50%; }