MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(New page: →CSS placed here will be applied to all skins: /*--------------------------------------------------| | dTree 2.05 | www.destroydrop.com/javascript/tree/ | |----------------------------...) |
No edit summary |
||
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Use this to eliminate the existing navigation toolbox */ | |||
#p-navigation, #p-tb h5, #p-tb .pBody { display:none } | |||
#p-tb { | |||
overflow:visible; | |||
} | |||
/*--------------------------------------------------| | /*--------------------------------------------------| | ||
| dTree 2.05 | www.destroydrop.com/javascript/tree/ | | | dTree 2.05 | www.destroydrop.com/javascript/tree/ | | ||
Line 33: | Line 43: | ||
.dtree .clip { | .dtree .clip { | ||
overflow: hidden; | overflow: hidden; | ||
} | |||
/* | |||
* Dynamic menus | |||
*/ | |||
.dmenu { width: 140px } | |||
.dmenu, .dmenu ul { /* all lists */ | |||
padding: 0; | |||
margin: 0; | |||
list-style: none; | |||
} | |||
.dmenu .selflink { font-weight: normal; } | |||
.dmenu li { /* all list items */ | |||
position: relative; | |||
float: left; | |||
width: 132px; | |||
padding: 4px; | |||
z-index: 100; | |||
} | |||
.dmenu li, | |||
.dmenu li.even a, | |||
.dmenu li.odd a, | |||
.dmenu li li, | |||
.dmenu li li a, | |||
.dmenu li li li, | |||
.dmenu li li li a { | |||
color : black; | |||
} | |||
.dmenu li li { margin: 0; } | |||
.dmenu li ul { /* second-level lists */ | |||
position: absolute; | |||
left: -999em; | |||
z-index: 101; | |||
border: 1px solid #ccc; | |||
} | |||
.dmenu li ul ul { /* third-and-above-level lists */ | |||
position: absolute; | |||
left: -999em; | |||
margin: 0 0 0 0; | |||
z-index: 102; | |||
} | |||
.dmenu li.odd .submenu { | |||
width: 12px; | |||
height: 15px; | |||
float: right; | |||
background: url(/common/images/rarr-lt.png) 0 3px no-repeat; | |||
} | |||
.dmenu li.even .submenu { | |||
width: 12px; | |||
height: 15px; | |||
float: right; | |||
background: url(/common/images/rarr-dk.png) 0 3px no-repeat; | |||
} | |||
.dmenu li.odd { | |||
background: #E9EDF4; | |||
border: 2px solid #E9EDF4; | |||
} | |||
.dmenu li.even { | |||
background: #D0D8E8; | |||
border: 2px solid #D0D8E8; | |||
} | |||
.dmenu li:hover, .dmenu li.sfhover { | |||
border: 2px solid #385D8A; | |||
} | |||
.dmenu li:hover ul ul, | |||
.dmenu li:hover ul ul ul, | |||
.dmenu li.sfhover ul ul, | |||
.dmenu li.sfhover ul ul ul { | |||
left: -999em; | |||
} | |||
.dmenu li:hover ul, | |||
.dmenu li li:hover ul, | |||
.dmenu li li li:hover ul, | |||
.dmenu li.sfhover ul, | |||
.dmenu li li.sfhover ul, | |||
.dmenu li li li.sfhover ul { /* lists nested under hovered list items */ | |||
left: 141px; | |||
top: -3px; | |||
} | |||
table.calendar { margin: 0; padding: 10px; } | |||
table.calendar td { margin: 0; padding: 2px; vertical-align: top; } | |||
table.month .heading td { padding:2px; background-color:#d4d4d4; color:#aaa; text-align:center; font-size:120%; font-weight:bold; } | |||
table.month .dow td { color:#aaa; text-align:center; font-size:110%; } | |||
table.month td.today { background-color:#ddd; } | |||
table.month td { | |||
border: none; | |||
margin: 0; | |||
padding: 1pt 1.5pt; | |||
font-weight: bold; | |||
font-size: 8pt; | |||
text-align: right; | |||
background-color: #eee; | |||
} | |||
#bodyContent table.month a { background:none; padding:0 } | |||
.day-active { color:#0000cc } | |||
.day-empty { color:#cc0000 } | |||
/** The style for the Terms and Conditions area in the new User Registration page */ | |||
.tcs { | |||
background-color: white; | |||
color:red; | |||
font-weight:bold; | |||
font-size:large; | |||
border-style:ridge; | |||
border-width:50%; | |||
padding:2%; | |||
} | |||
/** | |||
* A Style for the AC template link | |||
*/ | |||
.myLinksTable | |||
{ | |||
text-align: center; | |||
color: white; | |||
} | |||
.myLinksTable td | |||
{ | |||
font-size: 9pt; | |||
font-family: arial, helvetica, sans-serif; | |||
background-color: #AED7FF; | |||
height: 18px; | |||
vertical-align: middle; | |||
width: 118px; | |||
} | |||
.myLinksTable a:link | |||
{ | |||
color:White; | |||
} | |||
.myLinksTable a:visited | |||
{ | |||
color:yellow; | |||
} | } |
Latest revision as of 13:54, 22 June 2009
/* CSS placed here will be applied to all skins */ /* Use this to eliminate the existing navigation toolbox */ #p-navigation, #p-tb h5, #p-tb .pBody { display:none } #p-tb { overflow:visible; } /*--------------------------------------------------| | dTree 2.05 | www.destroydrop.com/javascript/tree/ | |---------------------------------------------------| | Copyright (c) 2002-2003 Geir Landr� | |--------------------------------------------------*/ .dtree { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; color: #666; white-space: nowrap; } .dtree img { border: 0px; vertical-align: middle; } .dtree a { color: #333; text-decoration: none; } .dtree a.node, .dtree a.nodeSel { white-space: nowrap; padding: 1px 2px 1px 2px; } .dtree a.node:hover, .dtree a.nodeSel:hover { color: #333; text-decoration: underline; } .dtree a.nodeSel { background-color: #c0d2ec; } .dtree .clip { overflow: hidden; } /* * Dynamic menus */ .dmenu { width: 140px } .dmenu, .dmenu ul { /* all lists */ padding: 0; margin: 0; list-style: none; } .dmenu .selflink { font-weight: normal; } .dmenu li { /* all list items */ position: relative; float: left; width: 132px; padding: 4px; z-index: 100; } .dmenu li, .dmenu li.even a, .dmenu li.odd a, .dmenu li li, .dmenu li li a, .dmenu li li li, .dmenu li li li a { color : black; } .dmenu li li { margin: 0; } .dmenu li ul { /* second-level lists */ position: absolute; left: -999em; z-index: 101; border: 1px solid #ccc; } .dmenu li ul ul { /* third-and-above-level lists */ position: absolute; left: -999em; margin: 0 0 0 0; z-index: 102; } .dmenu li.odd .submenu { width: 12px; height: 15px; float: right; background: url(/common/images/rarr-lt.png) 0 3px no-repeat; } .dmenu li.even .submenu { width: 12px; height: 15px; float: right; background: url(/common/images/rarr-dk.png) 0 3px no-repeat; } .dmenu li.odd { background: #E9EDF4; border: 2px solid #E9EDF4; } .dmenu li.even { background: #D0D8E8; border: 2px solid #D0D8E8; } .dmenu li:hover, .dmenu li.sfhover { border: 2px solid #385D8A; } .dmenu li:hover ul ul, .dmenu li:hover ul ul ul, .dmenu li.sfhover ul ul, .dmenu li.sfhover ul ul ul { left: -999em; } .dmenu li:hover ul, .dmenu li li:hover ul, .dmenu li li li:hover ul, .dmenu li.sfhover ul, .dmenu li li.sfhover ul, .dmenu li li li.sfhover ul { /* lists nested under hovered list items */ left: 141px; top: -3px; } table.calendar { margin: 0; padding: 10px; } table.calendar td { margin: 0; padding: 2px; vertical-align: top; } table.month .heading td { padding:2px; background-color:#d4d4d4; color:#aaa; text-align:center; font-size:120%; font-weight:bold; } table.month .dow td { color:#aaa; text-align:center; font-size:110%; } table.month td.today { background-color:#ddd; } table.month td { border: none; margin: 0; padding: 1pt 1.5pt; font-weight: bold; font-size: 8pt; text-align: right; background-color: #eee; } #bodyContent table.month a { background:none; padding:0 } .day-active { color:#0000cc } .day-empty { color:#cc0000 } /** The style for the Terms and Conditions area in the new User Registration page */ .tcs { background-color: white; color:red; font-weight:bold; font-size:large; border-style:ridge; border-width:50%; padding:2%; } /** * A Style for the AC template link */ .myLinksTable { text-align: center; color: white; } .myLinksTable td { font-size: 9pt; font-family: arial, helvetica, sans-serif; background-color: #AED7FF; height: 18px; vertical-align: middle; width: 118px; } .myLinksTable a:link { color:White; } .myLinksTable a:visited { color:yellow; }