2020-09-09 13:12:26 +10:00

224 lines
3.4 KiB
CSS

:root {
--border-color: #292929;
--gray-blue: #667788;
--light-blue: #c5eff7;
}
@font-face {
font-family: 'DreamOrphans';
src: url('../../fonts/dream orphans.ttf') format('truetype');
}
@font-face {
font-family: 'Quicksand';
src: url('../../fonts/Quicksand_Book.otf');
}
@font-face {
font-family: 'QuicksandBold';
src: url('../../fonts/Quicksand_Bold_Oblique.otf');
}
.debug DIV {
border: 1px dashed #DDD;
}
BODY {
}
.main {
max-width: 1000px;
margin: 10px auto;
border: 1px solid var(--border-color);
border-radius: 5px;
font-family: 'Quicksand', Arial, Helvetica, sans-serif;
}
.content {
margin: 20px;
flex-direction: column;
}
.narrow {
max-width: 500px;
margin: 0px auto;
}
@media all and (max-width: 900px) {
.mdhide {
display: none;
}
}
@media all and (max-width: 700px) {
.smhide {
display: none;
}
UL.nav-buttons {
flex-direction: column;
}
}
/* HEADER BAR */
.navigation {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 50px;
background-color: var(--gray-blue);
color: var(--light-blue) !important;
}
.navigation > * {
white-space: nowrap;
}
.navigation A,
.navigation A:visited {
color: var(--light-blue);
text-decoration: none;
}
.navigation .brand {
font-family: 'QuicksandBold', 'Quicksand', Arial, Helvetica, sans-serif;
font-size: 1.5rem;
margin: auto 20px;
}
UL.nav-buttons {
display: flex;
list-style: none;
}
UL.nav-buttons > LI {
margin: 2px 10px;
}
.admin-actions {
text-align: right;
margin: 10px;
}
/* FORMS */
FORM {
display: flex;
flex-direction: column;
max-width: 400px;
margin: 20px auto;
}
LABEL {
margin-top: 20px;
}
TEXTAREA {
height: 50px;
}
.form-actions {
text-align: right;
margin-top: 20px;
}
.btn {
background-color: var(--gray-blue);
display: inline-block;
border: none;
color: var(--light-blue);
text-decoration: none;
border-radius: 1em;
font-size: 1em;
}
.btn:hover {
cursor: pointer;
color: white;
}
.pills {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 40px;
}
.pills A {
border: 1px solid var(--gray-blue);
padding: 4px 10px 2px 10px;
margin: 10px 5px;
border-radius: 10px;
white-space: nowrap;
}
.pills A:hover {
background-color: var(--light-blue);
text-decoration: none
}
.list-group {
display: flex;
flex-direction: column;
}
.list-group > * {
border: 1px solid var(--gray-blue);
border-radius: 10px;
padding: 2px 20px;
margin-top: 20px;
}
.list-group > A:hover {
background-color: var(--light-blue);
text-decoration: none;
}
/* PROGRESS BAR */
.progress {
display: relative;
border: 1px solid var(--border-color);
border-radius: 5px;
margin: 20px 10px;
}
.progress-bar {
width: 0%;
height: 1.5em;
background-color: var(--light-blue);
border-radius: 5px;
}
A, A:visited {
text-decoration: none;
color: var(--gray-blue);
font-weight: bold;
}
A:hover {
text-decoration: underline;
}
H1 {
text-align: center;
}
TABLE {
width: 100%;
}
TABLE.horizontal TH {
text-align: right;
}
TABLE.horizontal TD,
TABLE.horizontal TH {
padding: 5px;
}
.resource-player {
width: 100%;
border-radius: 10px;
}