169 lines
2.3 KiB
CSS
169 lines
2.3 KiB
CSS
body {
|
|
font-size: 150%;
|
|
margin: 3em 0.5em 0em 0.5em;
|
|
text-align: center;
|
|
background-color: #444;
|
|
font-family: Roboto, sans-serif;
|
|
color: #ddd;
|
|
}
|
|
|
|
/* why are you like this CSS */
|
|
button, input, select {
|
|
font-size: 100%;
|
|
}
|
|
|
|
a {
|
|
color: #ddd;
|
|
}
|
|
|
|
a:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.error {
|
|
padding: 0.25em 0.5em;
|
|
margin: 1em;
|
|
display: none;
|
|
background-color: #f00c;
|
|
}
|
|
|
|
#navbar {
|
|
padding: 0.25em 0.5em;
|
|
position: absolute;
|
|
box-sizing: border-box;
|
|
top: 0;
|
|
left: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
background-color: #666;
|
|
height: 2.5em;
|
|
}
|
|
|
|
#navbar div {
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
#navbar a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
#nav-title {
|
|
font-weight: bold;
|
|
color: #eee;
|
|
}
|
|
|
|
div#nav-login {
|
|
margin-left: auto;
|
|
}
|
|
|
|
div#nav-streamerpic, div#nav-userpic {
|
|
margin-right: -5px;
|
|
height: 2.5em;
|
|
}
|
|
|
|
div#nav-userpic {
|
|
margin-left: auto;
|
|
}
|
|
|
|
#nav-streamerpic img, #nav-userpic img {
|
|
height: 80%;
|
|
margin-top: 0.25em;
|
|
margin-bottom: 0.25em;
|
|
}
|
|
|
|
#nav-streamerpic img, #nav-userpic img, .table-userpic {
|
|
border-radius: 9000px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
#main {
|
|
margin: 0.5em;
|
|
padding: 0.5em;
|
|
display: inline-block;
|
|
background-color: #282828;
|
|
box-shadow: 0px 5px 20px black;
|
|
}
|
|
|
|
#requests {
|
|
display: inline-block;
|
|
text-align: left;
|
|
}
|
|
|
|
#requests table, #requests th, #requests td {
|
|
border: 2px solid #aaa;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
#requests th, #requests td {
|
|
padding: 5px;
|
|
}
|
|
|
|
#requests .request-score {
|
|
text-align: right;
|
|
}
|
|
|
|
#modalBackground {
|
|
display: none;
|
|
position: fixed;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #444;
|
|
background-color: #444a;
|
|
}
|
|
|
|
.modal {
|
|
display: none;
|
|
position: relative;
|
|
padding: 1em;
|
|
margin: 2em;
|
|
width: 100%;
|
|
max-width: 30em;
|
|
background-color: #444;
|
|
box-shadow: 0px 5px 20px black;
|
|
}
|
|
|
|
.modal h1 {
|
|
margin: 0;
|
|
}
|
|
|
|
#addRequestInputContainer {
|
|
margin-top: 1em;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
#addRequestInputContainer input {
|
|
flex: 1;
|
|
max-width: 330px;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.modalClose {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0.5em;
|
|
font-size: 150%;
|
|
}
|
|
|
|
.modalClose a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.request-vote > button {
|
|
width: 100%;
|
|
}
|
|
|
|
.table-userpic {
|
|
height: 32px;
|
|
margin-top: -3px;
|
|
margin-bottom: -7px;
|
|
}
|