「使用者:Xacid/monobook.css」修訂間的差異
出自 MozTW Wiki
小 |
小 |
||
行 2: | 行 2: | ||
width: 20em; | width: 20em; | ||
position: fixed; | position: fixed; | ||
+ | z-index: 100; | ||
margin-left: 14em; | margin-left: 14em; | ||
white-space:nowrap; | white-space:nowrap; |
於 2005年3月27日 (日) 20:11 的修訂
#mytabs { width: 20em; position: fixed; z-index: 100; margin-left: 14em; white-space:nowrap; line-height: 1.2em; overflow: hidden; border-collapse: collapse; list-style: none; font-size: 95%; } #mytabs h5 { display: none } #mytabs ul { margin: 0; } #mytabs li { display: block; } #mytabs li a { padding: 0 0.4em; border-left: 1px solid Grey; } #mytabs .hiddenStructure { display: none; } #mytabs li { display: inline; border: 1px solid #aaaaaa; border-top: none; padding: 0.1em 0 0 0; margin: 0 0.3em 0 0; overflow: visible; background: White; } #mytabs li.selected { border-color: #fabd23; padding: 0.2em 0 0 0; } #mytabs li a { background-color: White; color: #005189; border: none; padding: 0.3em 0.8em 0 0.8em; text-decoration: none; position: relative; margin: 0; } #mytabs li.selected a { z-index: 3; } #mytabs .new a { color:#ba0000; } #mytabs li a:hover { z-index: 3; text-decoration: none; } #mytabs h5 { display: none; } #mytabs li.istalk { margin-right: 0; } #mytabs li.istalk a { padding-right: 0.5em; } #mytabs-ca-addsection a { padding-left: 0.4em; padding-right: 0.4em; } /* offsets to distinguish the tab groups */ li#mytabs-ca-talk { margin-right: 1.6em; } li#mytabs-ca-watch { margin-left: 1.6em; }