Difference between revisions of "MediaWiki:Common.css"

From King of Lust
(Created page with "→‎CSS placed here will be applied to all skins: #ca-talk { display: none !important; } #ca-watch { display: none !important; } #t-whatlinkshere, #t-recentchangeslinked,...")
 
Line 12: Line 12:
   
 
.fullwidth {width: 100%; height: auto;}
 
.fullwidth {width: 100%; height: auto;}
  +
  +
.halfwidth {width: 50%; height: auto;}
   
 
/* One-sided navigation menu */
 
/* One-sided navigation menu */

Revision as of 12:57, 5 June 2023

/* CSS placed here will be applied to all skins */

#ca-talk { display: none !important; }

#ca-watch { display: none !important; }

#t-whatlinkshere, #t-recentchangeslinked, #t-upload, #t-print, #t-permalink, #t-info { display: none !important; }

h2 {clear: both; display: block; margin-top: 40px !important; margin-bottom: 20px !important;}

.wikitable, .wikitable td {background-color: transparent !important; border: none !important; vertical-align: top;}

.fullwidth {width: 100%; height: auto;}

.halfwidth {width: 50%; height: auto;}

/* One-sided navigation menu */
@media (min-width: 1340px) {
  #mw-content-block {
    display: block;
  }
  #mw-content,
  #content-bottom-stuff {
    margin-left: 14em;
  }
  #mw-content-wrapper {
    float: right;
    margin-left: -14em;
    width: 100%;
  }
  #mw-related-navigation {
    width: 14em;
    padding: 0 1em 0 0;
  }
  div.color-middle {
    margin-right: 0;
  }
  .mw-wiki-logo {
  	display: inline-block;
  }
}

/* Align top colour bar with page columns */
.ts-inner {
  padding: 0 0 0 1em;
}

/* Re-aligning bottom logos */
#footer { padding-right: 1em; }