"模板:TocF" 修訂間的差異
出自 淡水維基館
(新頁面: <div style="display: block; position: fixed; top: 100px; right: 0px; overflow-y: scroll; border: 1px solid #aaa; border-radius: 0 0 1px 1px; -moz-border-radius: 0 0 1px 1px; background...) |
小 |
||
(未顯示同一使用者於中間所作的 9 次修訂) | |||
行 1: | 行 1: | ||
− | <div style="display: block; position: fixed; top: 100px; right: 0px; overflow-y: scroll; border: | + | <div style="display: block; position: fixed; top: 100px; right: 0px; max-width: 350px; max-height: 500px; overflow-y: scroll; border: 0px solid #aaa; border-radius: 0 0 1px 1px; -moz-border-radius: 0 0 1px 1px; background: rgba(249,249,249,0.7); box-shadow: 0 1px 8px #000; -webkit-box-shadow: 0 1px 8px #000; -moz-box-shadow: 0 1px 8px #000;">__TOC__</div><noinclude> |
+ | *模板說明:在想要使用浮動目錄的頁面中引用此模板,語法為<code><nowiki>{{TocF}}</nowiki></code>。 | ||
+ | [[Category:模板管理]]</noinclude> | ||
+ | <!--原始:== 浮動目錄與透明度 == Add by Rocio 20150119 | ||
+ | #toc, .toc { | ||
+ | display: block; | ||
+ | position: fixed; | ||
+ | top: 100px; | ||
+ | right: 0px; | ||
+ | min-width: 200px; | ||
+ | max-width: 350px; | ||
+ | max-height: 600px; | ||
+ | overflow-y: scroll; | ||
+ | border: 1px solid #aaa; | ||
+ | border-radius: 0 0 1px 1px; | ||
+ | -moz-border-radius: 0 0 1px 1px; | ||
+ | background: rgba(249,249,249,0.7); | ||
+ | padding: 12px; | ||
+ | box-shadow: 0 1px 8px #000; | ||
+ | -webkit-box-shadow: 0 1px 8px #000; | ||
+ | -moz-box-shadow: 0 1px 8px #000; | ||
+ | }--> |
於 2015年1月24日 (六) 20:41 的最新修訂
- 模板說明:在想要使用浮動目錄的頁面中引用此模板,語法為
{{TocF}}
。