MediaWiki:Common.css

From Beaver State Roads
Revision as of 00:09, 2 February 2021 by Jonathan (talk | contribs) (Added some routebox rules)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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 */

/** GENERAL CLASSES **/
.center {
	text-align: center;
}

.right {
	text-align: right;
}

/** ROUTEBOX **/
.routebox {
	float: right;
	width: 22em;
	width: 300px;
	text-align: center;
	border: 1px solid #a2a9b1;
    border-spacing: 3px;
    background-color: #f8f9fa;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    clear: right;
    font-size: 88%;
    line-height: 1.5em;
}

.routebox > table {
	font-size: 90%;
}

.routebox td, .routebox th {
    vertical-align: top;
    text-align: left;
}

.routebox .rb-routename {
	font-size: 125%;
	font-weight: bold;
}