MediaWiki:Common.css

From Stoic Wiki
Revision as of 20:58, 8 September 2017 by Alan (talk | contribs)
Jump to: navigation, search

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

/* Remove [Edit] links next to each section */
.mw-editsection { display: none !important; }

/* Hide Discussion tabs on user pages */
.ns-2 #ca-talk { display: none !important; }

/* Quote template */

.quote-footer {
margin-bottom: 1.5em;
}

.mw-body { 
  max-width: 870px; 
}

#page-content > div.row {
	max-width: 870px;
	padding: 20px;
}

@media only screen and (min-width: 600px) {
#page-content > div.row {
	padding: 20px;
}
}

body { background: #eee !important; }

#page-content > div.row {
	-webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
	background: #fcfcfc;
}

#page-content {
	background: #eee;
}

h2, h3, h4, h5, h6 {
	margin-top: 1em;
	margin-bottom: 0.3;
}
h1, h2#firstHeading { 
	font-size: 2em; 
	margin-top: 0 !important;
}
h2 { font-size: 1.6em; }