MediaWiki:Monobook.css: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(310 intermediate revisions by 7 users 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 */
 
body {
#globalWrapper {
    font-size: 10px;
overflow: hidden;
    font-family: verdana;
background: none !important;
    background: #EAEAEA url(/images/haloreachbg.jpg) repeat;
}
p { margin: 0.6em 0 0.7em 0; }
h3 + dl, h4 + dl, h5 + dl {
margin-top: -0.1em;
}
.ns-talk p + dl, .ns-110 p + dl,
.rootpage-Halopedia_Changing_username p + dl {
margin-top: -0.4em;
}
.ns-talk dl + dl, .ns-110 dl + dl,
.rootpage-Halopedia_Changing_username dl + dl {
margin-top: -0.2em;
}
}


a { color: #00f; }
a { color: #00f; }
 
a:active { color: orange; }
a:visited { color: #00c; }
a:visited { color: #00c; }


a:active { color: orange; }
.mw-parser-output a.external[href^="https://www.halopedia.org"] {
color: #00f !important;
background: none;
padding: 0;
}


#p-personal a.new { color: #f00; }
body {
background: #4F7065 url(https://halo.wiki.gallery/images/bodybg-monobook.jpg) no-repeat fixed 0 0 / cover;
}
#bodyContent {
position: relative;
background: transparent url(https://halo.wiki.gallery/images/pagebg.jpg) no-repeat center 65px !important;
}


#p-personal a.new:visited { color:#c00; }
body.skin-monobook #p-cactions li a:hover {
border-bottom: 1px solid #fff;
}


li#pt-userpage,
body.skin-monobook #p-cactions li.selected a {
li#pt-anonuserpage,
border-bottom: 1px solid #fff;
li#pt-login {
padding-bottom: 2px;
    background: url(/images/smallchief.gif) top left no-repeat;
    padding-left: 16px;
    line-height: 16px;
}
}


p { margin: 0.9em 0em 1em 0em; }
body.skin-monobook .pBody,
body.skin-monobook .portlet h3,
body.skin-monobook #footer #f-list {
font-family: verdana;
}


h1, h2, h3, h4, h5, h6 {
body.skin-monobook .special li {
    color: black;
line-height: 19px;
    margin: 0px;
}
}


pre { border: 1px dashed #06f; overflow: auto; }
body.skin-monobook #p-personal a.new {
color: #f00;
}


#file img { background: url(/images/Checker-16x16.png) repeat; }
body.skin-monobook #p-personal a.new:visited {
color: #c00;
}


#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 {
@media all and (min-width: 551px) {
    margin-bottom:0.6em;
body.skin-monobook li#pt-login,
body.skin-monobook li#pt-userpage,
body.skin-monobook li#pt-anonuserpage {
background: url(https://halo.wiki.gallery/images/smallchief.gif) top left no-repeat;
padding-left: 16px;
line-height: 17px;
}
}
}


#siteNotice {
@media all and (min-width: 551px) {
    padding: 0.3em;
body.skin-monobook #p-personal ul {
    margin: 10px;
height: 19px;
    border-top: 2px solid #ccc;
background: #fff;
    border-bottom: 2px solid #ccc;
border-left: 1px solid #aaa;
    background: #fff;
border-bottom: 1px solid #aaa;
    font-size: smaller;
border-bottom-left-radius: 1em;
    line-height: 90%;
padding-left: 0;
}
}
}


#firstHeading {
pre {
margin-top:-3px;
border: 1px dashed #06f;
}
}


.smalltoptext {
.mw-dismissable-notice {
    font-size:108%;
padding: 2px;
    margin-top:18px;
border-top: 2px solid #ccc;
    float:right;
border-bottom: 2px solid #ccc;
    position:absolute;
background: #fff;
    right:1.5em;
    top:0px;
    white-space:nowrap;
}
}


.catlinks {
.catlinks {
    background: #f9f9f9 url(/images/smallchief2.gif) no-repeat center right;
margin-top: 10px;
    margin-top: 10px;
}
}


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


