Difference between revisions of "MediaWiki:Monobook.css"
Jump to navigation
Jump to search
Jose Linden (talk | contribs) |
Jose Linden (talk | contribs) |
||
Line 154: | Line 154: | ||
text-align: center; | text-align: center; | ||
font-size: 90%; | font-size: 90%; | ||
} | |||
/* | |||
** Logo properties | |||
*/ | |||
#p-logo { | |||
z-index: 3; | |||
position: absolute; /*needed to use z-index */ | |||
top: 0; | |||
left: 0; | |||
height: 155px; | |||
width: 12em; | |||
overflow: visible; | |||
} | |||
#p-logo h5 { | |||
display: none; | |||
} | |||
#p-logo a, | |||
#p-logo a:hover { | |||
display: block; | |||
height: 155px; | |||
width: 12.2em; | |||
background-repeat: no-repeat; | |||
background-position: 35% 50% !important; | |||
text-decoration: none; | |||
} | |||
/* | |||
** the navigation portlet | |||
*/ | |||
#p-navigation { | |||
position: relative; | |||
z-index: 3; | |||
} | |||
#p-navigation .pBody { | |||
padding-right: 0; | |||
} | |||
#p-navigation a { | |||
display: block; | |||
} | |||
#p-navigation li.active a, #p-navigation li.active a:hover { | |||
text-decoration: none; | |||
display: inline; | |||
font-weight: bold; | |||
} | |||
/* | |||
** Search portlet | |||
*/ | |||
#p-search { | |||
position: relative; | |||
z-index: 3; | |||
} | |||
input.searchButton { | |||
margin-top: 1px; | |||
font-size: 95%; | |||
} | |||
#searchGoButton { | |||
padding-left: .5em; | |||
padding-right: .5em; | |||
font-weight: bold; | |||
} | |||
#searchInput { | |||
width: 10.9em; | |||
margin: 0; | |||
font-size: 95%; | |||
} | |||
#p-search .pBody { | |||
padding: .5em .4em .4em .4em; | |||
text-align: center; | |||
} | |||
/* | |||
** the personal toolbar | |||
*/ | |||
#p-personal h5 { | |||
display: none; | |||
} | |||
#p-personal .portlet, | |||
#p-personal .pBody { | |||
padding: 0; | |||
margin: 0; | |||
border: none; | |||
z-index: 0; | |||
overflow: visible; | |||
background: none; | |||
} | |||
/* this is the ul contained in the portlet */ | |||
#p-personal ul { | |||
border: none; | |||
line-height: 1.4em; | |||
color: #2f6fab; | |||
padding: 0 2em 0 3em; | |||
margin: 0; | |||
text-align: right; | |||
text-transform: lowercase; | |||
list-style: none; | |||
z-index: 0; | |||
background: none; | |||
cursor: default; | |||
} | |||
#p-personal li { | |||
z-index: 0; | |||
border: none; | |||
padding: 0; | |||
display: inline; | |||
color: #2f6fab; | |||
margin-left: 1em; | |||
line-height: 1.2em; | |||
background: none; | |||
} | |||
#p-personal li.active { | |||
font-weight: bold; | |||
} | |||
#p-personal li a { | |||
text-decoration: none; | |||
color: #005896; | |||
padding-bottom: .2em; | |||
background: none; | |||
} | |||
#p-personal li a:hover { | |||
background-color: white; | |||
padding-bottom: .2em; | |||
text-decoration: none; | |||
} | |||
#p-personal li.active a:hover { | |||
background-color: transparent; | |||
} | |||
/* 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(user.gif) top left no-repeat; | |||
padding-left: 20px; | |||
text-transform: none; | |||
} | |||
/* | |||
** the page-related actions- page/talk, edit etc | |||
*/ | |||
#p-cactions { | |||
position: absolute; | |||
top: 1.3em; | |||
left: 11.5em; | |||
margin: 0; | |||
white-space: nowrap; | |||
width: 76%; | |||
line-height: 1.1em; | |||
overflow: visible; | |||
background: none; | |||
border-collapse: collapse; | |||
padding-left: 1em; | |||
list-style: none; | |||
font-size: 95%; | |||
} | |||
#p-cactions .hiddenStructure { | |||
display: none; | |||
} | |||
#p-cactions ul { | |||
list-style: none; | |||
} | |||
#p-cactions li { | |||
display: inline; | |||
border: 1px solid #aaa; | |||
border-bottom: none; | |||
padding: 0 0 .1em 0; | |||
margin: 0 .3em 0 0; | |||
overflow: visible; | |||
background: white; | |||
} | |||
#p-cactions li.selected { | |||
border-color: #fabd23; | |||
padding: 0 0 .2em 0; | |||
font-weight: bold; | |||
} | |||
#p-cactions li a { | |||
background-color: #fbfbfb; | |||
color: #002bb8; | |||
border: none; | |||
padding: 0 .8em .3em; | |||
text-decoration: none; | |||
text-transform: lowercase; | |||
position: relative; | |||
z-index: 0; | |||
margin: 0; | |||
} | |||
#p-cactions li.selected a { | |||
z-index: 3; | |||
background-color: #fff; | |||
padding: 0 1em .2em!important; | |||
} | |||
#p-cactions .new a { | |||
color: #ba0000; | |||
} | |||
#p-cactions li a:hover { | |||
z-index: 3; | |||
text-decoration: none; | |||
background-color: #fff; | |||
} | |||
#p-cactions h5 { | |||
display: none; | |||
} | |||
#p-cactions li.istalk { | |||
margin-right: 0; | |||
} | |||
#p-cactions li.istalk a { | |||
padding-right: .5em; | |||
} | |||
#p-cactions #ca-addsection a { | |||
padding-left: .4em; | |||
padding-right: .4em; | |||
} | |||
/* offsets to distinguish the tab groups */ | |||
li#ca-talk { | |||
margin-right: 1.6em; | |||
} | |||
li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print { | |||
margin-left: 1.6em; | |||
} | |||
/* | |||
** the remaining portlets | |||
*/ | |||
#p-tbx, | |||
#p-lang { | |||
position: relative; | |||
z-index: 3; | |||
} | |||
/* TODO: #t-iscite is only used by the Cite extension, come up with some | |||
* system which allows extensions to add to this file on the fly | |||
*/ | |||
#t-ispermalink, #t-iscite { | |||
color: #999; | |||
} | } |
Revision as of 11:17, 9 January 2007
/* GLOBAL STYLES: text, links, form elements, etc */
body {
margin : 0px;
font-size: 62.0%;
font-family:verdana, helvetica, sans-serif;
background: #f9f9f9 url(sky.jpg) 0 0 no-repeat;
color:#546368;
}
a {color:#4378a4; text-decoration:underline;}
a:active {color:#50607C; text-decoration:underline;}
a:hover {color:#ff7900;text-decoration:underline;}
a.promolink {color:#4378a4; text-decoration:none;}
a.promolink:active {color:#50607C; text-decoration:none;}
a.promolink:hover {color:#ff7900;text-decoration:none;}
a img {border: 0px #FFFFFF none;}
a:active img {border: 0px #FFFFFF none;}
a:hover img {border: 0px #FFFFFF none;}
a.nodec {text-decoration:none}
a.nodec:hover {text-decoration:none}
/* If we don't explicitly choose a size for H2, H3, Firefox and IE
choose sizes that are very different.
*/
h1 { font-family: Arial, Helvetica, Sans-Serif; font-weight:bold; color: #546368;}
h2 { font-family: Arial, Helvetica, Sans-Serif; font-weight:bold; color: #546368; font-size: 18px; }
h3 { font-size: 14px; padding:0px; margin: 12px 0 8px 0 }
/* table cells */
td.heading { border-bottom: 1px dotted black }
td.title { font-weight: bold }
td.right { text-align: right }
td.center { text-align: center }
td.ledger-shade { background-color: #dddddd }
/**********************************/
#box{
border: 1px solid #aaaaaa;
margin-bottom:10px;
}
#box h2{
margin:0; background-color:#f4f8fb; font-size:120%; font-weight:bold; border-bottom:1px dotted #aaaaaa; text-align:left; padding: 0.5em;
}
#content {
font-family:verdana, helvetica, sans-serif;
color:#546368;
margin: 2.8em 0 0 12.2em;
padding: 0 1em 1.5em 1em;
background: white;
border: 1px solid #aaa;
border-right: none;
line-height: 1.5em;
position: relative;
z-index: 2;
}
#column-one {
background-color: #ffffff;
padding-top: 160px;
}
/******************* MARKER *************************/
.portlet {
border: none;
margin: 0 0 .5em;
padding: 0;
float: none;
width: 11.6em;
overflow: hidden;
}
.portlet h4 {
font-size: 95%;
font-weight: normal;
white-space: nowrap;
}
.portlet h5 {
margin-left:5px;
font-family: Arial, Helvetica, Sans-Serif;
font-size: 11px;
font-weight: bold;
color: #546368;
background-color:#ffffff;
padding: 3px 5px 0px 5px;
height: 1em;
text-transform: uppercase;
white-space: nowrap;
}
.portlet h6 {
background: #ffae2e;
border: 1px dotted #2f6fab;
border-style: solid solid none solid;
padding: 0 1em 0 1em;
text-transform: lowercase;
display: block;
font-size: 1em;
height: 1.2em;
font-weight: normal;
white-space: nowrap;
}
.pBody {
padding: 0 .8em .3em 1em;
font-size: 11px;
border:1px solid white;
background-color:#ffffff;
color:#eeeeee;
text-decoration: none;
}
.portlet h1,
.portlet h2,
.portlet h3,
.portlet h4 {
margin: 0;
padding: 0;
}
.portlet ul {
line-height: 1.5em;
list-style-type: square;
list-style-image: url(bullet.gif);
font-size: 95%;
}
.portlet li {
padding: 0;
margin: 0;
}
.portlet a {color:#4378a4; text-decoration:underline;}
.portlet a:active {color: #50607C; text-decoration:underline;}
.portlet a:hover {color:#ff7900;text-decoration:underline;}
#p-personal {
white-space: nowrap;
padding: 5px 5px 5px 5px;
margin: 0;
position: absolute;
left:0;
top: 0;
z-index: 0;
overflow: visible;
line-height: 1.2em;
}
#footer {
background-color: white;
border-top: 1px solid #ff9e2d;
border-bottom: 1px solid #ff9e2d;
margin: .6em 0 1em 0;
padding: .4em 0 1.2em 0;
text-align: center;
font-size: 90%;
}
/*
** Logo properties
*/
#p-logo {
z-index: 3;
position: absolute; /*needed to use z-index */
top: 0;
left: 0;
height: 155px;
width: 12em;
overflow: visible;
}
#p-logo h5 {
display: none;
}
#p-logo a,
#p-logo a:hover {
display: block;
height: 155px;
width: 12.2em;
background-repeat: no-repeat;
background-position: 35% 50% !important;
text-decoration: none;
}
/*
** the navigation portlet
*/
#p-navigation {
position: relative;
z-index: 3;
}
#p-navigation .pBody {
padding-right: 0;
}
#p-navigation a {
display: block;
}
#p-navigation li.active a, #p-navigation li.active a:hover {
text-decoration: none;
display: inline;
font-weight: bold;
}
/*
** Search portlet
*/
#p-search {
position: relative;
z-index: 3;
}
input.searchButton {
margin-top: 1px;
font-size: 95%;
}
#searchGoButton {
padding-left: .5em;
padding-right: .5em;
font-weight: bold;
}
#searchInput {
width: 10.9em;
margin: 0;
font-size: 95%;
}
#p-search .pBody {
padding: .5em .4em .4em .4em;
text-align: center;
}
/*
** the personal toolbar
*/
#p-personal h5 {
display: none;
}
#p-personal .portlet,
#p-personal .pBody {
padding: 0;
margin: 0;
border: none;
z-index: 0;
overflow: visible;
background: none;
}
/* this is the ul contained in the portlet */
#p-personal ul {
border: none;
line-height: 1.4em;
color: #2f6fab;
padding: 0 2em 0 3em;
margin: 0;
text-align: right;
text-transform: lowercase;
list-style: none;
z-index: 0;
background: none;
cursor: default;
}
#p-personal li {
z-index: 0;
border: none;
padding: 0;
display: inline;
color: #2f6fab;
margin-left: 1em;
line-height: 1.2em;
background: none;
}
#p-personal li.active {
font-weight: bold;
}
#p-personal li a {
text-decoration: none;
color: #005896;
padding-bottom: .2em;
background: none;
}
#p-personal li a:hover {
background-color: white;
padding-bottom: .2em;
text-decoration: none;
}
#p-personal li.active a:hover {
background-color: transparent;
}
/* 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(user.gif) top left no-repeat;
padding-left: 20px;
text-transform: none;
}
/*
** the page-related actions- page/talk, edit etc
*/
#p-cactions {
position: absolute;
top: 1.3em;
left: 11.5em;
margin: 0;
white-space: nowrap;
width: 76%;
line-height: 1.1em;
overflow: visible;
background: none;
border-collapse: collapse;
padding-left: 1em;
list-style: none;
font-size: 95%;
}
#p-cactions .hiddenStructure {
display: none;
}
#p-cactions ul {
list-style: none;
}
#p-cactions li {
display: inline;
border: 1px solid #aaa;
border-bottom: none;
padding: 0 0 .1em 0;
margin: 0 .3em 0 0;
overflow: visible;
background: white;
}
#p-cactions li.selected {
border-color: #fabd23;
padding: 0 0 .2em 0;
font-weight: bold;
}
#p-cactions li a {
background-color: #fbfbfb;
color: #002bb8;
border: none;
padding: 0 .8em .3em;
text-decoration: none;
text-transform: lowercase;
position: relative;
z-index: 0;
margin: 0;
}
#p-cactions li.selected a {
z-index: 3;
background-color: #fff;
padding: 0 1em .2em!important;
}
#p-cactions .new a {
color: #ba0000;
}
#p-cactions li a:hover {
z-index: 3;
text-decoration: none;
background-color: #fff;
}
#p-cactions h5 {
display: none;
}
#p-cactions li.istalk {
margin-right: 0;
}
#p-cactions li.istalk a {
padding-right: .5em;
}
#p-cactions #ca-addsection a {
padding-left: .4em;
padding-right: .4em;
}
/* offsets to distinguish the tab groups */
li#ca-talk {
margin-right: 1.6em;
}
li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
margin-left: 1.6em;
}
/*
** the remaining portlets
*/
#p-tbx,
#p-lang {
position: relative;
z-index: 3;
}
/* TODO: #t-iscite is only used by the Cite extension, come up with some
* system which allows extensions to add to this file on the fly
*/
#t-ispermalink, #t-iscite {
color: #999;
}