MediaWiki:Monobook.css

From Monoskop
Revision as of 02:03, 6 March 2012 by Dusan (talk | contribs)
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 affect users of the Monobook skin */

/* Navigation, Toolbox*/
#p-navigation ul, #p-tb ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85em;
}

#p-navigation h5, #p-search h5, #p-tb h5 {
    display: none !important;
}

	/* @noflip */
	#p-search {
		float: left;
	}
	#p-search {
		margin-right: 0.5em;
		margin-left: 0.5em;
	}
	#p-search form,
	#p-search input {
		margin: 0;
		margin-top: 0.4em;
	}
	#searchBody {
		margin-top: 0.5em;
		position: relative;
		border: solid 1px #AAAAAA;
		background-color: white;
		background-image: url(images/search-fade.png);
		background-position: top left;
		background-repeat: repeat-x;
	}
	#searchBody label {
		font-size: 0.8em;
		top: 0.25em;
	}
	#searchBody input#searchInput {
		margin: 0;
		border-width: 0;
		padding: 0.25em;
		line-height: 1em;
		font-size: 0.8em;
		width: 9em;
		background-color: transparent;
	}
	/* OVERRIDDEN BY COMPLIANT BROWSERS */
	#searchBody input#searchButton {
		margin: 0;
		padding: 0;
		width: 1.75em;
		height: 1.5em;
		border: none;
		cursor: pointer;
		background-color: transparent;
		background-image: url(images/search-ltr.png);
		background-position: center center;
		background-repeat: no-repeat;
	}
	/* IGNORED BY IE6 */
	#searchBody > input#searchButton {
		height: 100%;
	}