Преглед на файлове

CSS code: Reduced horizontal space on Index output. The current code is smart enought to handle properly very long item lines.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/new-xsl@8204 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Manuel Canales Esparcia преди 18 години
родител
ревизия
9c6cbaa5bc
променени са 2 файла, в които са добавени 8 реда и са изтрити 4 реда
  1. 4 2
      lfs.css
  2. 4 2
      nochunks.xsl

+ 4 - 2
lfs.css

@@ -257,11 +257,13 @@ li.chapter h4 a {
 /* Index */
 .item {
     float: left;
+    margin-right: 1em
 }
 
 .secitem {
     font-weight: normal;
     float: left;
+    margin-right: 1em
 }
 
 .indexref {
@@ -269,11 +271,11 @@ li.chapter h4 a {
 }
 
 .item + .indexref {
-    margin-left: 31em;
+    margin-left: 20em;
 }
 
 .secitem + .indexref {
-    margin-left: 30em;
+    margin-left: 19em;
 }
 
 

+ 4 - 2
nochunks.xsl

@@ -289,11 +289,13 @@ li.chapter h4 a {
 /* Index */
 .item {
     float: left;
+    margin-right: 1em
 }
 
 .secitem {
     font-weight: normal;
     float: left;
+    margin-right: 1em
 }
 
 .indexref {
@@ -301,11 +303,11 @@ li.chapter h4 a {
 }
 
 .item + .indexref {
-    margin-left: 30em;
+    margin-left: 20em;
 }
 
 .secitem + .indexref {
-    margin-left: 31em;
+    margin-left: 19em;
 }