From cb87df64723790d8412c04c567ab3b237a24c05d Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sun, 18 Sep 2005 13:44:20 +0000 Subject: Updated the stylesheets to the new version. But some fixes are needed yet. git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/LFS-RNG/BOOK@6874 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- stylesheets/dump-commands.xsl | 84 +++++++++++++++++++++++++++ stylesheets/lfs-chunked.xsl | 4 +- stylesheets/lfs-chunked1.xsl | 10 ++-- stylesheets/lfs-chunked2.xsl | 2 +- stylesheets/lfs-l10n.xml | 14 +++++ stylesheets/lfs-nochunks.xsl | 28 ++++++--- stylesheets/lfs-pdf.xsl | 11 +++- stylesheets/lfs-profile.xsl | 30 +++++++++- stylesheets/lfs.css | 63 +++++++++++++++----- stylesheets/patcheslist.xsl | 74 ++++++++++-------------- stylesheets/pdf/lfs-admon.xsl | 2 +- stylesheets/pdf/lfs-mixed.xsl | 2 +- stylesheets/pdf/lfs-pagesetup.xsl | 5 +- stylesheets/xhtml/lfs-legalnotice.xsl | 4 +- stylesheets/xhtml/lfs-mixed.xsl | 102 ++++++++++++++++----------------- stylesheets/xhtml/lfs-navigational.xsl | 8 +-- 16 files changed, 304 insertions(+), 139 deletions(-) create mode 100644 stylesheets/dump-commands.xsl diff --git a/stylesheets/dump-commands.xsl b/stylesheets/dump-commands.xsl new file mode 100644 index 000000000..a91bb1cac --- /dev/null +++ b/stylesheets/dump-commands.xsl @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + 00 + + + + 0 + + + + + + + + + + + + + + + + + + + + # Run this as root + + # End root commands + + + + + + + + + + + + + # This block must be edited to suit your needs. + + + + + + # End of editable block. + + + + + + **EDITME + + EDITME** + + + diff --git a/stylesheets/lfs-chunked.xsl b/stylesheets/lfs-chunked.xsl index ce3682864..768dbfa86 100644 --- a/stylesheets/lfs-chunked.xsl +++ b/stylesheets/lfs-chunked.xsl @@ -5,8 +5,8 @@ version="1.0"> - - + + - + diff --git a/stylesheets/lfs-l10n.xml b/stylesheets/lfs-l10n.xml index 568f981a9..3c90bd196 100644 --- a/stylesheets/lfs-l10n.xml +++ b/stylesheets/lfs-l10n.xml @@ -15,6 +15,7 @@ + @@ -26,6 +27,19 @@ + + + + + + + + + + + + diff --git a/stylesheets/lfs-nochunks.xsl b/stylesheets/lfs-nochunks.xsl index 375f1d8cd..7093af7d0 100644 --- a/stylesheets/lfs-nochunks.xsl +++ b/stylesheets/lfs-nochunks.xsl @@ -5,13 +5,12 @@ version="1.0"> - + - + - + - @@ -25,6 +24,23 @@ + + + + + +
+
+

+ +

