@import url(fonts.css); header { display: flex; justify-content: space-between; align-items: center; align-content: stretch; background-color: #6bb8c4; color: #f6fbfd; padding: 0 30px; } header h1 { margin: 0; } header h1 a { display: block; padding: 0 20px; color: #f6fbfd; font-size: 16pt; text-decoration: none; } header nav { display: flex; justify-content: left; margin: 0 20px; flex: 1 1 100px; } header nav a, header a.login { display: block; margin: 0; padding: 10px 20px; border-radius: 0; color: #f6fbfd; font-size: 18pt; text-decoration: none; } header nav a:hover, header a.login:hover { background-color: #48a6b4; color: #180c23; } header nav a.current, header a.login.current { background-color: #51808c; } header nav a:focus, header a.login:focus { background-color: #48a6b4; box-shadow: none; } form { display: flex; align-items: stretch; flex-direction: column; } form .errorlist { list-style-type: none; margin: 0; padding: 0; font-size: 0.7em; } form .errorlist li { border-radius: 10px; padding: 10px; border: 1px solid #ff6798; background-color: #ffcddd; color: #250f2d; margin-bottom: 10px; } form p { margin: 5px 0; width: 100%; } .helptext { font-size: 0.7em; color: rgba(37, 15, 45, 0.65); } input { display: block; width: 100%; font: inherit; font-size: 0.9em; color: black; } input[type="text"], input[type="email"], input[type="password"] { background-color: white; border: solid 1px rgba(37, 15, 45, 0.65); padding: 5px 10px; border-radius: 3px; box-shadow: none; } input[type="text"]:optional, input[type="email"]:optional, input[type="password"]:optional { border-color: rgba(37, 15, 45, 0.4); } input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus { border-color: #6bb8c4; box-shadow: 0 0 1.5px 1px #6bb8c4; } input[type="text"]:-moz-ui-invalid, input[type="email"]:-moz-ui-invalid, input[type="password"]:-moz-ui-invalid { border-color: #ff6798; box-shadow: 0 0 1.5px 1px #ff6798; } input[type="checkbox"], input[type="radio"] { width: auto; margin: 5px 10px; } input[type="submit"] { display: block; text-decoration: none; text-align: center; font-size: 100%; border-radius: 10px; padding: 10px; border: 1px solid #51808c; background-color: #c9dbe0; color: #250f2d; } input[type="submit"]:hover { background-color: #a9c6cd; } input[type="submit"]:focus { background-color: #89b0ba; box-shadow: 0 0 1.5px 1px #6bb8c4; } select { -webkit-appearance: none; appearance: none; display: block; text-decoration: none; text-align: center; font-size: 100%; border-radius: 10px; padding: 10px; border: 1px solid #51808c; background-color: #c9dbe0; color: #250f2d; width: 100%; font-size: 0.9em; margin: 0; padding: 5px 25px 5px 10px; text-align: left; background-image: url("/static/img/select_arrow.svg"); background-repeat: no-repeat; background-position: right .7em top 50%, 0 0; background-size: .65em auto, 100%; } select:hover { background-color: #a9c6cd; } select:focus { background-color: #89b0ba; box-shadow: 0 0 1.5px 1px #6bb8c4; } select:-moz-focusring { color: transparent; text-shadow: 0 0 0 #000; } .formfield { padding: 5px; margin: 10px 0; } .error_field { border-radius: 10px; background-color: rgba(255, 205, 221, 0.4); } .checkbox_input { display: flex; justify-content: space-evenly; align-items: center; } .checkbox_input .label_line { order: 1; flex: 1 1 500px; } .checkbox_input input { flex: 0 1 50px; } .fieldgroup { margin: 15px 0; } html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } body { background-color: #f6fbfd; font-size: 16pt; font-family: "Open Sans"; color: #250f2d; margin: 0; display: flex; flex-direction: column; min-height: 100vh; width: 100%; } @media (max-width: 700px) { body { font-size: 12pt; } } body > h1 { margin: 0; background-color: #51808c; color: #f6fbfd; text-align: center; } main { display: flex; justify-content: center; flex: 1 0 auto; } #main_content { width: 800px; padding: 20px; margin-bottom: 50px; text-align: justify; } footer { background-color: #6bb8c4; font-size: 12pt; text-align: center; padding: 10px; } @media (min-width: 700px) { .help_bubble { font-size: 0.7em; position: relative; bottom: 0.3ex; left: 0.2ex; } } a { text-decoration: underline; color: #2b153f; border-radius: 3px; } a:hover { color: #180c23; } :focus { outline: none; box-shadow: 0 0 1.5px 1px #2b153f; } ::-moz-focus-inner { border: none; } em { font-style: italic; font-weight: normal; } hr { border: 1px solid #c9dbe0; margin: 30px 60px; } .btn_row { display: flex; align-items: stretch; justify-content: space-evenly; flex-direction: column; } button, .btn_row a { display: block; text-decoration: none; text-align: center; font-size: 100%; border-radius: 10px; padding: 10px; border: 1px solid #51808c; background-color: #c9dbe0; color: #250f2d; margin: 10px 5px; } button:hover, .btn_row a:hover { background-color: #a9c6cd; } button:focus, .btn_row a:focus { background-color: #89b0ba; box-shadow: 0 0 1.5px 1px #6bb8c4; } button p, .btn_row a p { margin: 0; } .messages { list-style-type: none; margin: 10px 0; padding: 0; font-size: 0.8em; } .messages li { margin: 8px 0; } .error { border-radius: 10px; padding: 10px; border: 1px solid #ff6798; background-color: #ffcddd; color: #250f2d; } .info { border-radius: 10px; padding: 10px; border: 1px solid #6562ff; background-color: #c9c8ff; color: #250f2d; } .warning { border-radius: 10px; padding: 10px; border: 1px solid #f6b500; background-color: #ffd45d; color: #250f2d; } .success { border-radius: 10px; padding: 10px; border: 1px solid #00d74c; background-color: #a4ffc4; color: #250f2d; } .tooltip { position: relative; display: inline-block; opacity: 0.75; border-radius: 3px; } .tooltip .tooltiptext { visibility: hidden; display: block; background-color: black; color: rgba(255, 255, 255, 0.8); text-align: justify; padding: 10px; border-radius: 6px; font-size: 0.8em; width: 250px; /* Position the tooltip text - see examples below! */ position: absolute; left: -75px; z-index: 1; } @media (max-width: 400px) { .tooltip .tooltiptext { width: 150px; position: absolute; left: -75px; } } .tooltip .tooltiptext ul { margin: 0; padding-left: 15px; color: inherit; } .tooltip:hover, .tooltip:focus { opacity: 1; } .tooltip:hover .tooltiptext, .tooltip:focus .tooltiptext { visibility: visible; } .antispam { unicode-bidi: bidi-override; direction: rtl; } .team_infos { margin: 25px 0; padding: 0; } .team_infos p, .team_infos ul { margin: 10px; } .invite_link { display: flex; } .invite_link input { flex: 1 0 200px; margin: 10px 5px; } .invite_link button { min-width: 45px; font-size: 12pt; } table { border-collapse: collapse; width: 100%; border: 2px solid #51808c; } table td, table th { border: 1px solid #51808c; padding: 5px; text-align: left; } table th { border-bottom-width: 2px; } iframe { width: 100%; height: 400px; border: 2px solid #51808c; } .indexbar { width: 100%; display: flex; justify-content: center; align-items: stretch; } .indexbar a { text-align: center; flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; align-items: stretch; color: #040206; text-decoration: none; border-radius: 0; } .indexbar a span { margin: auto 5px; } .indexbar a:first-child { border-radius: 1ex 0 0 1ex; } .indexbar a:nth-child(odd) { background-color: rgba(107, 184, 196, 0.75); } .indexbar a:nth-child(even) { background-color: rgba(107, 184, 196, 0.6); } .indexbar a:last-child { border-radius: 0 1ex 1ex 0; } #game_infos { display: flex; align-items: center; gap: 20px; } @media (max-width: 500px) { #game_infos { flex-direction: column; } } #game_infos img { max-width: 50%; border: solid rgba(107, 184, 196, 0.75); border-radius: 10px; } #game_infos #details { flex: 1 0 auto; text-align: left; max-width: 50%; } @media (max-width: 500px) { #game_infos #details { max-width: 100%; } } #game_infos #details p { margin: 1ex; } #game_infos #details hr { margin: 1ex; }