learn-request-queue/public/style.css

145 lines
1.9 KiB
CSS
Raw Normal View History

2020-06-24 21:34:53 +00:00
body {
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;
}
a {
color: #ddd;
}
a:hover {
color: #fff;
}
.error {
padding: 0.25em 0.5em;
margin: 1em;
display: none;
background-color: #f00c;
}
2020-07-05 00:51:24 +00:00
#topbar {
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;
}
#topbar div {
margin-left: 5px;
margin-right: 5px;
}
#topbar a {
text-decoration: none;
}
#logo {
font-weight: bold;
color: #eee;
}
div#nav-login {
margin-left: auto;
}
div#nav-userpic {
margin-left: auto;
margin-right: -5px;
height: 2.5em;
}
#nav-userpic img {
height: 80%;
margin-top: 0.25em;
margin-bottom: 0.25em;
}
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;
}
#requests table, th, td {
2020-07-05 00:51:24 +00:00
border: 2px solid #aaa;
2020-07-04 06:22:28 +00:00
border-collapse: collapse;
}
#requests th, td {
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%;
max-width: 480px;
2020-07-05 22:20:22 +00:00
background-color: #444;
box-shadow: 0px 5px 20px black;
}
.modal h1 {
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;
}