「使用者:Xacid/monobook.css」修訂間的差異
出自 MozTW Wiki
小 |
小 |
||
行 1: | 行 1: | ||
#mytabs { | #mytabs { | ||
− | width: | + | width: 20em; |
− | position: | + | position: fixed; |
margin-left: 14em; | margin-left: 14em; | ||
white-space:nowrap; | white-space:nowrap; |
於 2005年3月27日 (日) 20:06 的修訂
#mytabs { width: 20em; position: fixed; 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; }