aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2006-02-06 20:39:20 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2006-02-06 20:39:20 +0000
commitcf7142a5e2aa71f7469412dd937c614f119ca82e (patch)
tree01d8c70294fcd4e34cbc8bfb04d4377e6021949e /stylesheets
parentaec73a3bd83e4802a2b870d747484f5932e97cce (diff)
Added CSS code for tables.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7357 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets')
-rw-r--r--stylesheets/lfs.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/stylesheets/lfs.css b/stylesheets/lfs.css
index 0b823d9e8..968ebcbb7 100644
--- a/stylesheets/lfs.css
+++ b/stylesheets/lfs.css
@@ -255,6 +255,22 @@ div.itemizedlist {
margin-left: 1em;
}
+/*table */
+
+div.table {
+ text-align: center;
+}
+
+div.table table {
+ margin-left: auto;
+ margin-right: auto;
+ text-align: center;
+}
+
+div.table table th, div.table table td {
+ padding: 0.2em 2em 0.2em 2em;
+}
+
/* Indented blocks */
p, ul, dl, code, blockquote {
padding-left: 1em;