407 lines
7.2 KiB
CSS
407 lines
7.2 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Autour+One&family=Kanit:wght@500&display=swap');
|
|
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0");
|
|
|
|
body {
|
|
font-family: 'Autour One', sans-serif;
|
|
}
|
|
|
|
*[shown="false"] {
|
|
visibility: hidden;
|
|
display: none;
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
*[shown="true"] {
|
|
opacity: 1;
|
|
}
|
|
|
|
.material {
|
|
font-family: 'Material Symbols Outlined', sans-serif;
|
|
}
|
|
|
|
/* ----------------- */
|
|
|
|
section#login_sec {
|
|
display: block;
|
|
position: absolute;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
background-color: #f8fbfb;
|
|
border: 2pt solid #176767;
|
|
box-shadow: 5px 5px #d3e5e5;
|
|
}
|
|
|
|
section#login_caption_sec {
|
|
padding: 1em;
|
|
background-color: #176767;
|
|
color: whitesmoke;
|
|
font-size: 1.5em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
section#login_sec input {
|
|
font-size: 1.3em;
|
|
margin-bottom: 0.3em;
|
|
}
|
|
|
|
section#screen_panel {
|
|
display: block;
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
section#content_pane, section#info_pane {
|
|
position: absolute;
|
|
display: block;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
section#content_pane {
|
|
left: 0;
|
|
width: 80vw;
|
|
/*background-color: lightcyan;*/
|
|
}
|
|
|
|
section#info_pane {
|
|
right: 0;
|
|
width: 20vw;
|
|
background-color: whitesmoke;
|
|
border-left: 5px solid #176767;
|
|
box-shadow: -5px 0 #d3e5e5;
|
|
}
|
|
|
|
.info-pane-element {
|
|
display: block;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 1em;
|
|
}
|
|
|
|
section#user_info {
|
|
position: relative;
|
|
top: 0;
|
|
background-color: #176767;
|
|
color: whitesmoke;
|
|
font-size: 18pt;
|
|
text-align: center;
|
|
height: 1.2em;
|
|
overflow: clip;
|
|
transition: 0.3s ease;
|
|
border-bottom: 0 dashed whitesmoke;
|
|
}
|
|
|
|
section#user_info:hover {
|
|
height: 6em;
|
|
border-width: 0.5em;
|
|
}
|
|
|
|
section#action_panel {
|
|
background-color: antiquewhite;
|
|
}
|
|
|
|
iframe#content_frame {
|
|
display: block;
|
|
width: calc(100% - 1em);
|
|
height: 100%;
|
|
border: 0 transparent;
|
|
}
|
|
|
|
section.window {
|
|
position: fixed;
|
|
display: block;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background-color: rgba(128, 128, 128, 0.7);
|
|
padding: 4em;
|
|
}
|
|
|
|
section.window-inner {
|
|
margin: 0 auto;
|
|
display: block;
|
|
border: 2pt solid #176767;
|
|
background-color: whitesmoke;
|
|
padding: 1em;
|
|
width: fit-content;
|
|
max-height: calc(100% - 2em);
|
|
overflow: scroll;
|
|
}
|
|
|
|
/* ----- */
|
|
|
|
section#game_list_panel {
|
|
display: block;
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
|
|
section.group-box {
|
|
margin: 1em;
|
|
left: 0;
|
|
right: 0;
|
|
background-color: #f8fbfb;
|
|
border: 0.5px solid #176767;
|
|
/*border-radius: 0 0 0.2em 0.2em;*/
|
|
box-shadow: 5px 5px #d3e5e5;
|
|
}
|
|
|
|
span.group-box-caption-container {
|
|
display: block;
|
|
left: 0;
|
|
right: 0;
|
|
background-color: #176767;
|
|
box-shadow: 0 5px #d3e5e5;
|
|
}
|
|
|
|
span.group-box-caption {
|
|
display: inline-block;
|
|
/*position: relative;*/
|
|
/*top: -0.5em;*/
|
|
color: #176767;
|
|
background-color: #d3e5e5;
|
|
font-weight: bold;
|
|
font-size: 1.2em;
|
|
padding: 1em;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
section.group-box-inner {
|
|
display: inline-table;
|
|
padding: 1em;
|
|
collapse: 1em;
|
|
border-spacing: 1em;
|
|
}
|
|
|
|
section.game-box {
|
|
display: inline-block;
|
|
position: relative;
|
|
width: 12em;
|
|
height: 12em;
|
|
border: 2pt solid #176767;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
cursor: pointer;
|
|
margin-right: 1em;
|
|
overflow: clip;
|
|
box-shadow: 5px 5px #d3e5e5;
|
|
transform: scale(100%) rotate(0);
|
|
background-color: whitesmoke;
|
|
transition: ease 0.3s;
|
|
}
|
|
|
|
section.game-box:hover {
|
|
transform: scale(105%) rotate(3deg);
|
|
z-index: 1000;
|
|
}
|
|
|
|
section.game-box-caption {
|
|
margin-top: 2em;
|
|
font-size: 1.3em;
|
|
rotate: -10deg;
|
|
background-color: #176767;
|
|
width: 13em;
|
|
position: relative;
|
|
left: -3em;
|
|
padding: 0.6em;
|
|
color: whitesmoke;
|
|
box-shadow: 0 5px #d3e5e5;
|
|
}
|
|
|
|
section.list-results-btn {
|
|
display: block;
|
|
position: absolute;
|
|
right: 0.2em;
|
|
bottom: 0.2em;
|
|
}
|
|
|
|
section#test_area {
|
|
display: block;
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
|
|
section.challenge {
|
|
display: block;
|
|
position: relative;
|
|
margin: 0 auto;
|
|
width: 40em;
|
|
/*border: 1px solid black;*/
|
|
padding: 1em;
|
|
background-color: #d3e5e5;
|
|
margin-bottom: 0.5em;
|
|
border-radius: 0.3em;
|
|
}
|
|
|
|
span.question {
|
|
font-size: 1.3em;
|
|
font-weight: bold;
|
|
color: #176767;
|
|
}
|
|
|
|
section.answer-container {
|
|
|
|
}
|
|
|
|
section.answer {
|
|
margin: 0.3em 0.8em;
|
|
display: block;
|
|
}
|
|
|
|
section.answer label {
|
|
margin-left: 0.5em;
|
|
padding: 0.3em 0.5em;
|
|
border-radius: 0.3em;
|
|
|
|
display: inline-block;
|
|
max-width: 85%;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
section.answer label.correct-answer {
|
|
border: 2px solid #176767 !important;
|
|
background-color: #176767;
|
|
color: whitesmoke;
|
|
/*padding: 0.1em;*/
|
|
}
|
|
|
|
section.answer input[type="radio"]:checked+label:not(.correct-answer) {
|
|
background-color: #176767;
|
|
color: whitesmoke;
|
|
}
|
|
|
|
section#infobox {
|
|
display: block;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
margin: 1em;
|
|
/*padding: 1em;*/
|
|
background: #f8fbfb;
|
|
border: 0.5px solid #176767;
|
|
min-width: 15em;
|
|
min-height: 5em;
|
|
box-shadow: 5px 5px #d3e5e5;
|
|
overflow: clip;
|
|
}
|
|
|
|
section#infobox > section {
|
|
padding: 1em;
|
|
}
|
|
|
|
span#game_name {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 1em;
|
|
background-color: #176767;
|
|
box-shadow: 0px 5px #d3e5e5;
|
|
color: whitesmoke;
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
section#timer {
|
|
color: #176767;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
section#percentage {
|
|
color: #176767;
|
|
}
|
|
|
|
span.infobox-description {
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.btn {
|
|
background-color: transparent;
|
|
padding: 0.3em;
|
|
border-radius: 0.2em;
|
|
font-size: 1.3em;
|
|
}
|
|
|
|
.btn:hover {
|
|
background-color: rgba(128, 128, 128, 0.30);
|
|
}
|
|
|
|
section.test-summary-record {
|
|
position: relative;
|
|
cursor: pointer;
|
|
border: 0.5px solid #176767;
|
|
margin-bottom: 0.3em;
|
|
}
|
|
|
|
.summary-sequence-number {
|
|
font-size: 2em;
|
|
display: inline-block;
|
|
background-color: #176767;
|
|
color: whitesmoke;
|
|
padding: 0.5em;
|
|
/*width: 1.5em;*/
|
|
box-shadow: 5px 0 #d3e5e5;
|
|
}
|
|
|
|
.summary-duration {
|
|
display: inline-block;
|
|
margin-left: 1em;
|
|
color: #176767;
|
|
font-size: 0.7em;
|
|
}
|
|
|
|
.summary-percentage {
|
|
display: inline-block;
|
|
position: absolute;
|
|
right: 0;
|
|
margin-left: 1em;
|
|
background-color: #176767;
|
|
padding: 0 1em;
|
|
box-shadow: -5px 0 #d3e5e5;
|
|
color: whitesmoke;
|
|
bottom: 0;
|
|
}
|
|
|
|
code {
|
|
font-family: 'Monaco', monospace;
|
|
}
|
|
|
|
img.question-image {
|
|
display: block;
|
|
position: relative;
|
|
margin: 1em auto;
|
|
border-radius: 0.3em;
|
|
max-width: 100%;
|
|
}
|
|
|
|
section.seq-num {
|
|
display: block;
|
|
position: absolute;
|
|
right: 0;
|
|
padding: 0.5em;
|
|
bottom: 0;
|
|
background-color: #176767;
|
|
color: whitesmoke;
|
|
border-bottom-right-radius: 0.3em;
|
|
border-top-left-radius: 0.3em;
|
|
width: 2em;
|
|
}
|
|
|
|
section.bad-answer {
|
|
background-color: #e5d8d3;
|
|
}
|
|
|
|
section.bad-answer section.answer input[type="radio"]:checked+label:not(.correct-answer) {
|
|
background-color: #aa8a7d;
|
|
}
|
|
|
|
section#further-info {
|
|
font-size: 0.8em;
|
|
padding: 0.4em 0;
|
|
} |