Difference between revisions of "MediaWiki:Common.css"

From Beaver State Roads
Jump to navigation Jump to search
Line 32: Line 32:
  
 
.routebox td, .routebox th {
 
.routebox td, .routebox th {
    vertical-align: top;
+
vertical-align: top;
    text-align: left;
+
text-align: left;
 
}
 
}
  
Line 39: Line 39:
 
font-size: 125%;
 
font-size: 125%;
 
font-weight: bold;
 
font-weight: bold;
 +
}
 +
 +
.routebox .rb-subheader {
 +
text-align: center;
 +
background: #006A4D;
 +
color:white;
 
}
 
}

Revision as of 23:23, 1 February 2021

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

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

.right {
	text-align: right !important;
}

/** 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;
}

.routebox .rb-subheader {
	text-align: center;
	background: #006A4D;
	color:white;
}