MediaWiki:Monobook.css: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(12 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 17: Line 20:
}
}


body { background: #4C5055 url(https://destiny.wiki.gallery/images/timeless-bg.jpg) fixed; }
body { background: #4C5055 url(https://destiny.wiki.gallery/images/timeless-bg.jpg) no-repeat fixed 0 0 / cover; }
@media all and (min-width: 551px) {
@media all and (min-width: 551px) {
body.skin-monobook #column-one h3 {
body.skin-monobook #column-one h3 {
Line 24: Line 27:
body.skin-monobook #p-personal .pBody ul {
body.skin-monobook #p-personal .pBody ul {
float: right;
float: right;
height: 1.45em;
height: 18px;
padding-left: 0;
background: #ccc;
background: #ccc;
border-left: 2px solid #666;
border-bottom: 2px solid #666;
border-bottom: 2px solid #666;
border-left: 2px solid #666;
border-bottom-left-radius: 0.5em;
border-bottom-left-radius: 0.5em;
box-shadow: 0 0 4px 2px #fff;
box-shadow: 0 0 4px 2px #fff;
padding-left: 0;
}
}
}
}
@media all and (max-width: 550px) {
@media all and (max-width: 550px) {
body.skin-monobook #ca-more a { color: #fff; }
body.skin--responsive #ca-more a { color: #fff; }
}
}


Line 84: Line 87:
}
}


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


.mw-dismissable-notice {
.mw-dismissable-notice {
padding: 2px;
border-top: 2px solid #ccc;
border-top: 2px solid #ccc;
border-bottom: 2px solid #ccc;
border-bottom: 2px solid #ccc;
background: #fff;
background: #fff;
padding: 2px;
}
}


Line 99: Line 102:
}
}


#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 147: Line 149:


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 168: Line 169:


select {
select {
border: 1px solid #2f6fab;  
border: 1px solid #2f6fab;
color: #000;
color: #000;
}
}
Line 195: Line 196:


body.skin-monobook #p-cactions li {
body.skin-monobook #p-cactions li {
padding-bottom:1em;
padding-bottom: 1em;
border-top-left-radius: .72em !important;
border-top-left-radius: .72em !important;
border-top-right-radius: .72em !important;
border-top-right-radius: .72em !important;
Line 219: Line 220:
}
}


/* Advanced search */
/* Responsive fix */
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field,
@media all and (max-width: 550px) {
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field {
body.skin--responsive #sidebar .portlet[role="navigation"] {
width: 59% !important;
display: none !important;
}
}
}
.mw-advancedSearch-namespaceFilter .oo-ui-tagMultiselectWidget-handle {
 
border: 0 !important;
/* Search up top */
#column-one #sidebar {
display: flex;
flex-direction: column;
}
}
.mw-advancedSearch-namespaceFilter {
#p-search {
top: 0 !important;
order: -1;
}
}