Difference between revisions of "MediaWiki:Monobook.css"

From Monoskop
Jump to navigation Jump to search
Line 49: Line 49:
 
}
 
}
 
/* OVERRIDDEN BY COMPLIANT BROWSERS */
 
/* OVERRIDDEN BY COMPLIANT BROWSERS */
#searchBody button#searchButton {
+
#searchBody input#searchButton {
 
margin: 0;
 
margin: 0;
 
padding: 0;
 
padding: 0;
Line 62: Line 62:
 
}
 
}
 
/* IGNORED BY IE6 */
 
/* IGNORED BY IE6 */
#searchBody > button#searchButton {
+
#searchBody > input#searchButton {
 
height: 100%;
 
height: 100%;
 
}
 
}

Revision as of 02:03, 6 March 2012

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