瀏覽代碼

floating table#toc to the right

Garrick van Buren 12 年之前
父節點
當前提交
98df449f7e
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      assets/stylesheets/foreground.css

+ 10 - 0
assets/stylesheets/foreground.css

@@ -195,6 +195,16 @@ p.title {
 
 /* TABLES */
 
+.mw-content-ltr table#toc {
+  float:right;
+  width: auto;
+}
+
+.mw-content-rtl table#toc {
+  float:left;
+  width: auto;
+}
+
 table.formtable {
   border: none;
 }