Difference between revisions of "MediaWiki:Monobook.css"
Jump to navigation
Jump to search
| Line 3: | Line 3: | ||
body { | body { | ||
background-color: white; | background-color: white; | ||
| + | } | ||
| + | |||
| + | /* Article body */ | ||
| + | #column-content { | ||
| + | margin: 2.5em 0 .6em -12.2em; | ||
} | } | ||
| Line 43: | Line 48: | ||
} | } | ||
| − | /* | + | /* Top/personal menu */ |
| − | # | + | #p-personal .pBody { |
| − | + | position: absolute; | |
| + | right: 1em; | ||
| + | } | ||
| + | |||
| + | #p-personal ul { | ||
| + | font-size: 0.9em; | ||
| + | text-transform: none; | ||
| + | text-align: left; | ||
| + | } | ||
| + | |||
| + | li#pt-mytalk, li#pt-watchlist, li#pt-mycontris { | ||
| + | display: none !important; | ||
| + | } | ||
| + | |||
| + | /* Article menu */ | ||
| + | #p-cactions { | ||
| + | width: 100%; | ||
} | } | ||
| − | |||
#p-cactions .pBody { | #p-cactions .pBody { | ||
position: absolute; | position: absolute; | ||
| − | top: 2. | + | top: 2.4em; |
right: 0em; | right: 0em; | ||
z-index: 100; | z-index: 100; | ||
| Line 78: | Line 98: | ||
li#ca-talk { | li#ca-talk { | ||
margin-right: 1.6em; | margin-right: 1.6em; | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
Revision as of 03:56, 6 March 2012
/* CSS placed here will affect users of the Monobook skin */
body {
background-color: white;
}
/* Article body */
#column-content {
margin: 2.5em 0 .6em -12.2em;
}
/* Search */
#p-search {
position: absolute;
top: 2.8em;
left: 12em;
width: 300px;
}
#p-search .pBody {
padding: 0;
text-align: left;
}
#searchInput, #searchGoButton {
margin: 0;
font-size: .8em;
background-color: white;
height: 2.2em;
border: 1px solid #aaa;
-moz-border-radius: .3em;
border-radius: .3em;
padding: .2em;
}
#searchInput {
width: 16em;
}
#searchGoButton {
width: 3em;
align: center;
font-weight: normal;
}
#p-search #mw-searchButton {
display: none !important;
}
/* Top/personal menu */
#p-personal .pBody {
position: absolute;
right: 1em;
}
#p-personal ul {
font-size: 0.9em;
text-transform: none;
text-align: left;
}
li#pt-mytalk, li#pt-watchlist, li#pt-mycontris {
display: none !important;
}
/* Article menu */
#p-cactions {
width: 100%;
}
#p-cactions .pBody {
position: absolute;
top: 2.4em;
right: 0em;
z-index: 100;
}
li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
margin-left: 0;
}
li#ca-purge {
display: none !important;
}
#p-cactions li, #p-cactions ul {
margin: 0;
}
#p-cactions li a, #p-cactions .new a {
color: #0645ad;
background: none;
margin: 0;
padding: 0 .4em .3em;
text-transform: none;
}
li#ca-talk {
margin-right: 1.6em;
}
/* Navigation, Toolbox*/
#p-navigation ul, #p-tb ul {
list-style: none;
margin: 0;
padding: 0;
font-size: 0.9em;
line-height: 1.6em;
}
#p-navigation h5, #p-search h5, #p-tb h5 {
display: none !important;
}
#p-navigation a, #p-tb a, #p-personal a, #p-personal li a, #p-personal a.new {
color: #0645ad;
}