MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
add css for pre tag |
test simple search relocation |
||
Line 26: | Line 26: | ||
word-wrap: break-word; /* Internet Explorer 5.5+ */ | word-wrap: break-word; /* Internet Explorer 5.5+ */ | ||
} | } | ||
/*---BEGIN relocate Search Pane to left sidebar---*/ | |||
/*-Much simpler version courtesy of User:Virgolette-thank you !-*/ | |||
div#simpleSearch input#searchInput { | |||
width: 8.5em; | |||
} | |||
#panel { | |||
padding-top: 1.9em; | |||
} | |||
#simpleSearch { | |||
position: absolute; | |||
left: 0; | |||
top: 146px; | |||
margin-left: 0.25em; | |||
z-index: 99; | |||
} | |||
/*Advanced Search page */ | |||
.page-Special_Search div.suggestions { | |||
margin-left: 11em !important; | |||
} | |||
/* suggestions expanding to the right */ | |||
div.suggestions { | |||
margin-left: 0.25em !important; | |||
right: auto !important; | |||
} | |||
/* don't display the Search label */ | |||
#simpleSearch label { | |||
display:none !important; | |||
} | |||
/*--push up logo to make room for search pane--*/ | |||
#p-logo { | |||
top:-175px; | |||
} | |||
/*---END relocate Search Pane to left sidebar---*/ |
Revision as of 02:38, 13 July 2011
/* CSS placed here will be applied to all skins */ .red-check ul { list-style-image: url(http://www.alecexposed.org/w/images/e/ec/Red-check.png)!important; } .more-hot-bills { background-image: url(http://www.alecexposed.org/w/images/0/0c/Big-red-check-trans.png); background-repeat: no-repeat; background-position: center; } .twtr-widget { text-align: center; } .twtr-doc { text-align: left; margin: auto; } pre { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */ } /*---BEGIN relocate Search Pane to left sidebar---*/ /*-Much simpler version courtesy of User:Virgolette-thank you !-*/ div#simpleSearch input#searchInput { width: 8.5em; } #panel { padding-top: 1.9em; } #simpleSearch { position: absolute; left: 0; top: 146px; margin-left: 0.25em; z-index: 99; } /*Advanced Search page */ .page-Special_Search div.suggestions { margin-left: 11em !important; } /* suggestions expanding to the right */ div.suggestions { margin-left: 0.25em !important; right: auto !important; } /* don't display the Search label */ #simpleSearch label { display:none !important; } /*--push up logo to make room for search pane--*/ #p-logo { top:-175px; } /*---END relocate Search Pane to left sidebar---*/