+
+
+ +
+
+
+ @@ -150,10 +166,6 @@ div.important h3, div.warning h3, div.caution h3 { color: #900; } -div.admonhead img { - display: none; -} - h3.admontitle { padding-left: 2.5em; padding-top: 1em; diff --git a/stylesheets/lfs-pdf.xsl b/stylesheets/lfs-pdf.xsl index 9ad7dc177..e9c15a21a 100644 --- a/stylesheets/lfs-pdf.xsl +++ b/stylesheets/lfs-pdf.xsl @@ -4,7 +4,7 @@ xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> - + @@ -19,13 +19,18 @@ - + + + + - + + false justify diff --git a/stylesheets/lfs-profile.xsl b/stylesheets/lfs-profile.xsl index 7e63811e5..68dca215b 100644 --- a/stylesheets/lfs-profile.xsl +++ b/stylesheets/lfs-profile.xsl @@ -1,9 +1,35 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/stylesheets/lfs.css b/stylesheets/lfs.css index 68c23331d..bc4eea2cd 100644 --- a/stylesheets/lfs.css +++ b/stylesheets/lfs.css @@ -25,12 +25,12 @@ h3, h4, h5, h6 { color: #222; } -h1 { font-size: 173%; text-align: center; } -h2 { font-size: 144%; padding-top: 0.2em; margin-top: 0.3em; } -h2.subtitle { text-align: center; } -h3 { font-size: 120%; } -h4 { font-size: 110%;} -h5, h6 { font-size: 110%; font-style: italic; } +h1 { font-size: 173%; text-align: center; line-height: 1.2em; } +h2 { font-size: 144%; padding-top: 0.2em; margin-top: 0.3em; line-height: 1.2em; } +h2.subtitle { text-align: center; line-height: 1.2em; } +h3 { font-size: 120%; line-height: 1.2em; } +h4 { font-size: 110%; line-height: 1.2em; } +h5, h6 { font-size: 110%; font-style: italic; line-height: 1.2em; } /* Navigation */ div.headertitles h4 { @@ -185,15 +185,28 @@ dt { padding: 0; } -div.content dt { - list-style: none; -} - dd { margin: 0 0 1em 3em; padding: 0; } +table { + width: auto; + margin-left: 1em; +} + +td { + vertical-align: top; +} + +td span, td p { + margin: 0.3em; +} + +span.term { + display: block; +} + div.variablelist dd { margin-bottom: 1em; } @@ -202,16 +215,38 @@ div.variablelist dd p { margin-top: 0px; } -dl.materials dd { +div.materials dd { margin-left: 0px; } -div.segmentedlist { +div.package div.seg { + margin-bottom: 0em; + margin-top: 0em; + clear: left; +} + +div.package span.segtitle { + float: left; +} + +div.package span.seg { + display: block; + padding-left: 14em; +} + +div.content div.seg { + margin-bottom: 1em; margin-top: 1em; + clear: left; } -div.segmentedlist p { - margin: 0px auto; +div.content span.segtitle { + float: left; +} + +div.content span.seg { + display: block; + padding-left: 12em; } /* itemizedlist */ diff --git a/stylesheets/patcheslist.xsl b/stylesheets/patcheslist.xsl index a8496b6c0..8f99b7c1f 100644 --- a/stylesheets/patcheslist.xsl +++ b/stylesheets/patcheslist.xsl @@ -4,65 +4,53 @@ %general-entities; ]> - - - - + + + - #! /bin/bash - cd /home/httpd/ - + #! /bin/bash + umask 002 + + install -d -m 775 -g lfswww + + && + cd + && - rm -f *.patch && + + touch dummy.patch && rm -f *.patch && + chgrp lfswww *.patch && exit - - - + - - - - - cp - /home/httpd/ - - downloads/ - - - - - - - - - - - - - - - - - - - - / - - . - - + + + + + + + - + + + cp /home/httpd/www.linuxfromscratch.org/patches/downloads/ + + / + + . diff --git a/stylesheets/pdf/lfs-admon.xsl b/stylesheets/pdf/lfs-admon.xsl index 2872055fb..03325bd48 100644 --- a/stylesheets/pdf/lfs-admon.xsl +++ b/stylesheets/pdf/lfs-admon.xsl @@ -59,7 +59,7 @@ provisional-label-separation="18pt" xsl:use-attribute-sets="list.block.spacing"> - + diff --git a/stylesheets/pdf/lfs-mixed.xsl b/stylesheets/pdf/lfs-mixed.xsl index 15fc55eaf..065128f1b 100644 --- a/stylesheets/pdf/lfs-mixed.xsl +++ b/stylesheets/pdf/lfs-mixed.xsl @@ -227,7 +227,7 @@ - + diff --git a/stylesheets/pdf/lfs-pagesetup.xsl b/stylesheets/pdf/lfs-pagesetup.xsl index 7733b45e3..7e19099ce 100644 --- a/stylesheets/pdf/lfs-pagesetup.xsl +++ b/stylesheets/pdf/lfs-pagesetup.xsl @@ -64,8 +64,8 @@ - @@ -76,6 +76,7 @@ 0.5in 0.375in + -0.7pc 0.6em diff --git a/stylesheets/xhtml/lfs-legalnotice.xsl b/stylesheets/xhtml/lfs-legalnotice.xsl index ec28d09bc..bc677d8d1 100644 --- a/stylesheets/xhtml/lfs-legalnotice.xsl +++ b/stylesheets/xhtml/lfs-legalnotice.xsl @@ -34,9 +34,9 @@ ../index.html - + - - + diff --git a/stylesheets/xhtml/lfs-mixed.xsl b/stylesheets/xhtml/lfs-mixed.xsl index 7ecdeed7f..50e4140f1 100644 --- a/stylesheets/xhtml/lfs-mixed.xsl +++ b/stylesheets/xhtml/lfs-mixed.xsl @@ -2,7 +2,6 @@ @@ -34,34 +33,42 @@ + + + + + + +
+ + + + : + + + + + +
+
+ -
- - - -

- -

-
- -

- -

-
-
-
-
- - - - - - -
-
+ + +
+ +
+
+ + + +
+ @@ -74,32 +81,25 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +