Files

179 lines
2.7 KiB
CSS

:root {
--primary-color: #27b5e8;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
td {
padding-inline: 5px;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
tr {
background-color: white;
}
tr:hover {
background-color: #ddd;
}
tr.games_list:hover {
cursor: pointer;
}
tr.filter:hover {
background-color: inherit;
}
td.filter {
text-align: center;
}
th {
text-align: center;
background-color: var(--primary-color);
color: white;
vertical-align: middle;
padding: 4px;
}
th a {
color: white;
text-decoration: none;
/* no underline */
}
nav {
position: fixed;
top: 0;
left: 0;
right: 0;
border-bottom: 1px solid #ccc;
background-color: white;
display: flex;
padding: 0px 20px 0px 20px;
align-items: center;
flex-wrap: wrap;
z-index: 1000;
}
.nav-buttons a {
text-decoration: none;
padding: 10px 16px;
border-radius: 6px;
margin-left: 10px;
}
.nav-buttons a:hover {
text-decoration: underline;
}
.logo img {
height: 75px;
vertical-align: middle;
}
.header-link {
display: flex;
align-items: center;
justify-content: space-between;
text-decoration: none;
color: inherit;
}
.filter-icon {
width: 18px;
}
button {
color: white;
padding: 6px 12px;
border-radius: 10px;
transition: background-color 0.1s;
background-color: var(--primary-color);
border: 1px solid var(--primary-color);
}
button:hover {
background-color: #1f7fc4;
color: #f2f2f2;
box-shadow: 0 4px 12px rgba(39, 145, 232, 0.4);
}
button:active {
background-color: #1a95c2;
}
input[type=submit] {
color: white;
padding: 6px 12px;
border-radius: 10px;
transition: background-color 0.1s;
background-color: var(--primary-color);
border: 1px solid var(--primary-color);
}
input[type=submit]:hover {
background-color: #1f7fc4;
color: #f2f2f2;
box-shadow: 0 4px 12px rgba(39, 145, 232, 0.4);
}
input[type=submit]:active {
background-color: #1a95c2;
}
input[type=text],
select {
width: 25%;
height: 38px;
padding: 6px 12px;
margin: 0px 8px;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type=text].filter {
width: 80%;
}
.pagination {
display: inline-block;
align-self: center;
}
.pagination .more {
color: black;
float: left;
padding: 15px 10px;
}
.pagination a {
color: black;
float: left;
padding: 8px 16px;
text-decoration: none;
transition: background-color 0.3s;
border: 1px solid #ddd;
}
.pagination a.active {
color: white;
background-color: var(--primary-color);
border: 1px solid var(--primary-color);
}
.pagination a:hover:not(.active) {
background-color: #ddd;
}
form {
padding: 0px;
margin: 0px;
display: inline;
}