22,393
edits
No edit summary |
mNo edit summary |
||
(22 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 26: | Line 29: | ||
body { | body { | ||
background: #4F7065 url(https://halo.wiki.gallery/images/bodybg-monobook.jpg) | background: #4F7065 url(https://halo.wiki.gallery/images/bodybg-monobook.jpg) no-repeat fixed 0 0 / cover; | ||
} | } | ||
#bodyContent { | #bodyContent { | ||
Line 33: | Line 36: | ||
} | } | ||
body.skin-monobook #p-cactions li a:hover { | |||
border-bottom: 1px solid #fff; | |||
} | } | ||
body.skin-monobook #p-cactions li.selected a { | |||
border-bottom: 1px solid #fff; | |||
#p-cactions li.selected a { | |||
border-bottom: 1px solid # | |||
padding-bottom: 2px; | padding-bottom: 2px; | ||
} | } | ||
.pBody, | body.skin-monobook .pBody, | ||
.portlet h3, | body.skin-monobook .portlet h3, | ||
body.skin-monobook #footer #f-list { | |||
font-family: verdana; | font-family: verdana; | ||
} | } | ||
.special li { | body.skin-monobook .special li { | ||
line-height: 19px; | line-height: 19px; | ||
} | } | ||
#p-personal a.new { | body.skin-monobook #p-personal a.new { | ||
color: #f00; | color: #f00; | ||
} | } | ||
#p-personal a.new:visited { | body.skin-monobook #p-personal a.new:visited { | ||
color: #c00; | color: #c00; | ||
} | } | ||
@media all and (min-width: 551px) { | @media all and (min-width: 551px) { | ||
li#pt- | body.skin-monobook li#pt-login, | ||
li#pt- | body.skin-monobook li#pt-userpage, | ||
li#pt- | body.skin-monobook li#pt-anonuserpage { | ||
background: url(https://halo.wiki.gallery/images/smallchief.gif) top left no-repeat; | background: url(https://halo.wiki.gallery/images/smallchief.gif) top left no-repeat; | ||
padding-left: 16px; | padding-left: 16px; | ||
Line 79: | Line 74: | ||
@media all and (min-width: 551px) { | @media all and (min-width: 551px) { | ||
#p-personal ul { | body.skin-monobook #p-personal ul { | ||
background: # | height: 19px; | ||
background: #fff; | |||
border-left: 1px solid #aaa; | border-left: 1px solid #aaa; | ||
border-bottom: 1px solid #aaa; | border-bottom: 1px solid #aaa; | ||
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 { | ||
font-size: 95%; | |||
border: 1px solid # | border: 1px solid #aaa; | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
margin-bottom: 15px; | |||
margin-left: 15px; | |||
padding: 5px; | padding: 5px; | ||
} | } | ||
#p-personal li a:hover { | body.skin-monobook #p-personal li a:hover { | ||
text-decoration: underline; | text-decoration: underline; | ||
background-color: transparent; | |||
} | } | ||
#p-cactions li a { | body.skin-monobook #p-cactions li a { | ||
color: #00c; | color: #00c; | ||
} | } | ||
#p-cactions .new a { | body.skin-monobook #p-cactions .new a { | ||
color: #c00; | color: #c00; | ||
} | } | ||
Line 143: | Line 132: | ||
} | } | ||
#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 { | ||
cursor: pointer; | cursor: pointer; | ||
font-weight: normal; | font-weight: normal; | ||
background-color: #fff; | |||
border: 1px solid #2f6fab; | |||
padding: 0 0.4em !important; | |||
} | } | ||
# | body.skin-monobook #searchButton { | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
#searchInput { | body.skin-monobook #searchInput { | ||
border: 1px solid #2f6fab; | border: 1px solid #2f6fab; | ||
} | } | ||
Line 172: | Line 161: | ||
select { | select { | ||
border: 1px solid #2f6fab; | border: 1px solid #2f6fab; | ||
color: | color: #000; | ||
} | } | ||
blockquote { | blockquote { | ||
border-left: 3px solid #06f; | border-left: 3px solid #06f; | ||
padding-left: 1em; | |||
margin-left: 2em; | margin-left: 2em; | ||
} | } | ||
Line 190: | Line 179: | ||
} | } | ||
#p-cactions ul li, #p-cactions ul li a, | body.skin-monobook #p-cactions ul li, | ||
#p-cactions li.selected, #p-cactions li.selected a { | 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-left-radius: 1em; | ||
border-top-right-radius: 1em; | border-top-right-radius: 1em; | ||
} | } | ||
#p-cactions li { | body.skin-monobook #p-cactions li { | ||
padding-bottom: 1em; | padding-bottom: 1em; | ||
border-top-left-radius: 0.72em !important; | border-top-left-radius: 0.72em !important; | ||
Line 203: | Line 194: | ||
@media all and (min-width: 551px) { | @media all and (min-width: 551px) { | ||
.portlet#p-search h3 { | body.skin-monobook .portlet#p-search h3 { | ||
display: none; | display: none; | ||
} | } | ||
} | } | ||
.portlet#p-search { | body.skin-monobook .portlet#p-search { | ||
margin-top: -1px; | margin-top: -1px; | ||
} | } | ||
.portlet .pBody { | body.skin-monobook .portlet .pBody { | ||
border-top-right-radius: 1em; | border-top-right-radius: 1em; | ||
border-bottom-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; | border-bottom-right-radius: 1em; | ||
} | } | ||
/* Fix footer spacing */ | /* Fix footer spacing */ | ||
#f-list { | body.skin-monobook #f-list { | ||
line-height: 17px; | line-height: 17px; | ||
} | } | ||
/* Indicator icons */ | /* Indicator icons */ | ||
.mw-indicators { | .mw-indicators { | ||
top: | top: 4px; | ||
} | } | ||
#mw-indicator-rc { | #mw-indicator-rc { | ||
top: 12px; | top: 12px; | ||
} | |||
.mw-indicators img { | |||
width: auto !important; | |||
max-height: 28px !important; | |||
} | } | ||
Line 244: | Line 235: | ||
} | } | ||
/* | /* Responsive fix */ | ||
@media all and (max-width: 550px) { | |||
body.skin--responsive #sidebar .portlet[role="navigation"] { | |||
display: none !important; | |||
} | |||
} | } | ||
/* Search up top */ | |||
#sidebar { | |||
display: flex; | |||
flex-direction: column; | |||
} | } | ||
#p-search { | |||
order: -1; | |||
} | } | ||
Line 273: | Line 268: | ||
} | } | ||
/* without an ugly padding */ | /* without an ugly padding */ | ||
#p-Navigation ul, #p-Community ul { | |||
margin: 0; | margin: 0; | ||
} | } | ||
#p-Navigation > div, #p-Community > div { | |||
background: | background: #fff; | ||
padding: 0; | padding: 0; | ||
} | } | ||
/* que no sea un list */ | /* que no sea un list */ | ||
#p-Navigation li, #p-Community li { | |||
display: block; | display: block; | ||
list-style-image: none !important; /* for IE */ | list-style-image: none !important; /* for IE */ | ||
} | } | ||
/* general design of the links */ | /* general design of the links */ | ||
#p-Navigation li > a, #p-Community li > a { | |||
display: block; | display: block; | ||
position: relative; | position: relative; | ||
Line 300: | Line 295: | ||
} | } | ||
/* special menu just for the class */ | /* 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; | background: url(https://halo.wiki.gallery/images/menu_gradient.png) no-repeat left center; | ||
margin: 1px 1px 0 1px; | margin: 1px 1px 0 1px; | ||
padding: 0 0 0 10px; | padding: 0 0 0 10px; | ||
color: | color: #000; | ||
width: auto; | width: auto; | ||
} | } | ||
. | #p-Navigation > div > ul > li.hover > a, #p-Community > div > ul > li.hover > a { | ||
color: #2A2A2A; | color: #2A2A2A; | ||
text-shadow: #AAA46C 1px 1px 3px; | text-shadow: #AAA46C 1px 1px 3px; | ||
} | } | ||
#p-Navigation > div > ul > li > a > em, #p-Community > div > ul > li > a > em { | |||
right: 8px; | right: 8px; | ||
} | } | ||
/* submenu marker */ | /* submenu marker */ | ||
#p-Navigation em, #p-Community em { | |||
font-style: normal; | font-style: normal; | ||
font-family: arial,sans-serif; | font-family: arial,sans-serif; | ||
Line 326: | Line 321: | ||
} | } | ||
/* hover */ | /* hover */ | ||
. | #p-Navigation li > ul > li.hover > a, #p-Community li > ul > li.hover > a { | ||
background-color: #DCDCDC; /* Gainsboro */ | background-color: #DCDCDC; /* Gainsboro */ | ||
} | } | ||
. | #p-Navigation li.hover > ul.sub-menu, #p-Community li.hover > ul.sub-menu { | ||
display: block; | display: block; | ||
} | } | ||
/* general submenu */ | /* general submenu */ | ||
. | #p-Navigation ul.sub-menu, #p-Community ul.sub-menu { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
display: none; | display: none; | ||
Line 347: | Line 342: | ||
} | } | ||
/* Only the first */ | /* Only the first */ | ||
. | #p-Navigation > div > ul > li > ul.sub-menu, #p-Community > div > ul > li > ul.sub-menu { | ||
margin-left: 13em; | margin-left: 13em; | ||
} | } | ||
} | } | ||
@media all and (max-width: 550px) { | @media all and (max-width: 550px) { | ||
.portlet ul.sub-menu, | body.skin--responsive .portlet ul.sub-menu, | ||
.portlet .with-sub-menu em { | body.skin--responsive .portlet .with-sub-menu em { | ||
display: none !important; | display: none !important; | ||
} | } | ||
} | } |