Files
RochesterX ae6618e0de css hacks
2025-12-02 00:00:51 -05:00

664 lines
11 KiB
CSS

:root {
--light-blue: #5C9FFE;
--charcoal: #333333;
--dark-grey: #4A4A4A;
--light-grey: #D4D4D4;
--royal-blue: #0047AB;
}
html {
height: 100%;
margin: 0;
}
body {
background-color: var(--light-grey);
min-height: 90vh;
margin-top: 0px;
margin: 0px;
table-layout: auto;
}
.header {
background-color: var(--dark-grey);
grid-area: header;
display: flex;
flex-direction: row;
height: 60px;
align-items: center;
justify-content: space-between;
}
.logo {
color: var(--light-blue);
font-weight: bold;
}
.header-left {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
gap: 20px;
padding-left: 20px;
}
.header-right {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-end;
gap: 10px;
padding-right: 20px;
}
.nw {
grid-area: nw;
}
.ne {
grid-area: ne;
}
.se {
grid-area: se;
}
.sw {
grid-area: sw;
}
.cursor-question {
cursor: help;
position: relative;
display: inline-block;
}
.cursor-question .tooltip-text {
visibility: hidden;
font: 16px tahoma, sans-serif;
width: 200px;
background-color: #0C0C0C;
border: 2px solid #EEEEEE;
color: #EEEEEE;
text-align: left;
border-radius: 6px;
padding: 5px;
padding-left: 8px;
padding-right: 8px;
z-index: 1;
position: absolute;
top: 110%;
left: 50%;
transform: translate(-50%, 20px);
opacity: 0;
transition: opacity 0.3s ease-out, transform 0.3s ease-out;
font-size: 14px;
}
.cursor-question:hover {
text-decoration: underline;
}
.cursor-question:hover .tooltip-text {
visibility: visible;
transform: translate(-50%, 0px);
opacity: 1;
}
.box {
border: 2px solid #AAAAAA;
background-color: white;
border-radius: 16px;
margin: 4px;
padding-top: 6px;
box-shadow: 5px 5px 5px #00000055;
display: block;
flex-direction: column;
justify-content: flex-start;
text-justify: center;
text-align: left;
gap: 5px;
overflow: hidden;
}
.box p {
padding-left: 20px;
font-size: 24px;
}
.box table {
width: 100%;
}
.box tbody {
display: block;
overflow-y: auto;
overflow-x: hidden;
max-height: calc((100vh - 60px) / 2 - 100px);
}
.box thead,
.box tbody tr {
display: table;
width: 100%;
table-layout: fixed;
}
.box table td:first-child,
.box table th:first-child {
width: 35px;
white-space: nowrap;
}
.box table td:nth-child(2),
.box table th:nth-child(2) {
width: 58px;
white-space: nowrap;
}
.subtitle {
font: 12px tahoma, sans-serif;
color: var(--light-blue);
margin: 0;
}
.subtitle p {
margin: 0;
}
.logo-container {
display: flex;
flex-direction: column;
align-items: center;
gap: -20px;
}
.box table thead td {
font-weight: bold;
}
#table tbody,
#stats tbody,
.box tbody {
overflow-y: auto;
width: calc(100% + 15px);
}
@-moz-document url-prefix() {
#table tbody,
#stats tbody,
.box tbody {
overflow-y: auto;
width: calc(100% + 12px);
}
}
#favorites tbody {
overflow-y: auto;
width: calc(100%);
}
#table thead td {
font-weight: bold;
white-space: nowrap;
}
#table tbody {
display: block;
overflow-y: auto;
overflow-x: hidden;
max-height: 500px;
}
#table thead,
#table tbody tr {
display: table;
width: 100%;
table-layout: fixed;
}
#table td:first-child,
#table th:first-child {
width: 58px;
white-space: nowrap;
}
#table thead td {
font-weight: bold;
}
#table td:nth-child(5),
#table th:nth-child(5) {
width: 30px;
white-space: nowrap;
}
#table {
width: 800px;
}
#stats thead td {
font-weight: bold;
writing-mode: vertical-lr;
transform: rotate(180deg);
text-orientation: mixed;
white-space: nowrap;
}
#stats tbody {
display: block;
overflow-y: auto;
overflow-x: hidden;
max-height: 500px;
}
#stats thead,
#stats tbody tr {
display: table;
width: 100%;
table-layout: fixed;
}
/*
#stats td:nth-child(1),
#stats th:nth-child(1) {
width: 30px;
white-space: nowrap;
}
*/
#stats thead td {
font-weight: bold;
}
/*
#stats td:nth-child(2),
#stats th:nth-child(2) {
width: 45px;
white-space: nowrap;
}
#stats td:nth-child(3),
#stats th:nth-child(3) {
width: 20px;
white-space: nowrap;
}
*/
#stats {
width: 800px;
}
.player-box {
border: 2px solid #AAAAAA;
background-color: white;
border-radius: 16px;
margin: 4px;
min-height: auto;
box-shadow: 5px 5px 5px #00000055;
display: block;
flex-direction: column;
justify-content: flex-start;
text-justify: center;
text-align: left;
gap: 5px;
overflow: hidden;
}
.grid-container {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto;
grid-template-areas:
"header header"
"nw ne"
"sw se";
}
.center {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
margin-top: 30px;
}
.info-container {
display: flex;
flex-direction: row;
gap: 15px
}
.info {
display: flex;
flex-direction: row;
gap: 5px;
}
.info p {
min-width: 0px;
}
hr {
min-width: 110%;
margin: auto 0;
}
form {
background-color: white;
display: flex;
flex-direction: column;
align-items: center;
border: 2px solid #AAAAAA;
border-radius: 20px;
padding: 10px;
margin: 20px;
padding-left: 50px;
padding-right: 50px;
gap: 5px;
}
.success {
display: none;
filter: hue-rotate(110deg);
flex-direction: column;
align-items: center;
border: 2px solid #a34b4b;
background-color: #3a1414;
border-radius: 10px;
padding: 5px;
padding-left: 10px;
padding-right: 10px;
margin-top: -10px;
gap: 5px;
}
.success p {
color: #ff7777;
}
.error {
display: none;
flex-direction: column;
align-items: center;
border: 2px solid #a34b4b;
background-color: #3a1414;
border-radius: 10px;
padding: 5px;
padding-left: 10px;
padding-right: 10px;
margin-top: -10px;
gap: 5px;
}
.error p {
color: #ff7777;
}
.loginForm input {
margin: 5px;
}
a {
background-color: transparent;
max-height: 20px;
border-radius: 5px;
color: var(--royal-blue);
text-align: center;
align-items: center;
justify-content: center;
font: 16px tahoma, sans-serif;
transition: transform 0.1s ease-in, border 0.05s ease-in;
}
a.button {
background-color: var(--light-blue);
border: 2px solid var(--royal-blue);
border-radius: 5px;
padding: 5px;
gap: 5px;
transition: transform 0.1s ease-in, border 0.1s ease-in;
color: #0c0c0c;
text-decoration: none;
text-align: center;
align-items: center;
justify-content: center;
font: 16px tahoma, sans-serif;
}
a.button:hover {
transform: translate(0px, -3px);
}
a.button:focus {
transform: translate(0px, 3px);
}
button {
background-color: var(--light-blue);
border: 2px solid var(--royal-blue);
border-radius: 5px;
padding: 5px;
gap: 5px;
transition: transform 0.1s ease-in, border 0.1s ease-in;
color: var(#0c0c0c);
text-decoration: none;
text-align: center;
align-items: center;
justify-content: center;
font: 16px tahoma, sans-serif;
}
input {
background-color: var(--light-grey);
border: 2px solid var(--dark-grey);
margin: 5px;
padding: 2px;
padding-left: 5px;
gap: 5px;
color: var(--dark-grey);
text-decoration: none;
text-align: left;
align-items: flex-start;
justify-content: flex-start;
font: 16px tahoma, sans-serif;
transition: transform 0.05s ease-out, border 0.1s ease-in;
}
input:hover {
border: 2px solid black;
}
input:focus {
border: 2px solid var(--royal-blue);
outline: none;
}
input:focus-visible {
border: 2px solid var(--royal-blue);
outline: none;
}
select {
background-color: black;
border: 2px solid #606060;
margin: 5px;
border-radius: 5px;
padding: 2px;
padding-left: 5px;
gap: 5px;
width: 100%;
color: white;
text-decoration: none;
text-align: left;
align-items: flex-start;
justify-content: flex-start;
color: #eeeeee;
font: 16px tahoma, sans-serif;
transition: transform 0.05s ease-out, border 0.1s ease-in;
}
select:hover {
border: 2px solid #cccccc;
}
select:focus {
outline: none;
}
select:focus-visible {
outline: none;
border: 2px solid white;
}
button:hover {
transform: translate(0px, -3px);
}
button:focus {
transform: translate(0px, 3px);
}
a:hover {
transform: translate(0px, -1px);
}
a:focus {
transform: translate(0px, 3px);
}
.register {
display: flex;
flex-direction: row;
align-items: center;
gap: 6px;
}
.inputGroup {
display: flex;
flex-direction: row;
gap: 16px;
}
table {
border-collapse: collapse;
border: 1px solid #CCCCCC;
}
thead {
color: #FFFFFF;
/*border: 2px solid #CCCCCC;*/
}
thead th {
font-weight: bold;
font: 14px tahoma, sans-serif;
border: 1px solid #CCCCCC;
padding: 6px 12px;
}
td {
font: 14px tahoma, sans-serif;
border: 1px solid #CCCCCC;
padding: 6px 12px;
color: var(--dark-grey);
}
tr:nth-child(even) {
background-color: #ffffff;
}
tr:nth-child(odd) {
background-color: #f8f8f8;
}
h2 {
color: var(--dark-grey);
font: 32px "Verdana";
margin: 0;
}
h3 {
color: var(--dark-grey);
font: 24px "Verdana";
margin: 0;
}
p {
color: var(--dark-grey);
font: 16px tahoma, sans-serif;
min-width: 50px;
margin-top: 5px;
margin-bottom: 5px;
}
:focus {
outline: none;
}
.checkbox {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
}
.checkbox input {
appearance: none;
position: absolute;
opacity: 0;
}
.mark {
width: 32px;
height: 24px;
border: 2px solid #FFFFFF;
border-radius: 4px;
color: #CCCCCC;
font: 16px tahoma, sans-serif;
font-weight: bold;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.1s ease-in, transform 0.1s ease-in;
}
.checkbox input:hover + .mark {
border: 2px solid #CCCCCC;
}
.checkbox input:checked + .mark {
border: 2px solid #606060;
color: #888888;
}
.days {
display: flex;
flex-direction: row;
gap: 3px;
}
.time {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 3px;
}
.time input {
height: 24px;
}
.time .dash {
width: 30px;
height: 1px;
background: rgb(255, 255, 255);
}
.row {
display: flex;
flex-direction: row;
}