MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 184: Line 184:


.backtotournament img {
.backtotournament img {
width: 30%;
width: 20%;
height: auto;
height: auto;
}
}


.backtotournament pre {
.backtotournament pre {
background-color: none !important;
background-color: transparent !important;
}
}



Revision as of 09:23, 3 October 2023

/* CSS placed here will be applied to all skins */

.mainPageTable {

border-collapse: collapse;

}

.mainPageTable a{

color:white;

}

.mainPageTable td {

width: 50%;
border: 0px solid transparent;
background-clip: padding-box;
transition: all 0.3s ease-in-out;

}

.mainPageTable a
{
    display:block;
    width:100%;
}

.mainPageTable td:hover {

background-size: 110%;

}

.mainPageTable tr > td + td {
  border-left-width: 10px;
}

.mainPageTable tr + tr > td {
  border-top-width: 10px;
}

.mainPagePaddingBottom {
padding-bottom: 2vh;
}

.mainPageTableItem {

background-position: center;
background-size: 100%;
border-radius: 20px;
height: 40vh;

}

.gameItem{
height: 30vh;
}

.mainPageTableItem h2 {
font-size: 2em;
}

.mainPageGame {

background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/1/17/Laststandkeyart.jpg/424px-Laststandkeyart.jpg");

}

.mainPageLocations {

background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/f/f5/Arena.png/800px-Arena.png");

}

.mainPageAbout {

background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/1/1d/Arena_Keyart.jpg/800px-Arena_Keyart.jpg");

}

.mainPageHardware {

background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/e/ee/Hardware_bg.jpeg/800px-Hardware_bg.jpeg");
background-position: 50% 20%;

}

/* --------------- */
/* GAME PAGE TILES */
/* --------------- */

.gameMD {

background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/5/55/Mtd_thumb.jpeg/800px-Mtd_thumb.jpeg");

}

.gameA {

background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/7/7e/Ar_thumb.jpeg/800px-Ar_thumb.jpeg");

}

.gameG {

background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/a/a0/Glm_thumb.jpeg/800px-Glm_thumb.jpeg");

}

.gameLL {

background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/3/3f/Tll_thumb.jpeg/800px-Tll_thumb.jpeg");

}

.gameBE {

background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/f/f8/Be_thumb.jpeg/800px-Be_thumb.jpeg");

}

.gameLS {

background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/9/93/Ls_thumb.jpeg/800px-Ls_thumb.jpeg");

}

/* --------------- */
/* --------------- */
/* --------------- */

.ls_championship {

background-color: white;
color: black !important;
text-align: center !important;

}

.tournament_image {
width: 100%;
}

.tournament_image img {
width:100%;
height: auto;
}

.tournament_image pre {
display: grid;
padding:0;
margin:0;
}

.citizen-table-wrapper {
overflow-x: unset;
}

.GameInfobox, .LocationInfobox {
vertical-align: baseline; 
text-align: center; 
border-collapse: collapse; 
float:right; 
border: 1px solid black; 
}

.LocationInfobox {
max-width: 30%;
}

.GameInfobox img, .LocationInfobox img {
width: 100%;
height: auto;
}

.GameText, .LocationText {
float:left; 
width: 70%;
}

.citizen-footer, .mw-body-footer { display: none; }

.backtotournament img {
width: 20%;
height: auto;
}

.backtotournament pre {
background-color: transparent !important;
}


@media only screen and (max-width: 1410px) {
.GameInfobox {
width: 25%;
}

@media only screen and (max-width: 1000px) {

.mainPageTableItem {

background-size: cover;
}

.mainPageTableItem h2 {

font-size: 1.3em;
text-decoration: underline;
}

.mainPageTable td:hover {

background-size: cover;

}

.GameInfobox, .LocationInfobox {
float:left !important;
width: 100%;
}

.LocationInfobox {
max-width: 100%;
margin-bottom: 3vh;
}

.GameText, .LocationText {
float:left;
width:100%;
}

.tournament_image {
padding-top: 3vh;
}

}