learn-request-queue/public/style.css

123 lines
1.6 KiB
CSS

body {
margin: 3em 0.5em 0em 0.5em;
text-align: center;
background-color: #444;
font-family: Roboto, sans-serif;
color: #ddd;
}
a {
color: #ddd;
}
a:hover {
color: #fff;
}
#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;
}
#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, th, td {
border: 2px solid #aaa;
border-collapse: collapse;
}
#requests th, td {
padding: 5px;
}
#requests .request-score {
text-align: right;
}
#addRequestModalBackground {
display: none;
position: fixed;
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #444;
background-color: #444a;
align-items: center;
justify-content: center;
}
#addRequestModal {
position: relative;
padding: 1em;
display: inline-block;
background-color: #444;
box-shadow: 0px 5px 20px black;
}
#addRequestModal h1 {
margin-top: 0;
}
#addRequestModalClose {
position: absolute;
top: 0;
right: 0.5em;
font-size: 150%;
}
#addRequestModalClose a {
text-decoration: none;
}