(Created page with "→Main page CSS: .tile { width: 100%; padding: 1.3rem 1.5rem 0.6rem; background: var(--color-surface-2); border: 1px solid var(--border-color-base); } →Homepage Buttons effects (main content grid): .home-tile { position: relative; display: inline-block; height: 140px; width: 180px; margin: 1px; overflow: hidden; } .home-tile img { position: absolute; width: 180px; height: 140px; transition: 0.3s; } .home-tile .home-tile-silver img {...") |
No edit summary |
||
| Line 13: | Line 13: | ||
display: inline-block; | display: inline-block; | ||
height: 140px; | height: 140px; | ||
width: | width: 140px; | ||
margin: 1px; | margin: 1px; | ||
overflow: hidden; | overflow: hidden; | ||
| Line 20: | Line 20: | ||
.home-tile img { | .home-tile img { | ||
position: absolute; | position: absolute; | ||
width: | width: 140px; | ||
height: 140px; | height: 140px; | ||
transition: 0.3s; | transition: 0.3s; | ||
Revision as of 10:19, 5 November 2023
/* Main page CSS */
.tile {
width: 100%;
padding: 1.3rem 1.5rem 0.6rem;
background: var(--color-surface-2);
border: 1px solid var(--border-color-base);
}
/* Homepage Buttons effects (main content grid) */
.home-tile {
position: relative;
display: inline-block;
height: 140px;
width: 140px;
margin: 1px;
overflow: hidden;
}
.home-tile img {
position: absolute;
width: 140px;
height: 140px;
transition: 0.3s;
}
.home-tile .home-tile-silver img {
top: 0;
z-index: 1;
}
.home-tile .home-tile-gold img {
bottom: 0;
background: radial-gradient(circle at 50% 75%, #727272 0, #151515 50%);
z-index: 2;
opacity: 0;
}
.home-tile .home-tile-link {
position: absolute;
bottom: 0;
width: 100%;
background-color: var(--color-surface-0);
text-align: center;
text-transform: uppercase;
color: var(--color-primary);
text-shadow: 0 0 2px;
font-size: 12px;
z-index: 4;
font-family: "Noto Sans", sans-serif;
}
.home-tile .home-tile-link a {
color: var(--color-primary);
text-decoration: none;
}
.home-tile:hover .home-tile-gold img {
opacity: 1;
}
h1, h2 {
margin-top: 0;
}
/* Tables */
.wikitable th {
text-align:center;
}
.wikitable th, .wikitable td {
padding: var(--space-xs);
}
.wikitable tbody tr:hover {
background:none;
}
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
background-position-x: center;
background-position-y: 90%;
padding-bottom: 12px;
padding-right: 0.5em;
}