[svnbook] r3685 committed - Compress the HTML stylesheet a bit by adopting a different formatting...
svnbook at googlecode.com
svnbook at googlecode.com
Sun Feb 7 00:15:33 CST 2010
Revision: 3685
Author: cmpilato at gmail.com
Date: Sat Feb 6 22:14:40 2010
Log: Compress the HTML stylesheet a bit by adopting a different formatting
style.
* src/en/book/styles.css
White-space changes only, save collapsing some similar styles into
one block and setting "border-collapse: collapse;" for 'table' tags.
http://code.google.com/p/svnbook/source/detail?r=3685
Modified:
/trunk/src/en/book/styles.css
=======================================
--- /trunk/src/en/book/styles.css Sat Feb 6 22:08:39 2010
+++ /trunk/src/en/book/styles.css Sat Feb 6 22:14:40 2010
@@ -15,295 +15,209 @@
* *
****************************************************************************/
-body
-{
- background: white;
- margin: 1in;
- font-family: serif;
-}
-
-p, li, ul, ol, dd, dt
-{
- font-style: normal;
- font-weight: normal;
- color: black;
-}
-
-tt, pre
-{
- font-family: monospace;
-}
-
-a
-{
- color: blue;
- text-decoration: underline;
-}
-
-a:hover
-{
- background: rgb(75%,75%,100%);
- color: blue;
- text-decoration: underline;
-}
-
-a:visited
-{
- color: purple;
- text-decoration: underline;
-}
-
-img
-{
- border: none;
-}
-
-h1.title
-{
- font-size: 250%;
- font-style: normal;
- font-weight: bold;
- color: black;
-}
-
-h2.subtitle
-{
- font-size: 150%;
- font-style: italic;
- color: black;
-}
-
-h2.title
-{
- font-size: 150%;
- font-style: normal;
- font-weight: bold;
- color: black;
-}
-
-h3.title
-{
- font-size: 125%;
- font-style: normal;
- font-weight: bold;
- color: black;
-}
-
-h4.title
-{
- font-size: 100%;
- font-style: normal;
- font-weight: bold;
- color: black;
-}
-
-strong
-{
- font-weight: normal;
-}
-
-.toc b
-{
- font-family: sans-serif;
- font-size: 120%;
- font-style: normal;
- font-weight: bold;
- color: black;
-}
-
-.title
-{
- font-family: sans-serif;
-}
-
-.screen, .programlisting, .structname
-{
- font-family: monospace;
- font-style: normal;
- font-weight: normal;
-}
-
-.userinput
-{
- font-weight: normal;
-}
-
-.command
-{
- font-style: italic;
-}
-
-.filename
-{
- font-family: serif;
- font-style: italic;
-}
-
-.figure, .example, .table
-{
- margin: 0.125in 0.25in;
-}
-
-.figure p.title b, .example p.title b, .table p.title b
-{
- font-family: serif;
- font-size: 80%;
- font-style: italic;
- font-weight: normal;
-}
-
-.table table
-{
- border-width: 1px;
- border-style: solid;
- border-color: black;
- border-spacing: 0;
- background: rgb(240,240,240);
-}
-
-.table td
-{
- border: none;
- border-right: 1px black solid;
- border-bottom: 1px black solid;
- padding: 2px;
-}
-
-.table th
-{
- background: rgb(180,180,180);
- border: none;
- border-right: 1px black solid;
- border-bottom: 1px black solid;
- padding: 2px;
-}
-
-.table p.title, .figure p.title, .example p.title
-{
- text-align: left !important;
- font-size: 100% !important;
-}
-
-.author, .pubdate
-{
- margin: 0;
- font-size: 100%;
- font-style: italic;
- font-weight: normal;
- color: black;
-}
-
-.preface div.author, .preface .pubdate
-{
- font-size: 80%;
-}
-
-.sidebar
-{
- border-top: dotted 1px black;
- border-left: dotted 1px black;
- border-right: solid 2px black;
- border-bottom: solid 2px black;
- background: rgb(240,220,170);
- padding: 0 0.12in;
- margin: 0.25in;
-}
-
+body {
+ background: white;
+ margin: 1in;
+ font-family: serif;
+}
+table {
+ border-collapse: collapse;
+}
+p, li, ul, ol, dd, dt {
+ font-style: normal;
+ font-weight: normal;
+ color: black;
+}
+tt, pre {
+ font-family: monospace;
+}
+a {
+ color: blue;
+ text-decoration: underline;
+}
+a:hover {
+ background: rgb(75%,75%,100%);
+ color: blue;
+ text-decoration: underline;
+}
+a:visited {
+ color: purple;
+ text-decoration: underline;
+}
+img {
+ border: none;
+}
+h1.title {
+ font-size: 250%;
+ font-style: normal;
+ font-weight: bold;
+ color: black;
+}
+h2.subtitle {
+ font-size: 150%;
+ font-style: italic;
+ color: black;
+}
+h2.title {
+ font-size: 150%;
+ font-style: normal;
+ font-weight: bold;
+ color: black;
+}
+h3.title {
+ font-size: 125%;
+ font-style: normal;
+ font-weight: bold;
+ color: black;
+}
+h4.title {
+ font-size: 100%;
+ font-style: normal;
+ font-weight: bold;
+ color: black;
+}
+strong {
+ font-weight: normal;
+}
+.toc b {
+ font-family: sans-serif;
+ font-size: 120%;
+ font-style: normal;
+ font-weight: bold;
+ color: black;
+}
+.title {
+ font-family: sans-serif;
+}
+.screen, .programlisting, .structname {
+ font-family: monospace;
+ font-style: normal;
+ font-weight: normal;
+}
+.userinput {
+ font-weight: normal;
+}
+.command {
+ font-style: italic;
+}
+.filename {
+ font-family: serif;
+ font-style: italic;
+}
+.figure, .example, .table {
+ margin: 0.125in 0.25in;
+}
+.figure p.title b, .example p.title b, .table p.title b {
+ font-family: serif;
+ font-size: 80%;
+ font-style: italic;
+ font-weight: normal;
+}
+.table table {
+ border-width: 1px;
+ border-style: solid;
+ border-color: black;
+ border-spacing: 0;
+ background: rgb(240,240,240);
+}
+.table td, .table th {
+ border: none;
+ border-right: 1px black solid;
+ border-bottom: 1px black solid;
+ padding: 2px;
+}
+.table th {
+ background: rgb(180,180,180);
+}
+.table p.title, .figure p.title, .example p.title {
+ text-align: left !important;
+ font-size: 100% !important;
+}
+.author, .pubdate {
+ margin: 0;
+ font-size: 100%;
+ font-style: italic;
+ font-weight: normal;
+ color: black;
+}
+.preface div.author, .preface .pubdate {
+ font-size: 80%;
+}
+.sidebar {
+ border-top: dotted 1px black;
+ border-left: dotted 1px black;
+ border-right: solid 2px black;
+ border-bottom: solid 2px black;
+ background: rgb(240,220,170);
+ padding: 0 0.12in;
+ margin: 0.25in;
+}
.note .programlisting, .note .screen,
.tip .programlisting, .tip .screen,
.warning .programlisting, .warning .screen,
-.sidebar .programlisting, .sidebar .screen
-{
- border: none;
- background: none;
-}
-
-.sidebar p.title
-{
- text-align: center;
- font-size: 125%;
-}
-
-.note, .tip, .warning
-{
- border: black solid 1px;
- margin: 0.125in 0;
- font-size: 90%;
-}
-
-.note
-{
- background: rgb(252,246,220);
-}
-
-.tip
-{
- background: rgb(224,244,255);
-}
-
-.warning
-{
- background: rgb(255,210,210);
-}
-
-.note .title, .tip .title, .warning .title
-{
- display: none;
-}
-
-.programlisting, .screen
-{
- font-size: 90%;
- color: black;
- margin: 1em 0.25in;
- padding: 0.5em;
- background: rgb(240,240,240);
- border-top: black dotted 1px;
- border-left: black dotted 1px;
- border-right: black solid 2px;
- border-bottom: black solid 2px;
-}
-
-.navheader, .navfooter
-{
- border: black solid 1px;
- background: rgb(180,180,200);
-}
-
-.navheader hr, .navfooter hr
-{
- display: none;
-}
-
-#svn-footer
-{
- font-size: 80%;
- text-align: center;
-}
-
-#svn-footer hr
-{
- display: none;
+.sidebar .programlisting, .sidebar .screen {
+ border: none;
+ background: none;
+}
+.sidebar p.title {
+ text-align: center;
+ font-size: 125%;
+}
+.note, .tip, .warning {
+ border: black solid 1px;
+ margin: 0.125in 0;
+ font-size: 90%;
+}
+.note {
+ background: rgb(252,246,220);
+}
+.tip {
+ background: rgb(224,244,255);
+}
+.warning {
+ background: rgb(255,210,210);
+}
+.note .title, .tip .title, .warning .title {
+ display: none;
+}
+.programlisting, .screen {
+ font-size: 90%;
+ color: black;
+ margin: 1em 0.25in;
+ padding: 0.5em;
+ background: rgb(240,240,240);
+ border-top: black dotted 1px;
+ border-left: black dotted 1px;
+ border-right: black solid 2px;
+ border-bottom: black solid 2px;
+}
+.navheader, .navfooter {
+ border: black solid 1px;
+ background: rgb(180,180,200);
+}
+.navheader hr, .navfooter hr {
+ display: none;
+}
+#svn-footer {
+ font-size: 80%;
+ text-align: center;
+}
+#svn-footer hr {
+ display: none;
}
/* --------------------- */
/* PRINT MEDIA OVERRIDES */
/* --------------------- */
- at media print
-{
- body
- {
- margin: 0;
- }
-
- .navheader, .navfooter
- {
- display: none;
- }
-
- #svn-footer hr
- {
- display: block;
- }
-}
+ at media print {
+ body {
+ margin: 0;
+ }
+ .navheader, .navfooter {
+ display: none;
+ }
+ #svn-footer hr {
+ display: block;
+ }
+}
More information about the svnbook-dev
mailing list