genreviews-revisited/web/genreviews.css
2021-09-14 09:33:13 -07:00

337 lines
5.5 KiB
CSS

* {
box-sizing: border-box;
}
:root {
font-size: 12px;
-moz-tab-size: 4;
tab-size: 4;
}
body {
margin: 0;
background-color: #251d1d;
color: #d3cfcf;
font-family: sans-serif;
display: flex;
background-image: radial-gradient(farthest-corner at 0 0, #383232, #504848);
}
.wrapper {
margin: 0 auto;
max-width: 1440px;
border: 2px solid rgba(180, 180, 180, 0.5);
border-top: none;
border-bottom: none;
flex: 1;
background-color: #362424;
padding: 1rem;
min-height: 100vh;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEUAAAAAAABAQEBgYGCAgICfn5+/v7/f39////9kxz1CAAAACXRSTlMACAgICAgICAhC6HyyAAABKUlEQVQYGXXBgQAAQRACwEMIIYQQQghhEUII/Ql+5il2yWx1u9jbEr5fdOqLBbJOKipN3q9Zh3IOcAuUIGPeL3hJgWJKoqBMqPcrOWxKZiiopmu392tE584Ae4VZG8b7FR86hWuWqZIvl/cL2S1USkjzmU2a90thYqI9Z+eGOF3fLxYLxyQMGQV3jN6vXJw4FwwsdNY5eb9mcneRGrYoUuLu/bIuuRSHtVoC35L3C55yCK8WvGuEOO9XxVOh0y24tN4av1+UYoydLtUYCkneL5oOndkyTsXVVt8viTyeaCOHdScMeb/ICxC1thJdc7D8fmGKT9Ilpkd1gvJ+8XLmEXdRlC6TxverCUMqlbDwmEy99+scwhaFcxEqrnjvVxoB6SVsrgMxL+/PB1BGohFFyy7bAAAAAElFTkSuQmCC');
background-repeat: repeat;
}
h1 {
font-size: 2.5rem;
margin: 0;
text-shadow: 2px 2px 2px black;
}
h1 a {
color: white;
text-decoration: none;
}
table#main {
width: 100%;
margin: 20px 0;
border-collapse: collapse;
position: relative;
}
#main td, #main th {
border: 1px solid #4f3f3f;
}
#main thead th {
text-shadow: 1px 1px 1px black, 2px 2px 1px rgba(255, 255, 255, 0.1);
padding: 5px 10px;
border-bottom: 2px solid white;
background-color: #6b4141;
color: white;
position: sticky;
top: 0;
background-image: linear-gradient(to bottom, #6b4141, #523232);
}
#main tbody td {
padding: 3px 6px;
}
#main tbody tr:hover td {
background-color: rgba(0, 0, 0, 0.18);
color: white;
}
a {
color: #e89292;
transition: color linear 100ms;
}
a:hover {
text-decoration: underline;
color: #ffd2d2;
}
#data {
position: relative;
}
.overflow {
white-space: nowrap;
text-overflow: ellipsis;
display: inline-block;
overflow: hidden;
}
.number {
text-align: right;
font-family: monospace;
}
.centered {
text-align: center;
}
.mono {
font-family: monospace;
}
#main .game {
max-width: 15rem;
}
#main .developer {
max-width: 10rem;
}
#main .publisher {
max-width: 10rem;
}
#main .genre {
max-width: 8rem;
}
#main .theme {
max-width: 8rem;
}
#main .viewpoint {
max-width: 8rem;
}
.modal-container {
display: none;
position: fixed;
justify-content: center;
align-items: center;
z-index: 10;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.4);
}
.modal {
max-height: 90vh;
max-width: 90vw;
border: 2px solid gray;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.75);
border-radius: 4px;
padding: 10px;
background-color: #484848;
background-image: linear-gradient(to bottom, #555555, #484848);
overflow: auto;
}
.main-menu ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
font-size: 0.9rem;
}
.main-menu li {
display: block;
}
.main-menu li .fas {
margin: 0 2px;
text-decoration: none;
}
.main-menu li:not(:last-child):after {
content: "\2022";
margin: 0 0.25rem;
}
.main-menu a {
display: inline-block;
color: #c0c0c0;
}
.main-menu a:hover {
color: white;
}
.header {
display: flex;
border-bottom: 2px dotted #6c5959;
align-items: center;
}
.main-menu {
margin-left: auto;
}
#game-detail-modal {
min-width: 50rem;
font-size: 1.1rem;
}
#game-detail-modal .game-name {
font-weight: bold;
font-size: 2rem;
text-shadow: 2px 2px 2px black;
color: white;
margin-right: 2rem;
}
#game-detail-modal .info-line {
display: flex;
justify-content: space-between;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
align-items: center;
}
#game-detail-modal .inline-list {
display: flex;
justify-content: space-between;
}
#game-detail-modal .inline-list > div:not(:last-child):after {
content: "\2022";
margin: 0 0.25rem;
}
#game-detail-modal .game-blurb {
font-style: italic;
background-color: #5b5555;
border: 1px solid #888282;
border-radius: 2px;
padding: 0.5rem 1rem;
}
.game-detail-header {
border-bottom: 2px solid rgba(129, 96, 96, 0.51);
margin-bottom: 1rem;
}
.game-review-list li {
margin: 0.2rem 0;
}
hr {
height: 0;
width: 100%;
margin: 5px 0;
border-top: 1px solid #463434;
border-bottom: 1px solid #936666;
}
#main thead th a {
color: white;
text-decoration: none;
}
#load-more-container {
display: flex;
justify-content: center;
}
#info-modal .modal {
font-size: 1.25rem;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
max-width: 800px;
}
p {
line-height: 150%;
}
.query-console-elapsed {
text-align: center;
}
.query-console-result {
margin-top: 20px;
}
.query-console-result table {
border-collapse: collapse;
box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
margin: 0 auto;
}
.query-console-result th, .query-console-result td {
border: 1px solid #6c6b6b;
padding: 3px 6px;
}
.query-console-result th {
color: white;
border-bottom: 2px solid white;
}
.query-console-result tbody {
font-family: monospace;
}
.query-console-result .number {
text-align: right;
}
.query-console-result .null {
text-align: center;
font-variant: small-caps;
color: #b0b0b0;
}
.query-console-result tbody tr:hover td {
background-color: rgba(0, 0, 0, 0.18);
color: white;
font-weight: bold;
}
.query-console-result .row-number {
text-align: right;
color: #c6b52e;
}
.query-console-result tbody tr:hover .row-number {
color: #c6b52e;
}
.sql {
background-color: #424242;
color: #83d5d5;
}
textarea.sql {
width: 100%;
height: 200px;
margin: 10px 0;
padding: 10px;
border: 1px solid gray;
border-radius: 2px;
}