Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 35: Line 35:
}
}


/* Hide duplicate Special Pages button in navigation sidebar /*
/* Hide duplicate Special Pages button in navigation sidebar */
#n-specialpages {
#n-specialpages {
     display: none !important;
     display: none !important;
}
}


/*
/* Make PortableInfoBox slightly wider to not cut off text */
/* Make PortableInfoBox slightly wider to not cut off text */
.portable-infobox {
.portable-infobox {
     width: 300px !important;
     width: 300px !important;
}
}
*/


.portable-infobox .pi-theme-trackbox {
/* Red infobox border for CarBox */
   border: 2px solid #00007f !important;
.portable-infobox.pi-theme-carbox {
   padding: 0.5em !important;
  border: 2px solid #7f0000;
   border-radius: 4px !important;
  padding: 0.5em;
  border-radius: 4px;
}
 
/* Green infobox border for GameBox */
.portable-infobox.pi-theme-gamebox {
  border: 2px solid #007f00;
  padding: 0.5em;
  border-radius: 4px;
}
 
/* Blue infobox border for TrackBox */
.portable-infobox.pi-theme-trackbox {
   border: 2px solid #00007f;
   padding: 0.5em;
   border-radius: 4px;
}
 
/* Fix for "Collectables" being cut off at the end on one line */
.portable-infobox .pi-secondary-font {
  margin: -1px;
}
}

Latest revision as of 21:34, 19 October 2025

ul { 
    padding-top: 0px !important; 
    margin-top: 0px !important; 
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
}


/* Create two equal columns that floats next to each other */
.main_page_column {
    float: left;
    width: 50%;
    padding: 15px;
}

/* Clear floats after the columns */
.main_page_row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:600px) {
    .main_page_column {
        width: 100%;
    }
}

/* Hide duplicate Special Pages button in navigation sidebar */
#n-specialpages {
    display: none !important;
}

/* Make PortableInfoBox slightly wider to not cut off text */
.portable-infobox {
    width: 300px !important;
}

 /* Red infobox border for CarBox */
.portable-infobox.pi-theme-carbox {
   border: 2px solid #7f0000;
   padding: 0.5em;
   border-radius: 4px;
}

/* Green infobox border for GameBox */
.portable-infobox.pi-theme-gamebox {
   border: 2px solid #007f00;
   padding: 0.5em;
   border-radius: 4px;
}

 /* Blue infobox border for TrackBox */
.portable-infobox.pi-theme-trackbox {
   border: 2px solid #00007f;
   padding: 0.5em;
   border-radius: 4px;
}

/* Fix for "Collectables" being cut off at the end on one line */
.portable-infobox .pi-secondary-font {
   margin: -1px;
}