MediaWiki:Monobook.css: Difference between revisions
From the Nintendo Wiki, a wiki covering all things Nintendo
Jump to navigationJump to search
Content added Content deleted
(up top!!!!) |
(ad) |
||
Line 11: | Line 11: | ||
/* search button */ |
/* search button */ |
||
body.skin-monobook #p-cactions ul li, |
|||
⚫ | |||
body.skin-monobook #p-cactions ul li a, |
|||
⚫ | |||
body.skin-monobook #p-cactions li.selected, |
|||
body.skin-monobook #p-cactions li.selected a { |
|||
border-top-left-radius: 1em; |
|||
border-top-right-radius: 1em; |
|||
} |
|||
⚫ | |||
color: #000; |
|||
cursor: pointer; |
cursor: pointer; |
||
background-color: |
background-color: #fff; |
||
border: 1px solid #2f6fab; |
border: 1px solid #2f6fab; |
||
⚫ | |||
font-weight: normal; |
|||
} |
} |
||
body.skin-monobook #searchButton, |
|||
#searchGoButton { |
body.skin-monobook #searchGoButton { |
||
font-weight: normal; |
font-weight: normal; |
||
} |
} |
||
#searchInput { |
body.skin-monobook #searchInput { |
||
border: 1px solid #2f6fab; |
|||
padding-right: 0; |
|||
} |
|||
input[type="radio"], |
|||
input[type="checkbox"] { |
|||
border: none; |
|||
} |
|||
select { |
|||
color: #000; |
|||
border: 1px solid #2f6fab; |
border: 1px solid #2f6fab; |
||
} |
} |
||
Line 49: | Line 69: | ||
#p-cactions .new a { |
#p-cactions .new a { |
||
color: #c00; |
color: #c00; |
||
} |
|||
/* Responsive fix */ |
|||
@media all and (max-width: 550px) { |
|||
#sidebar .portlet[role="navigation"] { |
|||
display: none !important; |
|||
} |
|||
} |
} |
||
Revision as of 18:46, April 4, 2022
/* All CSS here will be loaded for users of the MonoBook skin */
body {
background: url(https://static.miraheze.org/nintendowiki/6/62/Nwbkgd.png);
}
body.skin--responsive .portlet {
width: 11.8em;
}
/* search button */
body.skin-monobook #p-cactions ul li,
body.skin-monobook #p-cactions ul li a,
body.skin-monobook #p-cactions li.selected,
body.skin-monobook #p-cactions li.selected a {
border-top-left-radius: 1em;
border-top-right-radius: 1em;
}
body.skin-monobook input.searchButton {
color: #000;
cursor: pointer;
background-color: #fff;
border: 1px solid #2f6fab;
padding: 0 0.4em !important;
}
body.skin-monobook #searchButton,
body.skin-monobook #searchGoButton {
font-weight: normal;
}
body.skin-monobook #searchInput {
border: 1px solid #2f6fab;
padding-right: 0;
}
input[type="radio"],
input[type="checkbox"] {
border: none;
}
select {
color: #000;
border: 1px solid #2f6fab;
}
/* user link colors */
body.skin--responsive #p-personal a.new {
color: #f00;
}
body.skin--responsive #p-personal a.new:visited {
color: #c00;
}
body.skin--responsive #p-personal li a {
color: #00f;
}
body.skin--responsive #p-personal li a:hover {
background-color: none;
text-decoration: underline;
}
body.skin--responsive #p-personal li {
color: #606060;
}
/* tab link colors */
#p-cactions li a {
color: #00c;
}
#p-cactions .new a {
color: #c00;
}
/* Responsive fix */
@media all and (max-width: 550px) {
#sidebar .portlet[role="navigation"] {
display: none !important;
}
}
/* put search bar up top */
#sidebar {
display: flex;
flex-direction: column;
}
#p-search {
order: -1;
}