learn-request-queue/public/style.css

182 lines
2.4 KiB
CSS
Raw Normal View History

2020-06-24 21:34:53 +00:00
body {
2020-09-13 18:12:52 +00:00
font-size: 150%;
2020-07-05 00:51:24 +00:00
margin: 3em 0.5em 0em 0.5em;
2020-06-24 21:34:53 +00:00
text-align: center;
2020-07-05 00:51:24 +00:00
background-color: #444;
font-family: Roboto, sans-serif;
color: #ddd;
}
2020-09-13 18:12:52 +00:00
/* why are you like this CSS */
button, input, select {
font-size: 100%;
}
2020-07-05 00:51:24 +00:00
a {
color: #ddd;
}
a:hover {
color: #fff;
}
.error {
padding: 0.25em 0.5em;
margin: 1em;
display: none;
background-color: #f00c;
}
2020-09-13 18:12:52 +00:00
#navbar {
2020-07-05 00:51:24 +00:00
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;
}
2020-09-13 18:12:52 +00:00
#navbar div {
2020-07-05 00:51:24 +00:00
margin-left: 5px;
margin-right: 5px;
}
2020-09-13 18:12:52 +00:00
#navbar a {
2020-07-05 00:51:24 +00:00
text-decoration: none;
}
#nav-title {
2020-07-05 00:51:24 +00:00
font-weight: bold;
color: #eee;
}
div#nav-login {
margin-left: auto;
}
2020-09-13 18:12:52 +00:00
div#nav-streamerpic, div#nav-userpic {
margin-right: -5px;
height: 2.5em;
}
2020-09-13 18:12:52 +00:00
div#nav-userpic {
margin-left: auto;
}
2020-09-13 18:12:52 +00:00
#nav-streamerpic img, #nav-userpic img {
height: 80%;
margin-top: 0.25em;
margin-bottom: 0.25em;
}
2020-09-13 18:12:52 +00:00
#nav-streamerpic img, #nav-userpic img, .table-userpic {
border-radius: 9000px;
margin-right: 5px;
}
2020-07-05 00:51:24 +00:00
#main {
margin: 0.5em;
padding: 0.5em;
display: inline-block;
background-color: #282828;
box-shadow: 0px 5px 20px black;
2020-06-24 21:34:53 +00:00
}
2020-07-04 06:22:28 +00:00
#requests {
display: inline-block;
text-align: left;
}
2020-09-13 18:12:52 +00:00
#requests table, #requests th, #requests td {
2020-07-05 00:51:24 +00:00
border: 2px solid #aaa;
2020-07-04 06:22:28 +00:00
border-collapse: collapse;
}
2020-09-13 18:12:52 +00:00
#requests th, #requests td {
2020-07-04 06:22:28 +00:00
padding: 5px;
}
#requests .request-score {
text-align: right;
}
2020-07-05 22:20:22 +00:00
#modalBackground {
2020-07-05 22:20:22 +00:00
display: none;
position: fixed;
align-items: center;
justify-content: center;
2020-07-05 22:20:22 +00:00
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #444;
background-color: #444a;
}
.modal {
display: none;
2020-07-05 22:20:22 +00:00
position: relative;
padding: 1em;
2020-07-06 03:16:41 +00:00
margin: 2em;
width: 100%;
2020-09-13 18:12:52 +00:00
max-width: 30em;
2020-07-05 22:20:22 +00:00
background-color: #444;
box-shadow: 0px 5px 20px black;
}
2020-11-01 20:07:16 +00:00
.modal h1, .modal h2, .modal h3 {
margin: 0;
2020-07-05 22:20:22 +00:00
}
2020-07-06 03:16:41 +00:00
#addRequestInputContainer {
margin-top: 1em;
2020-07-06 03:16:41 +00:00
display: flex;
justify-content: center;
}
#addRequestInputContainer input {
flex: 1;
max-width: 330px;
margin: 0 5px;
}
.modalClose {
2020-07-05 22:20:22 +00:00
position: absolute;
top: 0;
right: 0.5em;
font-size: 150%;
}
.modalClose a {
2020-07-05 22:20:22 +00:00
text-decoration: none;
}
2020-08-08 04:32:06 +00:00
.request-vote > button {
width: 100%;
}
.table-userpic {
height: 32px;
margin-top: -3px;
margin-bottom: -7px;
}
2020-11-01 20:07:16 +00:00
#scoreModifierInput {
width: 4em;
text-align: right;
}
#scoreModifierHelp {
font-size: 75%;
}
#deleteRequestLink {
color: #f00;
}