MediaWiki:Common.css

MediaWiki interface page
Revision as of 09:58, 14 November 2023 by Jan.vales (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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: 20vw;
height: auto;
}

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

.question {
transition: 0.3s ease-in-out;
}


.collapsible {
  transition: 0.3s ease-in-out;
  /*background-color: #eee;
  color: #444;*/
  cursor: pointer;
  padding: 18px 0 18px 0;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1.3em;
  display: inline-flex;
  align-items: center;
}

.collapsible span {
  margin-right: 15px;
}

.collapsible p {
  color: white;
  padding: 0 0 0 10%;
  display: contents;
}

.collapsible pre {
transition: 0.3s ease-in-out;
padding: 0;
background-color: transparent;
border: none;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
  /*background-color: #ccc;*/
}

.active span {
transform: scaleY(-1);
}

/* Style the collapsible content. Note: hidden by default */
.collapsible-content {
  display: none;
  overflow: hidden;
  /*background-color: #f1f1f1;*/
}

.collapsible-content p {
  margin:0;
}

.socials-main {
 display:block;
}

.socials-img {
padding-right: 5%;
display: inline;
}

.socials-img img {
height: auto;
width: 4%;
transition: ease-in-out 0.1s;
}

.socials-img img:hover {
transform: scale(1.2);
}

/*-------------------*/
/*-----  MOBILE -----*/
/*-------------------*/

@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;
}

.backtotournament img {
width: 60vw;
height: auto;
}

.backtotournament pre {
margin: 0;
}

.socials-img img {
height: auto;
width: 10%;
}

}