MediaWiki:Monobook.css

From Transit.Wiki

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 affect users of the Monobook skin */

body { 
background: #f9f9f9 url("images/4/49/Background3.jpg") 0px 0px no-repeat;
font-family: 'Roboto',sans-serif;
font-size: 0.75em;
}

div#column-content {
	margin: 0 0 .6em -13.4em;
}
div#content {
	margin: 2.8em 0 0 13.4em;
}

div#globalWrapper {
/*	font-size: 100%;*/
}

div#column-one {
	padding-top: 180px;
	font-size: 95%;
	width:13.2em;
}

h1, h2, h3, h4, h5, h6 {
font-family: 'Montserrat',sans-serif;
}

.portlet h3{
    display: none;
}

/* CSS for stnv tables */
table.stnv {
	margin: 2em 4em 2em 3em;
}

/* Sidebar map */
.sidebarmap {
height: 34.375em;
margin: 0 0 0 18.75em;
}

.sidebarlist {
width: 18.75em;
height: 34.375em;
position:absolute;
overflow:auto;
}

/* Map */
.map { 
float:right; 
padding: 0 0 10px 10px ; 
background-color:white;
}

.regmap { 
float:right; 
padding: 0 0 10px 10px ; 
background-color:white;
width:400px;
height:400px;
}

.bigmap { 
background-color:white;
width:100%;
height:550px;
}

/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
}
 
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
}

/* Bottom Navigation template box */
.bottomnav { 
   position: static;
   position: -webkit-sticky;
   position: sticky;
   bottom: 0;
   border:1px solid #aaa;
   background-color:#f9f9f9;
   margin-top:10px;
   padding:5px;
   font-size: 95%;
   box-shadow:0px -4px 10px -3px #444;
   z-index: 2;
}

/* TOC menu */
#toc ul li,
.toc ul li {
	position:relative;
	padding-right:8px;
	padding-left:8px;
	float:left;
	}

#toc ul li a,
.toc ul li a {
	text-decoration:none;
	}


#toc ul li ul,
.toc ul li ul {
	display: none;
	position:absolute;
	left:-10px;
	z-index:500;
	background: #fff;
	}
	
#toc ul li ul li,
.toc ul li ul li {
	margin-left:0px;
	font-size:11px;
	width:200px;:
	margin: 0;
	padding: 6px 5px 6px 5px;
	margin-top: -1px;
	}

#toc ul li ul li a,
.toc ul li ul li a {
	text-decoration:none;
	}

.tocnumber {
	display:none;
	}

#toc ul li:hover ul,
.toc ul li:hover ul {
	display: block;
	font-size:11px;
	padding: 0px;
	box-shadow: 1px 1px 4px #444;
	-moz-box-shadow: 1px 1px 4px #444;
	-webkit-box-shadow: 1px 1px 4px #444;
	}

#toc ul li ul li:hover,
.toc ul li ul li:hover {
	background-color: #c0edc3;
	}

#toc, .toc {
	background:transparent;
	padding:0;
	margin:0;
	border:0;
	}

#toc td, .toc td {
	background:#f2f2f2;
	border:1px #ccc solid;
	padding:4px;
	padding-bottom:4px;
	box-shadow: 1px 1px 2px #444;
	-moz-box-shadow: 1px 1px 2px #444;
	-webkit-box-shadow: 1px 1px 2px #444;
	}

/* Drop down menu */

.drop ul li {
	position:relative;
	padding: 0 5px 0 5px;
	border-right: 1px solid black;
	float:left;
        list-style: none;
	}

.drop ul li a {
	text-decoration:none;
	}

.drop ul li ul {
	display: none;
	position:absolute;
	z-index:500;
	border: 1px solid #ccc;
	margin-top:-2px;
	margin-left:-5px;
	background: #fff;
        max-height:200px;
        overflow-y: scroll;
	}
	
.drop ul li ul li {
	margin-left:0px;
	font-size:11px;
	border: 0px;
	margin:0px;
	padding:4px;
	margin-top:0px;
        width: 150px
	}

.drop ul li ul li a {
	text-decoration:none;
	}

.drop ul li:hover ul {
	display: block;
	font-size:11px;
	padding: 2px;
	}

.drop ul li ul li:hover {
	background:#f9f9f9;
	}

.drop table{
        margin-left:12px;
	padding:0;
	spacing:0;
	margin:0;
	border:0;
	}

.mw-content-ltr p {
        max-width:40em !important;
	}

.mw-content-ltr li {
        max-width:38em !important;
	}

table.infodata {
width: 40em;
}

.pulldownbox {
position:absolute;
border: 1px solid #999;
background: #fff;
min-width:250px;
padding: 10px;
margin-left: 4px; 
margin-bottom: 4px; 
margin-top: 0px;
}

.drop-menu {
position:absolute;
border: 1px solid #999;
background: #fff;
min-width:250px;
padding: 0;
z-index: 1;
height:200px;
overflow-y: auto;
margin-left: 4px; 
margin-bottom: 4px; 
margin-top: 0px;
}