MediaWiki:Monobook.css: Difference between revisions
From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 134: | Line 134: | ||
/* Navigation and other left-menu boxes */ | /* Navigation and other left-menu boxes */ | ||
#p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang { | @media all and (min-width: 551px) { | ||
#p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang { | |||
margin: 1em 0; | |||
} | margin-left: 7px; | ||
} | |||
.pBody { | .pBody { | ||
padding: 0; | |||
margin: 0; | |||
} | } | ||
#p-Navigation ul, #p-Interaction ul, #p-search ul, #p-tb ul, #p-lang ul { | |||
#p-Navigation ul, #p-Interaction ul, #p-search ul, #p-tb ul, #p-lang ul { | margin: 0; | ||
padding: 0; | |||
} | |||
} | #p-Navigation li, #p-Interaction li, #p-search li, #p-tb li, #p-lang li { | ||
#p-Navigation li, #p-Interaction li, #p-search li, #p-tb li, #p-lang li { | list-style: none; | ||
font-family: Tahoma,arial,sans-serif; | |||
font-weight: bold; | |||
font-size: 110%; | |||
display: block; | |||
margin: 0; | |||
padding: 2px 0; | |||
background: url(/images/a/af/Sidebar-menu-separator.png) center bottom no-repeat; | |||
} | |||
} | #p-Navigation li:last-of-type, #p-Interaction li:last-of-type, | ||
#p-Navigation li:last-of-type, #p-Interaction li:last-of-type, | #p-search li:last-of-type, #p-tb li:last-of-type, #p-lang li:last-of-type { | ||
#p-search li:last-of-type, #p-tb li:last-of-type, #p-lang li:last-of-type { | background: none; | ||
} | |||
} | #p-tb li, #p-lang li { | ||
#p-tb li, #p-lang li { | margin-left: 11px; | ||
} | |||
} | #p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang { | ||
#p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang { | background: #FFFFFF url(/images/e/e1/Sidebar-strip.png) repeat-x; | ||
width: 180px; | |||
padding-top: 1px; | |||
border: 1px solid #000000; | |||
border-top-left-radius: 1em; | |||
border-top-right-radius: 1em; | |||
} | |||
} | #p-Navigation h3, #p-Interaction h3, #p-search h3, #p-tb h3, #p-lang h3 { | ||
#p-Navigation h3, #p-Interaction h3, #p-search h3, #p-tb h3, #p-lang h3 { | display: block; | ||
border: none; | |||
position: relative; | |||
left: -180px; | |||
width: 342px; | |||
height: 22px; | |||
margin-bottom: 0; | |||
} | |||
} | #p-Navigation h3, #p-tb h3 { | ||
#p-Navigation h3, #p-tb h3 { | height: 25px; | ||
} | |||
} | #p-Navigation h3 { | ||
background: url(/images/2/2f/Sidebar-Navigation.png) no-repeat 184px 1px; | |||
#p-Navigation h3 { | } | ||
#p-Interaction h3 { | |||
} | background: url(/images/9/93/Sidebar-Community.png) no-repeat 184px 1px; | ||
#p-Interaction h3 { | } | ||
#p-search h3 { | |||
} | background: url(/images/f/f6/Sidebar-Search.png) no-repeat 184px 1px; | ||
#p-search h3 { | } | ||
#p-tb h3 { | |||
} | background: url(/images/3/33/Sidebar-Toolbox.png) no-repeat 184px 1px; | ||
#p-tb h3 { | } | ||
#p-lang h3 { | |||
} | background: url(/images/e/ee/Sidebar-Languages.png) no-repeat 184px 1px; | ||
#p-lang h3 { | } | ||
#p-Navigation .pBody, | |||
} | #p-Interaction .pBody, | ||
#p-search .pBody, | |||
#p-Navigation .pBody, | #p-tb .pBody, | ||
#p-Interaction .pBody, | #p-lang .pBody { | ||
#p-search .pBody, | display: block; | ||
#p-tb .pBody, | } | ||
#p-lang .pBody { | #p-Navigation .pBody, | ||
#p-Interaction .pBody, | |||
} | #p-tb .pBody, | ||
#p-Navigation .pBody, | #p-lang .pBody, | ||
#p-Interaction .pBody, | ul.sub-menu { | ||
#p-tb .pBody, | background: url(/images/e/ef/Sidebar-menu-topleft.png) left top no-repeat, url(/images/e/e4/Sidebar-menu-topright.png) right top no-repeat, url(/images/5/59/Sidebar-menu-bottomleft.png) left bottom no-repeat, url(/images/2/29/Sidebar-menu-bottomright.png) right bottom no-repeat, url(/images/0/0e/Sidebar-menu-background.png), #e5e5e5; | ||
#p-lang .pBody, | } | ||
ul.sub-menu { | #p-search .pBody { | ||
background: url(/images/e/ef/Sidebar-menu-topleft.png) left top no-repeat, url(/images/e/e4/Sidebar-menu-topright.png) right top no-repeat, url(/images/0/0e/Sidebar-menu-background.png), #e5e5e5; | |||
} | } | ||
#p-search .pBody { | #p-Navigation .pBody a, | ||
#p-Interaction .pBody a, | |||
} | #p-search .pBody a, | ||
#p-Navigation .pBody a, | #p-tb .pBody a, | ||
#p-Interaction .pBody a, | #p-lang .pBody a { | ||
#p-search .pBody a, | color: #000000; | ||
#p-tb .pBody a, | text-decoration: none; | ||
#p-lang .pBody a { | padding: 0 15px; | ||
} | |||
#p-Navigation .pBody a:hover, | |||
#p-Interaction .pBody a:hover, | |||
} | #p-search .pBody a:hover, | ||
#p-Navigation .pBody a:hover, | #p-tb .pBody a:hover, | ||
#p-Interaction .pBody a:hover, | #p-lang .pBody a:hover { | ||
#p-search .pBody a:hover, | color: #454659; | ||
#p-tb .pBody a:hover, | text-shadow: #666 1px 1px 3px; | ||
#p-lang .pBody a:hover { | } | ||
#p-Navigation li a div:hover, | |||
#p-Interaction li a div:hover, | |||
} | #p-tb li a div:hover, | ||
#p-Navigation li a div:hover, | #p-lang li a div:hover { | ||
#p-Interaction li a div:hover, | width: 197px; | ||
#p-tb li a div:hover, | background-color:#282828; | ||
#p-lang li a div:hover { | } | ||
#p-Navigation li a div, #p-Interaction li a div, #p-tb li a div, #p-lang li a div { | |||
padding: 2px 5px !important; | |||
} | width: 197px; | ||
#p-Navigation li a div, #p-Interaction li a div, #p-tb li a div, #p-lang li a div { | } | ||
a.feedlink { | |||
background: none; | |||
} | } | ||
a.feedlink { | |||
} | |||
/* Search box */ | /* Search box */ | ||
#searchInput { | #searchInput { | ||
background: #ffffff; | |||
border: 1px solid #000000; | |||
margin-bottom: 3px; | |||
padding: 2px 0 2px 2px; | |||
width: 115px; | |||
} | } | ||
#p-search .pBody { | #p-search .pBody { | ||
padding: 0; | |||
margin: 0; | |||
} | } | ||
/* the icon in front of the user name, single quotes in bg url to hide it from iemac */ | /* the icon in front of the user name, single quotes in bg url to hide it from iemac */ | ||
li#pt-userpage, | li#pt-userpage, | ||
li#pt-anonuserpage, | li#pt-anonuserpage, | ||
li#pt-login { | li#pt-login { | ||
background: url(/images/9/9f/Mini_Keyblade.png) top left no-repeat; | |||
padding-left: 6px; | |||
} | } | ||
li#pt-anonuserpage { | li#pt-anonuserpage { | ||
padding-left: 12px !important; | |||
margin-right: 6px !important; | |||
} | } | ||
/*** Monobook Sidebar ***/ | /*** Monobook Sidebar ***/ | ||
.sub-menu li { | .sub-menu li { | ||
font-size: 13px !important; | |||
} | } | ||
#p-Navigation ul, #p-Interaction ul { | #p-Navigation ul, #p-Interaction ul { | ||
margin: 0; | |||
} | } | ||
#p-Navigation > div, #p-Interaction > div { | #p-Navigation > div, #p-Interaction > div { | ||
background: white; | |||
padding: 0; | |||
} | } | ||
/* que no sea un list */ | /* que no sea un list */ | ||
#p-Navigation li, #p-Interaction li { | #p-Navigation li, #p-Interaction li { | ||
display: block; | |||
list-style-image: none !important; /* for IE */ | |||
} | } | ||
/* general design of the links */ | /* general design of the links */ | ||
#p-Navigation li > a, #p-Interaction li > a { | #p-Navigation li > a, #p-Interaction li > a { | ||
display: block; | |||
position: relative; | |||
} | } | ||
/* special menu just for the class */ | /* special menu just for the class */ | ||
#p-Navigation > div > ul > li > a, #p-Interaction > div > ul > li > a { | #p-Navigation > div > ul > li > a, #p-Interaction > div > ul > li > a { | ||
margin: 1px 1px 0 1px; | |||
color: black; | |||
width: auto; | |||
} | } | ||
#p-Navigation > div > ul > li.hover > a, #p-Interaction > div > ul > li.hover > a { | #p-Navigation > div > ul > li.hover > a, #p-Interaction > div > ul > li.hover > a { | ||
color: #666; | |||
text-shadow: #666 1px 1px 3px; | |||
} | } | ||
#p-Navigation > div > ul > li > a > em, #p-Interaction > div > ul > li > a > em { | #p-Navigation > div > ul > li > a > em, #p-Interaction > div > ul > li > a > em { | ||
right: 8px; | |||
} | } | ||
/* Submenu marker */ | /* Submenu marker */ | ||
#p-Navigation em, #p-Interaction em { | #p-Navigation em, #p-Interaction em { | ||
font-style: normal; | |||
font-family: arial,sans-serif; | |||
font-size: 16pt; | |||
font-weight: bold; | |||
line-height: 20px; | |||
position: absolute; | |||
right: 8px; | |||
top: -2px | |||
} | } | ||
#p-Navigation li.hover > ul.sub-menu, #p-Interaction li.hover > ul.sub-menu { | #p-Navigation li.hover > ul.sub-menu, #p-Interaction li.hover > ul.sub-menu { | ||
display: block; | |||
} | } | ||
/* general submenu */ | /* general submenu */ | ||
#p-Navigation ul.sub-menu, #p-Interaction ul.sub-menu { | #p-Navigation ul.sub-menu, #p-Interaction ul.sub-menu { | ||
border: 1px solid #000000; | |||
display: none; | |||
background: #fffffff; | |||
position: absolute; | |||
padding: 1px; | |||
width: 180px; | |||
margin-left: 176px; | |||
margin-top: -24px; | |||
z-index: 100; | |||
} | } | ||
/* Only the first */ | /* Only the first */ | ||
#p-Navigation > div > ul > li > ul.sub-menu, #p-Interaction > div > ul > li > ul.sub-menu { | #p-Navigation > div > ul > li > ul.sub-menu, #p-Interaction > div > ul > li > ul.sub-menu { | ||
margin-left: 173px; | |||
margin-top: -22px; | |||
} | } | ||
#p-Navigation .pBody a:hover, | #p-Navigation .pBody a:hover, | ||
#p-Interaction .pBody a:hover, | #p-Interaction .pBody a:hover, | ||
#p-search .pBody a:hover, | #p-search .pBody a:hover, | ||
#p-tb .pBody a:hover, | #p-tb .pBody a:hover, | ||
#p-lang .pBody a:hover { | #p-lang .pBody a:hover { | ||
color: #282828; | |||
} | } | ||
#p-Navigation li a div:hover, | #p-Navigation li a div:hover, | ||
#p-Interaction li a div:hover, | #p-Interaction li a div:hover, | ||
#p-tb li a div:hover, | #p-tb li a div:hover, | ||
#p-lang li a div:hover { | #p-lang li a div:hover { | ||
width: 197px; | |||
background-color:#282828; | |||
} | |||
/*** End Monobook Sidebar ***/ | |||
} | } | ||
div#footer { | div#footer { |
Revision as of 14:06, 29 October 2020
/* CSS placed here will affect users of the Monobook skin */
a { color: #002BB8; }
a:visited { color: #5A3696; }
#globalWrapper { background: none !important; }
.firstHeading { margin-top: 5px; }
p { margin: 0.6em 0 0.7em 0; }
h1 { font-size: 193%; }
h3 + dl, h4 + dl, h5 + dl {
margin-top: -0.1em;
}
.ns-talk p + dl, .ns-110 p + dl {
margin-top: -0.4em;
}
.ns-talk dl + dl, .ns-110 dl + dl {
margin-top: -0.2em;
}
#content {
color: black !important;
background: white !important;
border: 1px solid #000000 !important;
border-right: none !important;
line-height: 1.5em !important;
z-index: 2 !important;
}
@media all and (min-width: 551px) {
#content {
border-top-left-radius: 1em;
border-bottom-left-radius: 1em;
margin-left: 196px !important;
}
#column-content {
margin-left: -196px !important;
}
}
#p-logo {
top: 6px;
margin-left: 21px;
}
body {
background: #000000 url(/images/9/92/MonacoBackground.png) repeat;
}
#searchInput {
margin-bottom: 6px !important;
}
#searchGoButton {
margin-left: 2px;
}
#mw-searchButton {
display: none;
margin-bottom: 10px !important;
}
#p-cactions {
left: 183px !important;
background-color: transparent;
border-bottom: none;
}
#p-cactions li {
border: 1px solid #282828;
border-bottom: none;
}
#p-cactions li a{
border: 2px solid #454659;
border-bottom: none;
background: #9294b0;
box-shadow: 0px 0px 4px 2px #FFFFFF;
position: static;
color: #454659;
font-weight: bold;
}
#p-cactions li.selected a{
border: 2px solid #716992;
background-color: #454659;
color:#FFFFFF;
}
#p-cactions li a:hover {
z-index: 3;
text-decoration: none;
background: #464a91;
border: 2px solid #aeb2f2;
color:#aeb2f2;
}
#p-cactions ul li, #p-cactions ul li a {
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em;
}
.toc {
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em;
border-bottom-left-radius: 0.5em;
border-bottom-right-radius: 0.5em;
}
.catlinks {
margin-top: 10px;
}
/* Personal links at top right */
#p-personal .pBody ul {
background: #464a91;
border-bottom: 2px solid #9294b0;
border-left: 2px solid #9294b0;
border-bottom-left-radius: 0.5em;
box-shadow: 0 0 4px 2px #fff;
padding-left: 5px;
height: 18px;
}
#p-personal li {
color: #ccc;
margin: 0;
}
#p-personal li a {
color: #fff;
font-weight: bold;
padding: 0.5em;
}
#p-personal li a:hover {
color: #8a8bbd;
font-weight: bold;
background:none;
}
#p-personal li a.new {
color: #ddd;
}
/* Navigation and other left-menu boxes */
@media all and (min-width: 551px) {
#p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang {
margin: 1em 0;
margin-left: 7px;
}
.pBody {
padding: 0;
margin: 0;
}
#p-Navigation ul, #p-Interaction ul, #p-search ul, #p-tb ul, #p-lang ul {
margin: 0;
padding: 0;
}
#p-Navigation li, #p-Interaction li, #p-search li, #p-tb li, #p-lang li {
list-style: none;
font-family: Tahoma,arial,sans-serif;
font-weight: bold;
font-size: 110%;
display: block;
margin: 0;
padding: 2px 0;
background: url(/images/a/af/Sidebar-menu-separator.png) center bottom no-repeat;
}
#p-Navigation li:last-of-type, #p-Interaction li:last-of-type,
#p-search li:last-of-type, #p-tb li:last-of-type, #p-lang li:last-of-type {
background: none;
}
#p-tb li, #p-lang li {
margin-left: 11px;
}
#p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang {
background: #FFFFFF url(/images/e/e1/Sidebar-strip.png) repeat-x;
width: 180px;
padding-top: 1px;
border: 1px solid #000000;
border-top-left-radius: 1em;
border-top-right-radius: 1em;
}
#p-Navigation h3, #p-Interaction h3, #p-search h3, #p-tb h3, #p-lang h3 {
display: block;
border: none;
position: relative;
left: -180px;
width: 342px;
height: 22px;
margin-bottom: 0;
}
#p-Navigation h3, #p-tb h3 {
height: 25px;
}
#p-Navigation h3 {
background: url(/images/2/2f/Sidebar-Navigation.png) no-repeat 184px 1px;
}
#p-Interaction h3 {
background: url(/images/9/93/Sidebar-Community.png) no-repeat 184px 1px;
}
#p-search h3 {
background: url(/images/f/f6/Sidebar-Search.png) no-repeat 184px 1px;
}
#p-tb h3 {
background: url(/images/3/33/Sidebar-Toolbox.png) no-repeat 184px 1px;
}
#p-lang h3 {
background: url(/images/e/ee/Sidebar-Languages.png) no-repeat 184px 1px;
}
#p-Navigation .pBody,
#p-Interaction .pBody,
#p-search .pBody,
#p-tb .pBody,
#p-lang .pBody {
display: block;
}
#p-Navigation .pBody,
#p-Interaction .pBody,
#p-tb .pBody,
#p-lang .pBody,
ul.sub-menu {
background: url(/images/e/ef/Sidebar-menu-topleft.png) left top no-repeat, url(/images/e/e4/Sidebar-menu-topright.png) right top no-repeat, url(/images/5/59/Sidebar-menu-bottomleft.png) left bottom no-repeat, url(/images/2/29/Sidebar-menu-bottomright.png) right bottom no-repeat, url(/images/0/0e/Sidebar-menu-background.png), #e5e5e5;
}
#p-search .pBody {
background: url(/images/e/ef/Sidebar-menu-topleft.png) left top no-repeat, url(/images/e/e4/Sidebar-menu-topright.png) right top no-repeat, url(/images/0/0e/Sidebar-menu-background.png), #e5e5e5;
}
#p-Navigation .pBody a,
#p-Interaction .pBody a,
#p-search .pBody a,
#p-tb .pBody a,
#p-lang .pBody a {
color: #000000;
text-decoration: none;
padding: 0 15px;
}
#p-Navigation .pBody a:hover,
#p-Interaction .pBody a:hover,
#p-search .pBody a:hover,
#p-tb .pBody a:hover,
#p-lang .pBody a:hover {
color: #454659;
text-shadow: #666 1px 1px 3px;
}
#p-Navigation li a div:hover,
#p-Interaction li a div:hover,
#p-tb li a div:hover,
#p-lang li a div:hover {
width: 197px;
background-color:#282828;
}
#p-Navigation li a div, #p-Interaction li a div, #p-tb li a div, #p-lang li a div {
padding: 2px 5px !important;
width: 197px;
}
a.feedlink {
background: none;
}
/* Search box */
#searchInput {
background: #ffffff;
border: 1px solid #000000;
margin-bottom: 3px;
padding: 2px 0 2px 2px;
width: 115px;
}
#p-search .pBody {
padding: 0;
margin: 0;
}
/* the icon in front of the user name, single quotes in bg url to hide it from iemac */
li#pt-userpage,
li#pt-anonuserpage,
li#pt-login {
background: url(/images/9/9f/Mini_Keyblade.png) top left no-repeat;
padding-left: 6px;
}
li#pt-anonuserpage {
padding-left: 12px !important;
margin-right: 6px !important;
}
/*** Monobook Sidebar ***/
.sub-menu li {
font-size: 13px !important;
}
#p-Navigation ul, #p-Interaction ul {
margin: 0;
}
#p-Navigation > div, #p-Interaction > div {
background: white;
padding: 0;
}
/* que no sea un list */
#p-Navigation li, #p-Interaction li {
display: block;
list-style-image: none !important; /* for IE */
}
/* general design of the links */
#p-Navigation li > a, #p-Interaction li > a {
display: block;
position: relative;
}
/* special menu just for the class */
#p-Navigation > div > ul > li > a, #p-Interaction > div > ul > li > a {
margin: 1px 1px 0 1px;
color: black;
width: auto;
}
#p-Navigation > div > ul > li.hover > a, #p-Interaction > div > ul > li.hover > a {
color: #666;
text-shadow: #666 1px 1px 3px;
}
#p-Navigation > div > ul > li > a > em, #p-Interaction > div > ul > li > a > em {
right: 8px;
}
/* Submenu marker */
#p-Navigation em, #p-Interaction em {
font-style: normal;
font-family: arial,sans-serif;
font-size: 16pt;
font-weight: bold;
line-height: 20px;
position: absolute;
right: 8px;
top: -2px
}
#p-Navigation li.hover > ul.sub-menu, #p-Interaction li.hover > ul.sub-menu {
display: block;
}
/* general submenu */
#p-Navigation ul.sub-menu, #p-Interaction ul.sub-menu {
border: 1px solid #000000;
display: none;
background: #fffffff;
position: absolute;
padding: 1px;
width: 180px;
margin-left: 176px;
margin-top: -24px;
z-index: 100;
}
/* Only the first */
#p-Navigation > div > ul > li > ul.sub-menu, #p-Interaction > div > ul > li > ul.sub-menu {
margin-left: 173px;
margin-top: -22px;
}
#p-Navigation .pBody a:hover,
#p-Interaction .pBody a:hover,
#p-search .pBody a:hover,
#p-tb .pBody a:hover,
#p-lang .pBody a:hover {
color: #282828;
}
#p-Navigation li a div:hover,
#p-Interaction li a div:hover,
#p-tb li a div:hover,
#p-lang li a div:hover {
width: 197px;
background-color:#282828;
}
/*** End Monobook Sidebar ***/
}
div#footer {
background-color: white;
border-top: 2px solid #282828;
border-bottom: 2px solid #282828;
font-size: 90%;
text-align: center;
padding: 0.4em 0 0.3em 0;
margin: 0.6em 0 1em 0;
}
#siteNotice {
background: white;
border: none;
border-radius: 0.5em;
margin-bottom: 0.65em;
}
#localNotice {
margin-bottom: 14px;
}
ul {
line-height: 1.5em;
list-style-type: square;
margin: .3em 0 0 1.5em;
padding: 0;
list-style-image: url(/images/bullet.png);
}
.portlet ul {
line-height: 1.5em;
list-style-type: square;
list-style-image: url(/images/bullet.png);
font-size: 95%;
}
pre {
overflow: auto;
}
/* Fix footer spacing */
#f-list {
line-height: 17px;
}
/* Indicator icons */
.mw-indicators {
top: -8px;
}
/* Multimedia viewer */
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconedElement-icon.oo-ui-icon-check,
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconElement-icon.oo-ui-icon-check {
display: none !important;
}
/* InputBox */
.mw-ui-button.mw-ui-progressive,
.mw-ui-button.mw-ui-primary {
background: #3366cc;
border-radius: 2px;
color: white !important;
padding: 5px 10px 4px !important;
text-shadow: none !important;
}
.mw-ui-button.mw-ui-progressive:hover,
.mw-ui-button.mw-ui-primary:hover {
box-shadow: none !important;
}
.mw-ui-button.mw-ui-progressive:active,
.mw-ui-button.mw-ui-primary:active {
padding: 5px 10px 4px !important;
}