Difference between revisions of "MediaWiki:Monobook.css"
Jump to navigation
Jump to search
| Line 12: | Line 12: | ||
display: none !important; | 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 button#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 > button#searchButton { | ||
| + | height: 100%; | ||
| + | } | ||
Revision as of 02:01, 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 button#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 > button#searchButton {
height: 100%;
}