/* tpl/main.css */ body { font-family: arial; font-size: 20px; width: 100%; height: 100%; margin: 0; padding: 0; background-color: #000; color: #fff; } header { background: #000 url(../frontpage.jpg) center no-repeat; background-size: cover; width: 100%; height: 100vh; } #loginbox { position: absolute; width: 18em; left: calc(50% - 9em); bottom: 5em; } #loginbox p { background-color: #000; text-align: center; padding: 0.2em; border-radius: 0.2em; } a {color: #fff; text-decoration: underline;} ul {list-style: none; padding: 0; margin: 0;} ul.inline { display: inline; margin: 0 0.5em; position: relative; bottom: 0.2em; } li { display: inline-block; padding: 0.2em; margin: 0.1em; border-radius: 0.2em; } li img {height: 0.8em;} li > img {margin: 0 0.4em 0 0.2em;} a > li > img, li > a {margin: 0 0.2em 0 0.4em;} li a { padding: 0 0.1em; background-color: #000; border-radius: 0.2em; border: 0.05em solid #fff; } a li {border: 0.05em solid #fff; background-color: #000;} nav { vertical-align: middle; text-align: left; background-color: #9b0000; position: sticky; top: 0; z-index: 100; } nav ul {padding: 0 0.5em;} nav li { padding: 0.5em 0.75em; font-weight: bold; margin: 0; background-color: #9b0000; border: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } nav li:hover {background-color: #f00;} nav .current li {background-color: #000;} #navigation_select { display:none; background-color: #9b0000; font-weight: bold; padding: 0.5em 0.75em; width: 100%; } main {padding: 0 1.75em;} article {margin: 0 0 2em 0; max-width: 60em;} article:first-of-type {margin: 2em 0 2em 0;} article img {max-width: 100%;} h1 img {height: 0.8em;} input, select {background-color: #000; color: #fff; font-size: 100%;} input[type="submit"], button {background-color: #9b0000; color: #fff; font-size: 100%;} .login { width: 12em; text-align: center; border: 0.1em solid #fff; padding: 0.2em; margin: 0.1em; box-sizing: content-box; } .disabled, input[type="submit"].disabled { background-color: #333; } a.toggleVisibility {text-decoration: none;} h1 { background-color: #333; display: inline; padding: 0.3em 0.6em; border-radius: 0.2em; } div.toggleVisibility { padding: 1em; border: 0.3em solid #333; border-radius: 0.2em; } .group_title { border-bottom: none; border-left: 0.3em solid #333; border-right: 0.3em solid #333; padding: 0.5em; border-top: 0.2em solid #333; border-top-right-radius: 0.3em; border-top-left-radius: 0.3em; background-color: #333; } .group_title h1 { padding-left: 0; } .list_entry_row { border-bottom: 0.05em dashed #333; border-left: 0.3em solid #333; border-right: 0.3em solid #333; border-top: 0; padding: 0.2em; } .list_entry_row ul {display: inline;} .list_entry_row .block {display: block;} .list_entry {border-bottom: 0.05em dotted #333;} .list_entry:last-of-type {border-bottom: none;} .list_entry_title { border-bottom: none; border-left: 0.3em solid #333; border-right: 0.3em solid #333; padding: 0.2em; border-top: 0.1em solid #333; background-color: #333; } .list_entry .list_entry_row:last-of-type {border-bottom: none;} .list_entry:last-of-type .list_entry_row:last-of-type {border-bottom: 0.3em solid #333;} /*.list_entry:last-of-type .list_entry_title:last-of-type {border-bottom: 0.05em solid #888;}*/ .list_entry_title li {background-color: #000;} .list_entry:first-of-type .list_entry_title {border-top-right-radius: 0.2em;} .list_entry:last-of-type div:last-of-type {border-bottom-right-radius: 0.2em; border-bottom-left-radius: 0.2em;} .list_selected div {border-color: #9b0000;} .list_selected .list_entry_title {background-color: #9b0000;} #qrscanner { display: none; position: fixed; left: 2em; right: 2em; top: 2em; bottom: 2em; width: auto; height: auto; z-index: 100; background-color: #555; padding: 2em; align-items: center; flex-direction: row; justify-content: space-around; } #qrscanner_text, #qrscanner_video {/*width:100%;*/} #qrscanner_close {position: fixed; z-index: 999; right: 2.5em; top: 2.5em;} #qrscanner_video {max-height: 80%; max-width: 80%;} @media only screen and (orientation: portrait) { body {font-size: 4vw;} nav {font-size: 6vw;} #navigation_select {display:inline;font-size: 6vw;} #navigation {display:none;} main {padding: 0 1em;} nav li {padding: 1em 0.35em;} table {font-size: 4vw;} input,button,select {font-size: 4vw;} input[type=radio] {border: 0; height: 1em;} #qrscanner {flex-direction: column; padding: 0;} #qrscanner_video {max-height: 40%; max-width: 100%;} }