MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 391: Line 391:
   display: flex;
   display: flex;
   height: 20vh;
   height: 20vh;
  flex-wrap: wrap; /* Allows items to wrap onto multiple lines as needed */
  justify-content: center; /* Center the images horizontally */
  align-items: center; /* Center the images vertically */
  gap: 10px; /* Adds space between the images */
}
.dpStores img {
  max-width: 100%; /* Ensures images are not larger than their containers */
  height: auto; /* Maintains the aspect ratio of the images */
  flex: 1 1 auto; /* Allows images to grow and shrink as needed */
}
@media (max-width: 600px) {
  .dpStores {
    flex-direction: column; /* Stack images vertically on small screens */
  }
}
}



Revision as of 12:07, 31 January 2024

/* 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-main h4 span {
font-weight: 300;
}

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

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

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

.hoverableImage {
transition: 0.2s ease-in-out;
}

.hoverableImage:hover {
transform: scale(1.02);
}

.linktree_wrapper {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

.linktreeItem {
width: 49.2%;
}

.page-Dont_Puke .mw-header {
display: none;
}

.page-Dont_Puke navContainer pre {
display: none;
}

.dpNavContainer{
display:flex;
align-items: start;
justify-content: start;
padding-bottom: 10%;
}

.dpLogo {
float: left;
width: 10%;
flex-shrink: 0;
}

.dpLogo img {
width: 90%;
height: auto;
float:left;
filter: drop-shadow(0px 5px 31px #ffffff);
}


.dpNav {
float: right;
width: 100%;
color: white;
}

.dpNav ul {
list-style:none;
float: right;
text-align: right;
}

.dpContainer pre {
color: white;
padding: 0;
overflow: visible;
background-color: transparent;
border: none;
margin: 0;
height: 0;
}

.dpTrailerContainer {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}

.dpTrailer {
width: 100%;
height: 300px;
background-color: white;
}

.dpSteamContainer {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #131a21;
color: white;
padding: 2vw;
text-align: center;
}

.dpSteamText p {
margin: 0 0 2vw 0;
font-size: 2vw;
font-weight: bold;
min-font-size: 16px;
}

.dpSteamBuyBox {
width: 30%;
height: 20vw;
background-color: #ffffff;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
max-width: 300px;
max-height: 100px;
min-width: 200px;
min-height: 40px;
}

.dpStores {
  display: flex;
  height: 20vh;
}


/*-------------------*/
/*-----  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;
}

.linktree_wrapper .tournament_image {
padding-top: 0;
}

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

.backtotournament pre {
margin: 0;
}

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

.socials-main {
padding-bottom: 5vh;
}

.linktreeItem {
width: 100%;
}


}