#bodyContent a.extiw:active { color: #06f; }
body.skin-monobook #p-personal li a:hover {
text-decoration: underline;
background-color: transparent;
}


#bodyContent a.external { color: #06f; }
body.skin-monobook #p-cactions li a {
color: #00c;
}


#p-personal li a:hover {
body.skin-monobook #p-cactions .new a {
    background-color: none;
color: #c00;
    text-decoration: underline;
}
}


#p-cactions li a { color: #00c; }
#preftoc a:active {
color: #00c;
}


#p-cactions .new a { color:#c00; }
@media all and (min-width: 551px) {
 
#content {
#preftoc a:active { color: #00c; }
border-top-left-radius: 1em;
 
border-bottom-left-radius: 1em;
#content {
}
    margin: 2.8em 0 0 12.2em;
    border: 1px solid #aaaaaa;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
}
}


#p-cactions {
body.skin-monobook #p-cactions {
    left: 11.8em;
left: 11.8em;
}
}


.portlet {
body.skin-monobook .portlet {
    width: 11.9em;
width: 11.9em;
}
}


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


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


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


input[type="radio"], input[type="checkbox"] {
input[type="radio"], input[type="checkbox"] {
    border: none;
border: none;
}
}


select {
select {
    border: 1px solid #2f6fab;  
border: 1px solid #2f6fab;
    color: Black;
color: #000;
}
}


div.thumb {
blockquote {
border-color: transparent;
border-left: 3px solid #06f;
padding-left: 1em;
margin-left: 2em;
}
}


html .thumbimage {
.oldh3 {
background: white;
font-size: 132%;
}
}


ol.references { font-size: 90%; }
.right {
.references-small { font-size: 80%; }
text-align: right;
ol.references > li:target { background-color: #ddeeff; }
}
sup.reference:target { background-color: #ddeeff; }


.references { font-size:92% }
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;
}


.IntroPageBox {
body.skin-monobook #p-cactions li {
    background-color: #ffe;
padding-bottom: 1em;
    background-repeat: no-repeat;
border-top-left-radius: 0.72em !important;
    background-position: bottom right;
border-top-right-radius: 0.72em !important;
}
}


.IntroPageBox div.tright {
@media all and (min-width: 551px) {
    border-color: transparent !important;
body.skin-monobook .portlet#p-search h3 {
display: none;
}
}
}


blockquote {
body.skin-monobook .portlet#p-search {
    border-left: 3px solid #06f;
margin-top: -1px;
    margin-left: 2em;
    padding-left: 1em;
}
}


.oldh3 {font-size: 132%}
body.skin-monobook .portlet .pBody {
border-top-right-radius: 1em;
border-bottom-right-radius: 1em;
}
#p-Navigation .pBody > ul > li:last-of-type > a,
#p-Community .pBody > ul > li:last-of-type > a {
border-bottom-right-radius: 1em;
}


.spoiler {
/* Fix footer spacing */
    width:70%;
body.skin-monobook #f-list {
    padding: 0.2em;
line-height: 17px;
    margin: 10px;
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
}
}


.easywrap {
/* Indicator icons */
    width: 100%;
.mw-indicators {
    table-layout: fixed;
top: 4px;
    word-wrap: break-word;
}
    overflow: hidden;
#mw-indicator-rc {
top: 12px;
}
.mw-indicators img {
width: auto !important;
max-height: 28px !important;
}
}


#disambig {
/* Multimedia viewer */
    border-top: 3px double #cccccc;
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconedElement-icon.oo-ui-icon-check,
    border-bottom: 3px double #cccccc;
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconElement-icon.oo-ui-icon-check {
display: none !important;
}
}


.sigbox {
/* Responsive fix */
    background: url(/images/sigboxbg.png) no-repeat top left;
@media all and (max-width: 550px) {
    min-height: 35px;
body.skin--responsive #sidebar .portlet[role="navigation"] {
    min-width: 295px;
display: none !important;
}
}
}


#p-personal {
/* Search up top */
    z-index: 6;
