Author: manuel
Date: 2007-04-20 18:04:08 -0600 (Fri, 20 Apr 2007)
New Revision: 8089
Modified:
branches/new-xsl/lfs.css
Log:
Finished first CSS code revision.
Modified: branches/new-xsl/lfs.css
===================================================================
--- branches/new-xsl/lfs.css 2007-04-20 20:57:03 UTC (rev 8088)
+++ branches/new-xsl/lfs.css 2007-04-21 00:04:08 UTC (rev 8089)
@@ -10,31 +10,125 @@
line-height: 1.2em
}
+
+/* Links */
a:link { color: #22b; }
a.ulink:link { font-weight: bold; color: #55f; }
a:visited { color: #7e4988 ! important; }
a:hover, a:focus { color: #d30e08 ! important; }
a:active { color: #6b77b1 ! important;}
+
+/* Book titlepage */
+.book .titlepage {
+ background: #f5f6f7;
+ margin: 0px auto;
+ padding: 0 1em;
+}
+
+.book hr {
+ background: #dbddec;
+ height: .3em;
+ border: 0px;
+ margin: 0 -1em;
+ padding: 0;
+}
+
+
+/* Sections */
+.package, .kernel, .installation, .commands, .testing, .configuration,
.content {
+ padding: 0 .5em .3em .5em;
+ margin: 0.5em 0 0.5em 0;
+}
+
+.lfs .package {
+ background: #f5f6f7;
+ border-bottom: 0.2em solid #dbddec;
+ padding-top: .1em;
+ margin-top: 0;
+}
+
+div.configuration {
+ background: #fefefe;
+ border-top: 0.2em solid #dbddec;
+}
+
+.lfs .content {
+ background: #f5f6f7;
+ border-top: 0.2em solid #dbddec;
+ padding-bottom: .1em;
+ margin-bottom: 0;
+}
+
+
/* Headers */
h1, h2, b, .strong {
color: #000;
font-weight: bold;
}
-h3, h4, h5, h6 {
- color: #222;
+h1 {
+ font-size: 173%;
+ text-align: center;
+ line-height: 1em;
}
-h1 { font-size: 173%; text-align: center; line-height: 1em; }
-h1.title sup { font-size: small; }
-h2 { font-size: 144%; line-height: 1em; }
-h2.subtitle { text-align: center; line-height: 1em; }
-.appendix h2 { font-size: 133%; margin-top: .8em; margin-bottom: 0.2em; }
-h3 { font-size: 120%; line-height: 1em; }
-h4 { font-size: 110%; line-height: 1em; }
-.package h4, h5, h6 { font-size: 100%; font-style: italic; }
+.book h1 {
+ margin: 0;
+ padding: 0.4em;
+}
+.preface h1, .part h1, .chapter h1, .appendix h1, .index h1, .sect1 h1 {
+ background: #f5f6f7;
+ border-bottom: .1em solid #dbddec;
+ margin: 0 0 1em 0;
+ padding: .4em;
+}
+
+.wrap h1 {
+ background: #f5f6f7;
+ margin: 0;
+ padding: .4em;
+}
+
+h1.title sup {
+ font-size: small;
+}
+
+h2 {
+ font-size: 144%;
+ line-height: 1em;
+}
+
+.book h2.subtitle {
+ text-align: center;
+ background: #dbddec;
+ margin: 0;
+ padding: 0.2em;
+}
+
+.appendix h2 {
+ font-size: 133%;
+ margin-top: .8em;
+ margin-bottom: 0.2em;
+}
+
+h3 {
+ font-size: 120%;
+ line-height: 1em;
+}
+
+h4 {
+font-size: 110%;
+line-height: 1em;
+}
+
+.package h4, h5, h6 {
+ font-size: 100%;
+ font-style: italic;
+}
+
+
/* Navigation */
div.navheader, div.navfooter {
background: #ecedef;
@@ -107,8 +201,8 @@
color: #dbddec;
}
+
/* TOC */
-
div.toc ul, div.index ul, div.navheader ul, div.navfooter ul {
list-style: none;
}
@@ -135,8 +229,8 @@
margin: .6em 0 .2em 0;
}
+
/* Index */
-
.item {
float: left;
}
@@ -158,6 +252,7 @@
margin-left: 26em;
}
+
/* Admonitions */
div.note, div.tip {
background-color: #fffff6;
@@ -196,8 +291,8 @@
font-weight: bold;
}
+
/* table */
-
.table p.title {
text-align: center;
margin-top: 0;
@@ -222,8 +317,8 @@
padding-right: 1em;
}
+
/* variablelist as table */
-
.variablelist table {
width: auto;
margin: 0 1em 0 1em;
@@ -237,6 +332,7 @@
margin: 0.25em;
}
+
/* variablelist as list */
dl {
padding-left: 1em
@@ -268,6 +364,7 @@
padding-left: 0;
}
+
/* segmentedlist */
.appendix .segmentedlist {
padding-left: 1em;
@@ -299,6 +396,7 @@
padding-left: 12em;
}
+
/* itemizedlist */
ul {
padding-left: 1em
@@ -342,19 +440,20 @@
.blfs ul[compact="compact"] li p {
background-color: #f0fff0;
}
-/* --- Revised up to here (first round, checking LFS look only) --- */
+
/* Indented blocks */
p, blockquote {
padding-left: 1em;
}
+
/* Monospaced elements */
tt, code, kbd, pre, .command {
font-family: monospace;
}
-tt.systemitem {
+.systemitem {
font-style: italic;
}
@@ -363,12 +462,17 @@
background-color: #e5e5e5;
border: 1px solid #050505;
padding: .5em 1em;
- margin: 0 2em;
+ margin: 0 2em .5em 2em;
font-weight: bold;
}
-.literal {
- font-weight: normal;
+pre.root {
+ color: #101310;
+ background-color: #e5e5e5;
+ border: 1px solid #11a;
+ padding: .5em 1em;
+ margin: 0 2em;
+ font-weight: bold;
}
pre.screen {
@@ -379,76 +483,31 @@
margin: 0 2em;
}
-/* Sections */
-div.wrap h1 {
- background: #f5f6f7;
- padding: 1em 0 0.5em 0;
- margin: 0px auto;
+.literal, .prompt {
+ font-weight: normal;
}
-div.package {
- background: #f5f6f7;
- border-bottom: 0.2em solid #dbddec;
- padding: 0.5em 0.5em 0.3em 0.5em;
- margin: 0px auto;
-}
-div.installation {
- padding: 0 0.5em 0.3em 0.5em;
- margin: 0.5em 0 0.5em 0;
+/* Mixed tags */
+p.usernotes {
+ margin-left: -1em;
+ font-size: small;
+ font-weight: bold;
+ font-style: italic;
}
-div.configuration {
- background: #fefefe;
- border-top: 0.2em solid #dbddec;
- padding: 0.5em;
- margin: 0.5em 0 .5em 0;
+.simplelist {
+ background-color: #f0fff0;
}
-div.content {
- background: #f5f6f7;
- border-top: 0.2em solid #dbddec;
- padding: 0.5em 0.5em 1em 0.5em;
- margin: 0.5em 0 .5em 0;
+.underlined {
+ text-decoration: underline;
}
-div.installation h2, div.content h2 {
- padding-top: 0.3em;
- margin: 0;
-}
-div.book, div.preface, div.part, div.chapter, div.sect1, div.appendix,
div.index {
- padding-bottom: 0.5em;
+/* Last edited info */
+p.updated {
+ font-size: small;
+ font-weight: bold;
+ font-style: italic;
}
-
-div.preface h1, div.part h1, div.chapter h1, div.sect1 h1, div.appendix h1,
div.index h1 {
- background: #f5f6f7;
- border-bottom: .1em solid #dbddec;
- margin: 0px auto;
- padding: .5em;
-}
-
-div.book h1 {
- background: #f5f6f7;
- margin: 0px auto;
- padding: 0.5em;
-}
-
-div.book h2.subtitle {
- background: #dbddec;
- margin: 0px auto;
- padding: 0.2em;
-}
-div.authorgroup, div p.copyright, div.abstract {
- background: #f5f6f7;
- margin: 0px auto;
- padding: 1em 0.5em;
-}
-
-hr {
- background: #dbddec;
- height: .3em;
- border: 0px;
- margin: 0px auto;
- padding: 0;
-}
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page