Permalink
Browse files

Set docbook stylesheet, match with worldhello style.

  • Loading branch information...
1 parent 6f1e8ad commit 51c67605a6d7aacbf48b490fb366ac78b9ed34f6 @jiangxin jiangxin committed Dec 5, 2011
Showing with 56 additions and 56 deletions.
  1. +56 −47 docbook/includes/css/docbook.css
  2. +0 −9 stylesheets/master.css
@@ -1,11 +1,19 @@
+body {
+ width: 960px;
+ margin: 0 auto;
+ padding: 0;
+ -moz-border-radius: 1.5em;
+ -webkit-border-radius: 1.5em;
+ border-radius: 1.5em;
+}
p,dd,dt {font-size:14px;text-indent: 2em }
li p {font-size:14px;text-indent: 0em }
h1, h2, h3, h4, h5, h6 {
- color: #990000;
- font-family: Tahoma, Ariel, Helvetica, sans-serif;
- font-weight: bold;
+ color: #990000;
+ font-family: Tahoma, Ariel, Helvetica, sans-serif;
+ font-weight: bold;
}
h1 {font-size:20pt;line-height:130%;font-weight:"bold";align:"center";}
h2 {font-size:18pt;line-height:130%;letter-spacing: 2px;}
@@ -16,8 +24,8 @@ h5,h6 {font-size:9pt; line-height:130%;letter-spacing: 2px;}
td,li,select,input {font-size:14px}
pre.programlisting, pre.screen {
- background: #E0E0E0;
- padding: 6px;
+ background: #E0E0E0;
+ padding: 6px;
}
table,
@@ -36,32 +44,32 @@ td.segmentedlist {
}
table {
- border: 1px;
+ border: 1px;
}
table pre.programlisting {
- background-color: #FFFFFF;
+ background-color: #FFFFFF;
}
div.book div.titlepage {
- border-top: 12px solid #BBBBBB;
- border-left: 12px solid #DDDDDD;
- border-right: 12px solid #DDDDDD;
- border-bottom: 12px solid #F3F3F3;
- background-color: #FFFFBB;
- color: #000066;
- padding-left: 12px;
- padding-right: 12px;
+ border-top: 12px solid #BBBBBB;
+ border-left: 12px solid #DDDDDD;
+ border-right: 12px solid #DDDDDD;
+ border-bottom: 12px solid #F3F3F3;
+ background-color: #FFFFBB;
+ color: #000066;
+ padding-left: 12px;
+ padding-right: 12px;
}
table.copyright {
- font-style: italic;
- font-size: 9pt;
- padding-top: 8px;
- padding-left: 8px;
- padding-right: 8px;
- padding-bottom: 8px;
- background-color: #FFFFBB;
- align: right;
+ font-style: italic;
+ font-size: 9pt;
+ padding-top: 8px;
+ padding-left: 8px;
+ padding-right: 8px;
+ padding-bottom: 8px;
+ background-color: #FFFFBB;
+ align: right;
}
.navhead { padding-top: 0;
@@ -77,58 +85,59 @@ table.copyright {
.navhead a:hover { color: #0000FF; text-decoration: none; }
.navheader {
- font-family: Tahoma, Ariel, Helvetica, sans-serif;
- background-color: #FFFFBB;
- font-size: 9pt;
+ font-family: Tahoma, Ariel, Helvetica, sans-serif;
+ background-color: #FFFFBB;
+ font-size: 9pt;
+ margin-top: 5px;
}
.navfooter {
- font-family: Tahoma, Ariel, Helvetica, sans-serif;
- font-size: 9pt;
+ font-family: Tahoma, Ariel, Helvetica, sans-serif;
+ font-size: 9pt;
}
.toc {font-size:9pt;color="blue";font-weight:"bold";}
div.toc span.part {
- font-family: Tahoma, Ariel, Helvetica, sans-serif;
- font-weight: bold;
- font-size: 14px;
- margin-top: 1in;
+ font-family: Tahoma, Ariel, Helvetica, sans-serif;
+ font-weight: bold;
+ font-size: 14px;
+ margin-top: 1in;
}
div.toc span.glossary {
- font-weight: bold;
+ font-weight: bold;
}
div.toc span.index {
- font-weight: bold;
+ font-weight: bold;
}
div.toc span.preface {
- font-weight: bold;
+ font-weight: bold;
}
div.toc span.appendix {
- font-weight: bold;
+ font-weight: bold;
}
div.toc span.chapter {
- font-weight: bold;
+ font-weight: bold;
}
div.book div.titlepage h1.title {
- font-family: Tahoma, Ariel, Helvetica, sans-serif;
- font-weight: bold;
- font-size: 36;
+ font-family: Tahoma, Ariel, Helvetica, sans-serif;
+ font-weight: bold;
+ font-size: 36;
}
div.book div.titlepage h3.author {
- font-family: Tahoma, Ariel, Helvetica, sans-serif;
- font-weight: bold;
- font-size: 24;
+ font-family: Tahoma, Ariel, Helvetica, sans-serif;
+ font-weight: bold;
+ font-size: 24;
}
div.book div.titlepage p.edition {
- font-family: Tahoma, Ariel, Helvetica, sans-serif;
- color: gray;
- font-weight: bold;
- font-size: 30;
+ font-family: Tahoma, Ariel, Helvetica, sans-serif;
+ color: gray;
+ font-weight: bold;
+ font-size: 30;
}
span.lineannotation {
font-family: serif;
View
@@ -68,15 +68,6 @@ a:visited {
text-indent: -999em;
}
-#menu ul li a#twitter_link { background-image: url(/images/twitter.gif); }
-#menu ul li a#blog_link { background-image: url(/images/blog.gif); }
-#menu ul li a#linkedin_link { background-image: url(/images/linkedin.gif); }
-#menu ul li a#github_link { background-image: url(/images/github.gif); }
-#menu ul li a#about_link { background-image: url(/images/about.gif); }
-#menu ul li a#weibo_link { background-image: url(/images/weibo.gif); }
-#menu ul li a#home_link { background-image: url(/images/home.gif); }
-#menu ul li a#docs_link { background-image: url(/images/docs.gif); }
-
#menu ul li a#twitter-link { background-image: url(/images/twitter.gif); }
#menu ul li a#blog-link { background-image: url(/images/blog.gif); }
#menu ul li a#linkedin-link { background-image: url(/images/linkedin.gif); }

0 comments on commit 51c6760

Please sign in to comment.