MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 209: Line 209:
.LocationInfobox {
.LocationInfobox {
max-width: 100%;
max-width: 100%;
padding-bottom: 2vh;
padding-bottom: 3vh;
}
}



Revision as of 13:25, 27 September 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; }

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

.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%;
padding-bottom: 3vh;
}

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

.tournament_image {
padding-top: 3vh;
}

}