「MediaWiki:Monobook.css」修訂間的差異
出自 MozTW Wiki
Danielwang(對話 | 貢獻) 小 (faq) |
Danielwang(對話 | 貢獻) 小 (faq) |
||
行 148: | 行 148: | ||
div.faq h1 { | div.faq h1 { | ||
margin-left: -2em; | margin-left: -2em; | ||
− | color: #339 | + | color: #339; |
− | |||
} | } | ||
div.faq h2 { | div.faq h2 { | ||
margin-left: -2em; | margin-left: -2em; | ||
+ | border: none; | ||
+ | padding-left:0; | ||
} | } | ||
div.faq #toc { | div.faq #toc { |
於 2005年8月12日 (五) 16:53 的修訂
body { background: #fff url("http://moztw.org/images/body_back.gif") repeat-x; } /* monobook.css bug: default logo too wide */ #p-logo a, #p-logo a:hover { width: 11.6em; } #content { margin: 3.3em 2em 0 12.6em; /* top right bottom left */ border: none; } #p-cactions { font-size: 1em; /* needed for positions to be calculated accurately */ top: 1.8em; left: 12.6em; padding-left: 0; background-color: #E0E9E9; width: auto; } #p-cactions ul { margin:0; } #p-cactions li { margin: 0; } #p-cactions li, #p-cactions li.selected { border: none; border-right: 1px solid #999; } #p-cactions li a { background-color: #eee; } li#ca-nstab-main a, li#ca-nstab-user a, li#ca-talk a, li#ca-nstab-help a, li[id^="ca-nstab"] a { background-color: white;} /* highlight selected tabs */ #p-cactions li.selected a { background-color: #fcfccf; } /* offsets to distinguish the tab groups */ li#ca-talk { margin-right: 1em; } li#ca-watch, li#ca-unwatch, li#ca-varlang-0 { margin-left: 1em; } #catlinks { border: none; } #toc { border: none; } #searchInput { width: 10em; } .portlet { width: 10.5em; } #column-one { padding-left: 0.5em; margin-left: 1em;} .portlet:before { line-height: 0.1; font-size: 1px; background: transparent url("http://moztw.org/images/menu_tr.gif") no-repeat top right; margin: 0; height: 9px; display: block; border-bottom: 1px solid #ddd; content: url("http://moztw.org/images/key-point_tl.gif"); } .portlet { border: none; background: #E0E9E9 url("http://moztw.org/images/menu_back.gif") right repeat-y; } .portlet:after { display: block; padding-top: 0; line-height: 0.1; font-size: 1px; content: url("http://moztw.org/images/key-point_bl.gif"); background: transparent url("http://moztw.org/images/menu_br.gif") scroll no-repeat bottom right ; border-top: 1px solid #fff; } .pBody { border: none; margin:0; padding:0; } .pBody ul { list-style: none; margin:0; padding:0; } .pBody li { display: inline; padding: 0; margin: 0; } .portlet { margin-bottom: 1em; } .pBody li a { display: block; text-decoration: none; background: #EDF2F2; border-bottom: 1px solid #ddd; border-top: 1px solid #fff; border-right: 1px solid #ddd; padding-left: 1em; } #feed-rss { display: block; float:left; width: 5em; } #feed-atom { margin-left: 5em; } .pBody li a:hover { background: #E0E9E9; } #p-personal:before, #p-cactions:before, #p-logo:before { display:none; content:""; } #p-personal:after, #p-cactions:after, #p-logo:after { display:none; content:""; } #p-personal, #p-logo { background: none; } #p-personal li a, #p-cactions li a { background: inherit; display: inline; } #p-personal li a:hover { background: none; } #p-personal li a { border: none; background: none; padding: 0; } #p-search .pBody { background: #E0E9E9;} #footer { border: 0; margin-left:5em; margin-right: 5em; } #content h1.firstHeading { border: none; font-weight: bold; color: #339;} div.faq { padding-left: 2em; } div.faq h1 { margin-left: -2em; color: #339; } div.faq h2 { margin-left: -2em; border: none; padding-left:0; } div.faq #toc { margin-left: -2em; width: 100%; border: none; border-top: 1px solid gray; } div.faq :target { background-color: #FAFFCF; }