MediaWiki:Monobook.css: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the Monobook skin */
/* CSS placed here will affect users of the Monobook skin */


#globalWrapper { background: none !important; }
#globalWrapper {
overflow: hidden;
background: none !important;
}
p { margin: 0.6em 0 0.7em 0; }
p { margin: 0.6em 0 0.7em 0; }
h3 + dl, h4 + dl, h5 + dl {
h3 + dl, h4 + dl, h5 + dl {
Line 31: Line 34:
position: relative;
position: relative;
background: transparent url(https://halo.wiki.gallery/images/pagebg.jpg) no-repeat center 65px !important;
background: transparent url(https://halo.wiki.gallery/images/pagebg.jpg) no-repeat center 65px !important;
}
@media all and (min-width: 551px) {
body.skin-monobook #p-logo, body.skin-monobook #p-logo a, body.skin-monobook #p-logo a:hover {
height: 159px;
width: 196px;
background: url(https://halo.wiki.gallery/images/logo-monobook.png) no-repeat 0 10px !important;
}
}
}


body.skin-monobook #p-cactions li a:hover {
body.skin-monobook #p-cactions li a:hover {
border-bottom: 1px solid #FFFFFF;
border-bottom: 1px solid #fff;
}
}


body.skin-monobook #p-cactions li.selected a {
body.skin-monobook #p-cactions li.selected a {
border-bottom: 1px solid #FFFFFF;
border-bottom: 1px solid #fff;
padding-bottom: 2px;
padding-bottom: 2px;
}
}
Line 80: Line 75:
@media all and (min-width: 551px) {
@media all and (min-width: 551px) {
body.skin-monobook #p-personal ul {
body.skin-monobook #p-personal ul {
background: #FFFFFF;
height: 19px;
background: #fff;
border-left: 1px solid #aaa;
border-left: 1px solid #aaa;
border-bottom: 1px solid #aaa;
border-bottom: 1px solid #aaa;
width: auto;
display: inline;
position: absolute;
right: 0;
padding-left: 0px;
padding-bottom: 0px;
margin-top: -1px;
border-bottom-left-radius: 1em;
border-bottom-left-radius: 1em;
padding-left: 0;
}
}
}
}


pre {  
pre {
border: 1px dashed #06f;
border: 1px dashed #06f;
}
}
Line 109: Line 99:
}
}


#navbox {  
#navbox {
/* border: 1px solid #2f6fab; */
font-size: 95%;
border: 1px solid #aaaaaa;
border: 1px solid #aaa;
background-color: #f9f9f9;
background-color: #f9f9f9;
margin-bottom: 15px;
margin-left: 15px;
padding: 5px;
padding: 5px;
font-size: 95%;
margin-left: 15px;
margin-bottom: 15px;
}
}


Line 152: Line 141:


body.skin-monobook input.searchButton {
body.skin-monobook input.searchButton {
padding: 0 0.4em !important;
cursor: pointer;
cursor: pointer;
font-weight: normal;
background-color: #fff;
background-color: #fff;
border: 1px solid #2f6fab;  
border: 1px solid #2f6fab;
font-weight: normal;
padding: 0 0.4em !important;
}  
}  


body.skin-monobook #searchButton,
body.skin-monobook #searchButton {
body.skin-monobook #searchGoButton {
font-weight: normal;
font-weight: normal;
}
}


body.skin-monobook #searchInput {
body.skin-monobook #searchInput {
border: 1px solid #2f6fab;  
border: 1px solid #2f6fab;
}  
}  


Line 173: Line 161:


select {
select {
border: 1px solid #2f6fab;  
border: 1px solid #2f6fab;
color: #000;
color: #000;
}
}
Line 179: Line 167:
blockquote {
blockquote {
border-left: 3px solid #06f;
border-left: 3px solid #06f;
padding-left: 1em;
margin-left: 2em;
margin-left: 2em;
padding-left: 1em;
}
}


Line 237: Line 225:
}
}
.mw-indicators img {
.mw-indicators img {
width: auto !important;
max-height: 28px !important;
max-height: 28px !important;
width: auto !important;
}
}


Line 245: Line 233:
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconElement-icon.oo-ui-icon-check {
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconElement-icon.oo-ui-icon-check {
display: none !important;
display: none !important;
}
/* Advanced search */
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field,
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field {
width: 59% !important;
}
.mw-advancedSearch-namespaceFilter .oo-ui-tagMultiselectWidget-handle {
border: 0 !important;
}
.mw-advancedSearch-namespaceFilter {
top: 0 !important;
}
}


/* Responsive fix */
/* Responsive fix */
@media all and (max-width: 550px) {
@media all and (max-width: 550px) {
.skin--responsive #sidebar .portlet[role="navigation"] {
body.skin--responsive #sidebar .portlet[role="navigation"] {
display: none !important;
display: none !important;
}
}
Line 371: Line 347:
}
}
@media all and (max-width: 550px) {
@media all and (max-width: 550px) {
body.skin-monobook .portlet ul.sub-menu,
body.skin--responsive .portlet ul.sub-menu,
body.skin-monobook .portlet .with-sub-menu em {
body.skin--responsive .portlet .with-sub-menu em {
display: none !important;
display: none !important;
}
}
}
/* Echo extension */
#pt-notifications-alert .mw-echo-notifications-badge,
#pt-notifications-notice .mw-echo-notifications-badge {
height: 16px;
}
}