User:Erry/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 1: | Line 1: | ||
/* CSS placed here will affect users of the | /* CSS placed here will affect users of the Monobook skin */ | ||
#content { | #content { | ||
margin-left: 196px !important; | |||
margin-left: | |||
padding: 0px 1em 1.5em 1em !important; | padding: 0px 1em 1.5em 1em !important; | ||
background: white !important; | background: white !important; | ||
Line 20: | Line 9: | ||
border-right: none !important; | border-right: none !important; | ||
line-height: 1.5em !important; | line-height: 1.5em !important; | ||
z-index: 2 !important; | z-index: 2 !important; | ||
} | } | ||
#column-content { | #column-content { | ||
margin-left: - | margin-left: -196px !important; | ||
} | } | ||
#p-logo a, #p-logo a:hover { | #p-logo a, #p-logo a:hover { | ||
display: block !important; | |||
background-image: url(http://i.imgur.com/0RC2wvu.png) !important; | |||
background-color: transparent; | |||
} | |||
#p-logo { | |||
#p-logo{ | margin-left: 21px; | ||
margin-left: | |||
} | } | ||
body{background:#000000 | body { | ||
url(http:// | background: #000000 url(http://i.imgur.com/fKW8NxE.png) repeat; | ||
} | } | ||
#searchInput { | |||
margin-bottom: 6px !important; | |||
} | |||
#mw-searchButton { | |||
display: none; | |||
margin-bottom: 10px !important; | |||
} | |||
#p-cactions { | #p-cactions { | ||
left: | left: 183px !important; | ||
background-color: transparent; | |||
border-bottom: none; | |||
} | } | ||
#p-cactions li { | #p-cactions li { | ||
border: 1px solid #e51373; | |||
border-bottom: none; | |||
} | } | ||
#p-cactions li.selected { | #p-cactions li.selected { | ||
border: 1px solid #e51373; | |||
border-bottom: none; | |||
} | } | ||
Line 63: | Line 55: | ||
z-index: 3; | z-index: 3; | ||
text-decoration: none; | text-decoration: none; | ||
background-color: black; | |||
border: 1px solid #e51373; | |||
border-bottom: none; | |||
} | } | ||
#p-cactions ul li, #p-cactions ul li a | #p-cactions ul li, #p-cactions ul li a { | ||
{ | border-top-left-radius: 0.5em; | ||
border-top-right-radius: 0.5em; | |||
} | } | ||
#content | |||
{ | #content { | ||
border-top-left-radius: 1em; | |||
border-bottom-left-radius: 1em; | |||
} | } | ||
.toc | .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; | |||
} | } | ||
/* Personal links at top right */ | /* Personal links at top right */ | ||
#p-personal .pBody ul { | |||
background: #ffffff; | |||
border-bottom: 1px solid #e51373; | |||
border-left: 1px solid #e51373; | |||
float: right; | |||
padding-left: 5px; | |||
height: 1.45em; | |||
border-bottom-left-radius: 0.5em; | |||
} | |||
#p-personal li { | |||
color: #000000; | |||
margin: 0; | |||
} | |||
#p-personal li a { | |||
color: #000000; | |||
padding: 0.5em; | |||
} | |||
#p-personal li a:hover { | |||
background: transparent; | |||
border-bottom: 1px solid #e5173; | |||
} | |||
#p-personal li a.new { | |||
color: #DDDDDD; | |||
} | |||
/* | /* Navigation and other left-menu boxes */ | ||
#p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang { | |||
margin: 1em 0; | |||
margin-left: 7px; | |||
} | |||
.pBody { | |||
padding: 0; | padding: 0; | ||
margin: 0; | margin: 0; | ||
} | |||
#p-Navigation ul, #p-Interaction ul, #p-search ul, #p-tb ul, #p-lang ul { | |||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | |||
#p-Navigation li, #p-Interaction li, #p-search li, #p-tb li, #p-lang li { | |||
list-style: none; | list-style: none; | ||
font-family:Tahoma,arial,sans-serif; | font-family: Tahoma,arial,sans-serif; | ||
font-weight:bold; | font-weight: bold; | ||
font-size: 110%; | font-size: 110%; | ||
display:block; | display: block; | ||
margin: 0; | margin: 0; | ||
padding: 2px 0 2px 5px; | padding: 2px 0 2px 5px; | ||
} | } | ||
#p-tb li, #p-lang li { | |||
margin-left: 11px; | |||
} | |||
#p-Navigation | #p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang { | ||
background: url(http:// | background: #FFFFFF url(http://i.imgur.com/84UsUBA.png) repeat-x; | ||
display:block; | width: 180px; | ||
padding-top: 1px; | |||
border: 1px solid #000000; | |||
border-bottom-left-radius: 1em; | |||
border-top-left-radius: 1em; | |||
border-bottom-right-radius: 1em; | |||
border-top-right-radius: 1em; | |||
} | |||
#p-search, #p-lang, #p-lang .pBody, #p-lang .pBody ul, #searchform, #searchBody { | |||
border-bottom-left-radius: 1em !important; | |||
border-bottom-right-radius: 1em !important; | |||
} | |||
#p-Navigation h5, #p-Interaction h5, #p-search h5, #p-tb h5, #p-lang h5 { | |||
display: block; | |||
border: none; | border: none; | ||
position:relative; | position: relative; | ||
left:-180px; | left: -180px; | ||
width:282px; | width: 282px; | ||
height:16px; | height: 16px; | ||
} | } | ||
#p- | #p-Navigation h5 { | ||
background: url( | background: url(/images/2/2f/Sidebar-Navigation.png) no-repeat 180px top; | ||
} | |||
#p-Interaction h5 { | |||
background: url(/images/9/93/Sidebar-Community.png) no-repeat 180px top; | |||
} | |||
#p-search h5 { | |||
background: url(/images/f/f6/Sidebar-Search.png) no-repeat 180px top; | |||
} | |||
#p-tb h5 { | |||
background: url(/images/3/33/Sidebar-Toolbox.png) no-repeat 180px top; | |||
} | |||
#p-lang h5 { | |||
background: url(/images/e/ee/Sidebar-Languages.png) no-repeat 180px top; | |||
} | } | ||
#p- | #p-Navigation .pBody, | ||
#p-Interaction .pBody, | |||
display:block; | #p-search .pBody, | ||
#p-tb .pBody, | |||
#p-lang .pBody { | |||
display: block; | |||
background: #FFFFFF; | |||
} | } | ||
#p-Navigation .pBody a, | |||
#p- | #p-Interaction .pBody a, | ||
#p-search .pBody a, | |||
#p-tb .pBody a, | |||
#p-lang .pBody a { | |||
color: #000; | |||
text-decoration: none; | |||
} | } | ||
#p-Navigation .pBody a:hover, | |||
#p- | #p-Interaction .pBody a:hover, | ||
#p-search .pBody a:hover, | |||
#p-tb .pBody a:hover, | |||
#p-lang .pBody a:hover { | |||
color: #e51373; | |||
} | } | ||
#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; | width: 197px; | ||
background-color:#e51373; | background-color:#e51373; | ||
} | |||
#p-Navigation li a div, #p-Interaction li a div, #p-tb li a div, #p-lang li a div, #feedlinks { | |||
padding: 2px 5px !important; | padding: 2px 5px !important; | ||
width: 197px; | width: 197px; | ||
} | |||
/* | /* Search box */ | ||
#searchInput { | |||
background: #ffffff; | |||
border: 1px solid #000000; | |||
margin-bottom: 3px; | |||
padding: 2px; | |||
width: 110px; | |||
} | |||
#p-search .pBody { | |||
padding: 0; | |||
margin: 0; | |||
} | } | ||
/* the icon in front of the user name, single quotes | /* the icon in front of the user name, single quotes in bg url to hide it from iemac */ | ||
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( | background: url(/images/9/9f/Mini_Keyblade.png) top left no-repeat; | ||
padding-left: | padding-left: 6px; | ||
text-transform: none; | |||
} | |||
li#pt-createaccount { | |||
text-transform: none; | text-transform: none; | ||
} | } | ||
/*** Monobook Sidebar ***/ | /*** Monobook Sidebar ***/ | ||
ul.sub-menu { | |||
background: white; | background: white; | ||
} | } | ||
.sub-menu li { | |||
font-size: 13px !important; | |||
font-size: | |||
} | } | ||
#p-Navigation ul, #p-Interaction ul { | |||
#p-Navigation ul | |||
#p-Interaction ul { | |||
margin: 0; | margin: 0; | ||
} | } | ||
#p-Interaction > div { | #p-Navigation > div, #p-Interaction > div { | ||
background: white; | background: white; | ||
padding: 0; | padding: 0; | ||
} | } | ||
/* que no sea un list */ | /* que no sea un list */ | ||
#p-Interaction li { | #p-Navigation li, #p-Interaction 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-Interaction li > a { | #p-Navigation li > a, #p-Interaction li > a { | ||
display: block; | display: block; | ||
position: relative; | position: relative; | ||
} | } | ||
/* special menu just for the class */ | /* special menu just for the class */ | ||
#p-Interaction > div > ul > li > a { | #p-Navigation > div > ul > li > a, #p-Interaction > div > ul > li > a { | ||
margin: 1px 1px 0 1px; | margin: 1px 1px 0 1px; | ||
padding: 0 0 0 10px; | padding: 0 0 0 10px; | ||
Line 381: | Line 261: | ||
width: auto; | width: auto; | ||
} | } | ||
#p-Interaction > div > ul > li.hover > a { | #p-Navigation > div > ul > li.hover > a, #p-Interaction > div > ul > li.hover > a { | ||
color: # | color: #e51373; | ||
text-shadow: #e51373 1px 1px 3px; | text-shadow: #e51373 1px 1px 3px; | ||
} | } | ||
#p-Interaction > div > ul > li > a > em { | #p-Navigation > div > ul > li > a > em, #p-Interaction > div > ul > li > a > em { | ||
right: 8px; | right: 8px; | ||
} | } | ||
/* | /* Submenu marker */ | ||
#p-Interaction em { | #p-Navigation em, #p-Interaction em { | ||
font-style: normal; | font-style: normal; | ||
font-family: arial,sans-serif; | font-family: arial,sans-serif; | ||
Line 399: | Line 279: | ||
top: 0px | top: 0px | ||
} | } | ||
/* | /* Hover */ | ||
#p-Interaction li > ul > li.hover > a { | #p-Navigation li > ul > li.hover > a, #p-Interaction li > ul > li.hover > a { | ||
background-color: # | background-color: #111111; | ||
} | } | ||
#p-Interaction li.hover > ul.sub-menu { | #p-Navigation li.hover > ul.sub-menu, #p-Interaction li.hover > ul.sub-menu { | ||
display: block; | display: block; | ||
} | } | ||
/* general submenu */ | /* general submenu */ | ||
#p-Interaction ul.sub-menu { | #p-Navigation ul.sub-menu, #p-Interaction ul.sub-menu { | ||
border: 1px solid # | border: 1px solid #000000; | ||
display: none; | display: none; | ||
background: # | background: #fffffff; | ||
position: absolute; | position: absolute; | ||
padding: 1px; | padding: 1px; | ||
width: | width: 170px; | ||
margin-left: | margin-left: 161px; | ||
margin-top: - | margin-top: -24px; | ||
z-index: 100; | z-index: 100; | ||
} | } | ||
/* Only the first */ | /* Only the first */ | ||
#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: | margin-left: 168px; | ||
margin-top: -22px; | |||
} | } | ||
Line 434: | Line 311: | ||
#p-tb .pBody a:hover, | #p-tb .pBody a:hover, | ||
#p-lang .pBody a:hover { | #p-lang .pBody a:hover { | ||
color: #e51373; | |||
} | |||
#p-Navigation li a div:hover, | #p-Navigation li a div:hover, | ||
Line 441: | Line 318: | ||
#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:#e51373; | |||
} | |||
/*** End Monobook Sidebar ***/ | |||
div#footer { | div#footer { | ||
Line 455: | Line 333: | ||
} | } | ||
#siteNotice { | |||
padding: 10px 0.9em 0 0.9em; | |||
background: white; | |||
margin-bottom: 5px; | |||
border-radius: 0.5em; | |||
border: none; | |||
} | |||
ul { | |||
line-height: 1.5em; | |||
list-style-type: square; | |||
margin: .3em 0 0 1.5em; | |||
padding: 0; | |||
list-style-image: url(http://i.imgur.com/th0GZwB.png); | |||
} | |||
.portlet ul { | |||
line-height: 1.5em; | |||
list-style-type: square; | |||
list-style-image: url(http://i.imgur.com/th0GZwB.png); | |||
font-size: 95%; | |||
} | |||
pre { | |||
overflow: auto; | |||
} |
Revision as of 18:52, 4 March 2013
/* CSS placed here will affect users of the Monobook skin */
#content {
margin-left: 196px !important;
padding: 0px 1em 1.5em 1em !important;
background: white !important;
color: black !important;
border: 1px solid #000000 !important;
border-right: none !important;
line-height: 1.5em !important;
z-index: 2 !important;
}
#column-content {
margin-left: -196px !important;
}
#p-logo a, #p-logo a:hover {
display: block !important;
background-image: url(http://i.imgur.com/0RC2wvu.png) !important;
background-color: transparent;
}
#p-logo {
margin-left: 21px;
}
body {
background: #000000 url(http://i.imgur.com/fKW8NxE.png) repeat;
}
#searchInput {
margin-bottom: 6px !important;
}
#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 #e51373;
border-bottom: none;
}
#p-cactions li.selected {
border: 1px solid #e51373;
border-bottom: none;
}
#p-cactions li a:hover {
z-index: 3;
text-decoration: none;
background-color: black;
border: 1px solid #e51373;
border-bottom: none;
}
#p-cactions ul li, #p-cactions ul li a {
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em;
}
#content {
border-top-left-radius: 1em;
border-bottom-left-radius: 1em;
}
.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;
}
/* Personal links at top right */
#p-personal .pBody ul {
background: #ffffff;
border-bottom: 1px solid #e51373;
border-left: 1px solid #e51373;
float: right;
padding-left: 5px;
height: 1.45em;
border-bottom-left-radius: 0.5em;
}
#p-personal li {
color: #000000;
margin: 0;
}
#p-personal li a {
color: #000000;
padding: 0.5em;
}
#p-personal li a:hover {
background: transparent;
border-bottom: 1px solid #e5173;
}
#p-personal li a.new {
color: #DDDDDD;
}
/* Navigation and other left-menu boxes */
#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 2px 5px;
}
#p-tb li, #p-lang li {
margin-left: 11px;
}
#p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang {
background: #FFFFFF url(http://i.imgur.com/84UsUBA.png) repeat-x;
width: 180px;
padding-top: 1px;
border: 1px solid #000000;
border-bottom-left-radius: 1em;
border-top-left-radius: 1em;
border-bottom-right-radius: 1em;
border-top-right-radius: 1em;
}
#p-search, #p-lang, #p-lang .pBody, #p-lang .pBody ul, #searchform, #searchBody {
border-bottom-left-radius: 1em !important;
border-bottom-right-radius: 1em !important;
}
#p-Navigation h5, #p-Interaction h5, #p-search h5, #p-tb h5, #p-lang h5 {
display: block;
border: none;
position: relative;
left: -180px;
width: 282px;
height: 16px;
}
#p-Navigation h5 {
background: url(/images/2/2f/Sidebar-Navigation.png) no-repeat 180px top;
}
#p-Interaction h5 {
background: url(/images/9/93/Sidebar-Community.png) no-repeat 180px top;
}
#p-search h5 {
background: url(/images/f/f6/Sidebar-Search.png) no-repeat 180px top;
}
#p-tb h5 {
background: url(/images/3/33/Sidebar-Toolbox.png) no-repeat 180px top;
}
#p-lang h5 {
background: url(/images/e/ee/Sidebar-Languages.png) no-repeat 180px top;
}
#p-Navigation .pBody,
#p-Interaction .pBody,
#p-search .pBody,
#p-tb .pBody,
#p-lang .pBody {
display: block;
background: #FFFFFF;
}
#p-Navigation .pBody a,
#p-Interaction .pBody a,
#p-search .pBody a,
#p-tb .pBody a,
#p-lang .pBody a {
color: #000;
text-decoration: none;
}
#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: #e51373;
}
#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:#e51373;
}
#p-Navigation li a div, #p-Interaction li a div, #p-tb li a div, #p-lang li a div, #feedlinks {
padding: 2px 5px !important;
width: 197px;
}
/* Search box */
#searchInput {
background: #ffffff;
border: 1px solid #000000;
margin-bottom: 3px;
padding: 2px;
width: 110px;
}
#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;
text-transform: none;
}
li#pt-createaccount {
text-transform: none;
}
/*** Monobook Sidebar ***/
ul.sub-menu {
background: white;
}
.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;
padding: 0 0 0 10px;
color: black;
width: auto;
}
#p-Navigation > div > ul > li.hover > a, #p-Interaction > div > ul > li.hover > a {
color: #e51373;
text-shadow: #e51373 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: 0px
}
/* Hover */
#p-Navigation li > ul > li.hover > a, #p-Interaction li > ul > li.hover > a {
background-color: #111111;
}
#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: 170px;
margin-left: 161px;
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: 168px;
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: #e51373;
}
#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:#e51373;
}
/*** End Monobook Sidebar ***/
div#footer {
background-color: white;
border-top: 2px solid #e51373;
border-bottom: 2px solid #e51373;
margin: .6em 0 1em 0;
padding: .4em 0 1.2em 0;
text-align: center;
font-size: 90%;
}
#siteNotice {
padding: 10px 0.9em 0 0.9em;
background: white;
margin-bottom: 5px;
border-radius: 0.5em;
border: none;
}
ul {
line-height: 1.5em;
list-style-type: square;
margin: .3em 0 0 1.5em;
padding: 0;
list-style-image: url(http://i.imgur.com/th0GZwB.png);
}
.portlet ul {
line-height: 1.5em;
list-style-type: square;
list-style-image: url(http://i.imgur.com/th0GZwB.png);
font-size: 95%;
}
pre {
overflow: auto;
}