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
mNo edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
ul {  
ul {  
  padding-top: 0px !important;  
    padding-top: 0px !important;  
  margin-top: 0px !important;  
    margin-top: 0px !important;  
}
}




* {
* {
  box-sizing: border-box;
    box-sizing: border-box;
}
}


body {
body {
  margin: 0;
    margin: 0;
}
}


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


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


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


 
/* 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 */
.portable-infobox {
    width: 300px !important;

Revision as of 20:17, 18 July 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;