#column-one #sidebar {
display: flex;
flex-direction: column;
}
#p-search {
order: -1;
}
}


#f-poweredbyico {
/* Who's Online spacing */
    margin-left: 25px;
#WhosOnlineDiv {
    z-index: 0;
margin-bottom: -11px;
}
}


.right {
/* Social talk tabs */
    text-align:right;
.ns-200 #ca-talk a,
.ns-202 #ca-talk a {
color: #00c !important;
}
}


#p-cactions ul li, #p-cactions ul li a, #p-cactions li.selected, #p-cactions li.selected a {
/*** Monobook Sidebar ***/
    -moz-border-radius-topleft: 1em;
@media all and (min-width: 551px) {
    -moz-border-radius-topright: 1em;
#n-Halopedia-Archive > a {
    -webkit-border-top-left-radius: 1em;
font-size: 125% !important;
    -webkit-border-top-right-radius: 1em;
}
}
/* without an ugly padding */
#p-Navigation ul, #p-Community ul {
margin: 0;
}
#p-Navigation > div, #p-Community > div {
background: #fff;
padding: 0;
}
/* que no sea un list */
#p-Navigation li, #p-Community li {
display: block;
list-style-image: none !important; /* for IE */
}
/* general design of the links */
#p-Navigation li > a, #p-Community li > a {
display: block;
position: relative;
background: #fff;
color: #000;
font-size: 14.9px;
font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
padding: 0 0 0 10px;
line-height: 24px;
font-weight: bold;
text-decoration: none;
border-bottom: 1px solid #EEEEEE;
}
/* special menu just for the class */
#p-Navigation > div > ul > li > a, #p-Community > div > ul > li > a {
background: url(https://halo.wiki.gallery/images/menu_gradient.png) no-repeat left center;
margin: 1px 1px 0 1px;
padding: 0 0 0 10px;
color: #000;
width: auto;
}
#p-Navigation > div > ul > li.hover > a, #p-Community > div > ul > li.hover > a {
color: #2A2A2A;
text-shadow: #AAA46C 1px 1px 3px;
}
#p-Navigation > div > ul > li > a > em, #p-Community > div > ul > li > a > em {
right: 8px;
}
/* submenu marker */
#p-Navigation em, #p-Community em {
font-style: normal;
font-family: arial,sans-serif;
font-size: 16pt;
font-weight: bold;
line-height: 20px;
position: absolute;
right: 8px;
top: 0px
}
/* hover */
#p-Navigation li > ul > li.hover > a, #p-Community li > ul > li.hover > a {
background-color: #DCDCDC; /* Gainsboro */
}


div.pBody {
#p-Navigation li.hover > ul.sub-menu, #p-Community li.hover > ul.sub-menu {
    -moz-border-radius-topright: 1em;
display: block;
    -moz-border-radius-bottomright: 1em;
}
    -webkit-border-top-right-radius: 1em;
    -webkit-border-bottom-right-radius: 1em;
}


#p-cactions li {
/* general submenu */
    padding-bottom:1em;
#p-Navigation ul.sub-menu, #p-Community ul.sub-menu {
    -moz-border-radius-topleft:.72em!important;
border: 1px solid #aaa;
    -moz-border-radius-topright:.72em!important;
display: none;
    -webkit-border-top-left-radius:.72em!important;
background: #fff;
    -webkit-border-top-right-radius:.72em!important;
position: absolute;
padding: 1px;
width: 185px;
margin-left: 180px;
margin-top: -25px;
z-index: 100;
}
/* Only the first */
#p-Navigation > div > ul > li > ul.sub-menu, #p-Community > div > ul > li > ul.sub-menu {
margin-left: 13em;
}
}
@media all and (max-width: 550px) {
body.skin--responsive .portlet ul.sub-menu,
body.skin--responsive .portlet .with-sub-menu em {
display: none !important;
}
}
}
/* Main Page */
body.page-Main_Page h1.firstHeading { display: none; }
body.page-Main_Page #bodyContent { margin-top: 16px; }