Browse Source

include a css file for tor-doc.html
(also include it in the tarball)


svn:r2039

Roger Dingledine 20 years ago
parent
commit
0fbe75ed1e
3 changed files with 91 additions and 2 deletions
  1. 1 1
      doc/Makefile.am
  2. 89 0
      doc/tor-doc.css
  3. 1 1
      doc/tor-doc.html

+ 1 - 1
doc/Makefile.am

@@ -1,4 +1,4 @@
 
-EXTRA_DIST = tor-spec.txt CLIENTS FAQ HACKING rend-spec.txt tor-design.tex tor-doc.html
+EXTRA_DIST = tor-spec.txt CLIENTS FAQ HACKING rend-spec.txt tor-design.tex tor-doc.html tor-doc.css
 
 man_MANS = tor.1

+ 89 - 0
doc/tor-doc.css

@@ -0,0 +1,89 @@
+/* *******************************************************
+   $Id$
+
+   This file is maintained in CVS; edit the version in the
+   repository.
+   *******************************************************
+ */
+
+BODY {
+   background-color: #FFF;
+   color: #000;
+}
+
+P, TD, TH, DD, DT, LI {
+   font-family: lucida, "Lucida Sans", "Geneva", sans-serif;
+}
+
+TH, DT {
+   font-weight: bold;
+}
+
+H1, H2, H3, H4, H5, H6 {
+   font-family: lucida, "Lucida Sans", "Geneva", sans-serif;
+}
+
+H1 {
+   text-align: center;
+}
+
+H2, H3, H4, H5, H6 {
+   text-align: left;
+}
+
+H2 {
+   background-color: #AFA;
+   color: #000;
+   padding: 2px 2px 2px 2px;
+   border-width: 2px 2px 2px 2px;
+   border-color: #000;
+   border-style: solid;
+}
+
+H3 {
+   background-color: #CCF; 
+   color: #000;
+   padding: 2px 2px 2px 2px;
+   margin: 0 0 0 1em;
+   border-width: 2px 2px 2px 2px;
+   border-color: #000;
+   border-style: solid;
+}
+
+DIV.answer {
+   margin: 0 0 0 2em;
+}
+
+SPAN.heading {
+   background-color: #ABF;
+   color: #000;
+   border-width: 1px;
+   padding: 0 0.2em 0 0.2em;
+   border-color: #000;
+   border-style: solid;
+}
+
+SPAN.date {
+   background-color: #FFF;
+   color: #0A0;
+   font-weight: bold;
+}
+
+P.date {
+   background-color: #FFF;
+   color: #0A0;
+   font-weight: bold;
+   margin-bottom: 0;
+}
+
+P.news {
+   margin-top: 0;
+   margin-left: 3em;
+}
+
+P.credit {
+   font-size: smaller;
+   font-style: italic;
+   padding-left: 3px;
+   border-left: 3px solid;
+}

+ 1 - 1
doc/tor-doc.html

@@ -4,7 +4,7 @@
 <meta name="Author" content="Roger Dingledine">
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <meta http-equiv="Content-Style-Type" content="text/css">
-<link rel="stylesheet" type="text/css" href="http://freehaven.net/tor/minion.css">
+<link rel="stylesheet" type="text/css" href="tor-doc.css">
 </head>
 
 <body>