User:Neil Shah-Quinn/global.css

From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by Neil Shah-Quinn (talk | contribs) at 16:28, 24 April 2015 (Created.). It may differ significantly from the current version.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/**************************
Font sizing
**************************/
html {
	font-size: 16px;
}

#bodyContent {
	font-size: 1rem;
}

.references, 
.referencetooltip,
.ambox {
	font-size: 0.8rem !important;
}

/**************************
Two-column format
**************************/
/* Limit the width of article elements */
body.ns-0.action-view #bodyContent p,
body.ns-0.action-view #bodyContent blockquote,
body.ns-0.action-view #bodyContent dd,
body.ns-0.action-view #bodyContent ol,
body.ns-0.action-view #bodyContent ul,
body.ns-0.action-view #bodyContent h2,
body.ns-0.action-view #bodyContent h3,
body.ns-0.action-view #bodyContent h4,
body.ns-0.action-view #bodyContent h5,
body.ns-0.action-view #bodyContent h6,
body.ns-0.action-view #bodyContent h7,
body.ns-0.action-view #bodyContent .ambox,
body.ns-0.action-view #bodyContent .dablink,
body.ns-0.action-view #bodyContent .rellink {
	max-width: 715px !important;
}

/* Move left-floated images to the right */
body.ns-0.action-view #bodyContent .tleft {
	float: right !important;
	clear: right !important;
	margin: 0.5em 0 1.3em 1.4em !important;
	padding: 1px 0 0 15px !important;
}

/**************************
Tweaks
**************************/
#siteSub {
	display: none;
}

.rellink, .dablink, .hatnote {
	padding-left: 0 !important;
}

.ambox {
	margin: 0 !important; 
}