fs-quiz-tool/web/style.css

129 lines
1.8 KiB
CSS

* {
box-sizing: border-box;
}
html, body {
position: relative;
font-family: sans-serif;
font-size: 20px;
width: 100%;
min-height: 100vh;
margin: 0;
padding: 0;
}
header, footer {
padding-top: 30px;
text-align: center;
display: block;
}
footer {
position: absolute;
bottom: 0;
width: 100%;
height: 64px;
padding: 16px 0;
color: #999;
}
main {
display: block;
overflow: auto;
width: 100%;
max-width: 700px;
margin: 42px auto 0;
padding-bottom: 128px; /* Footer height */
text-align: center;
}
.warning {
padding: 8px;
background: #FF6800;
font-weight: bold;
border-radius: 4px;
}
a {
color: inherit;
}
img {
display: block;
margin: 16px auto;
max-width: 90%;
}
.view {
display: none;
text-align: center;
}
form {
text-align: left !important;
}
textarea, input, select {
margin-top: 8px;
border-radius: 3px;
}
input[type="button"], input[type="submit"] {
float: right;
cursor: pointer;
margin: 16px 0 16px 16px;
padding: 12px 16px;
border: none;
background: #C50E1F;
color: #fff;
font-size: 1em;
font-weight: bold;
}
input[type="button"].center, input[type="submit"].center {
float: none;
}
input[type="button"]:disabled, input[type="submit"]:disabled {
cursor: auto;
background: #888 !important;
}
textarea, input[type="text"], select {
background: #ddd;
margin-bottom: 16px;
padding: .5em;
border: 1px solid #888;
width: 100%;
font-size: 20px;
}
label {
cursor: pointer;
}
input[type="radio"], input[type="checkbox"] {
cursor: pointer;
margin-top: 10px;
float: left;
transform: scale(1.6);
}
input[type="radio"] + p, input[type="checkbox"] + p {
margin: 0 0 0 30px;
padding: 5px;
border-radius: 3px;
}
input[type="radio"]:checked + p {
background: #aaf;
}
input[type="radio"]:hover + p {
background: #ddd;
}
#sharing a {
font-size: 16px;
}