]> git.piffa.net Git - doc/.git/commitdiff
Merge branch 'master' of git@chrome.andreamanni.com:/home/git/doc
authorAndrea Manni <andrea@andreamanni.com>
Fri, 22 May 2009 08:50:49 +0000 (10:50 +0200)
committerAndrea Manni <andrea@andreamanni.com>
Fri, 22 May 2009 08:50:49 +0000 (10:50 +0200)
servizi.html
source/gen_html.sh
source/lsr.css [new file with mode: 0644]

index b0afe3b0e3cd1d9821253d8d59e1f4d988480b2a..3ed705afbc754123757c39d9b2a523e0a969648b 100644 (file)
   <style type="text/css">
 
   /*
-  :Author: David Goodger (goodger@python.org)
-  :Id: $Id: html4css1.css 5196 2007-06-03 20:25:28Z wiemann $
-  :Copyright: This stylesheet has been placed in the public domain.
-
-  Default cascading style sheet for the HTML output of Docutils.
-
-  See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
-  customize this style sheet.
+  Author: Peter Parente
+  Date: 2008/01/22
+  Version: 1.0
+  Copyright: This stylesheet has been placed in the public domain - free to edit and use for all uses.
   */
 
-  /* used to remove borders from tables and images */
-  .borderless, table.borderless td, table.borderless th {
-  border: 0 }
+  body {
+  font: 100% sans-serif;
+  background: #ffffff;
+  color: black;
+  margin: 2em;
+  padding: 0em 2em;
+  }
 
-  table.borderless td, table.borderless th {
-  /* Override padding for "table.docutils td" with "! important".
-     The right padding separates the table cells. */
-  padding: 0 0.5em 0 0 ! important }
-
-  .first {
-  /* Override more specific margin styles with "! important". */
-  margin-top: 0 ! important }
+  p.topic-title {
+  font-weight: bold;
+  }
 
-  .last, .with-subtitle {
-  margin-bottom: 0 ! important }
+  table.docinfo {
+  text-align: left;
+  margin: 2em 0em;
+  }
 
-  .hidden {
-  display: none }
+  a[href] {
+  color: #436976;
+  background-color: transparent;
+  }
 
   a.toc-backref {
-  text-decoration: none ;
-  color: black }
-
-  blockquote.epigraph {
-  margin: 2em 5em ; }
-
-  dl.docutils dd {
-  margin-bottom: 0.5em }
-
-  /* Uncomment (and remove this text!) to get bold-faced definition list terms
-  dl.docutils dt {
-  font-weight: bold }
-  */
-
-  div.abstract {
-  margin: 2em 5em }
-
-  div.abstract p.topic-title {
-  font-weight: bold ;
-  text-align: center }
-
-  div.admonition, div.attention, div.caution, div.danger, div.error,
-  div.hint, div.important, div.note, div.tip, div.warning {
-  margin: 2em ;
-  border: medium outset ;
-  padding: 1em }
-
-  div.admonition p.admonition-title, div.hint p.admonition-title,
-  div.important p.admonition-title, div.note p.admonition-title,
-  div.tip p.admonition-title {
-  font-weight: bold ;
-  font-family: sans-serif }
-
-  div.attention p.admonition-title, div.caution p.admonition-title,
-  div.danger p.admonition-title, div.error p.admonition-title,
-  div.warning p.admonition-title {
-  color: red ;
-  font-weight: bold ;
-  font-family: sans-serif }
-
-  /* Uncomment (and remove this text!) to get reduced vertical space in
-   compound paragraphs.
-  div.compound .compound-first, div.compound .compound-middle {
-  margin-bottom: 0.5em }
-
-  div.compound .compound-last, div.compound .compound-middle {
-  margin-top: 0.5em }
-  */
-
-  div.dedication {
-  margin: 2em 5em ;
-  text-align: center ;
-  font-style: italic }
-
-  div.dedication p.topic-title {
-  font-weight: bold ;
-  font-style: normal }
-
-  div.figure {
-  margin-left: 2em ;
-  margin-right: 2em }
-
-  div.footer, div.header {
-  clear: both;
-  font-size: smaller }
-
-  div.line-block {
-  display: block ;
-  margin-top: 1em ;
-  margin-bottom: 1em }
+  text-decoration: none;
+  }
+
+  h1 a[href] {
+  color: #003a6b;
+  text-decoration: none;
+  background-color: transparent;
+  }
+
+  a.strong {
+  font-weight: bold;
+  }
+
+  img {
+  margin: 0;
+  border: 0;
+  }
+
+  p {
+  margin: 0.5em 0 1em 0;
+  line-height: 1.5em;
+  }
+
+  p a:visited {
+  color: purple;
+  background-color: transparent;
+  }
+
+  p a:active {
+  color: red;
+  background-color: transparent;
+  }
+
+  a:hover {
+  text-decoration: none;
+  }
+
+  p img {
+  border: 0;
+  margin: 0;
+  }
 
-  div.line-block div.line-block {
-  margin-top: 0 ;
-  margin-bottom: 0 ;
-  margin-left: 1.5em }
-
-  div.sidebar {
-  margin: 0 0 0.5em 1em ;
-  border: medium outset ;
-  padding: 1em ;
-  background-color: #ffffee ;
-  width: 40% ;
-  float: right ;
-  clear: right }
-
-  div.sidebar p.rubric {
-  font-family: sans-serif ;
-  font-size: medium }
-
-  div.system-messages {
-  margin: 5em }
-
-  div.system-messages h1 {
-  color: red }
-
-  div.system-message {
-  border: medium outset ;
-  padding: 1em }
-
-  div.system-message p.system-message-title {
-  color: red ;
-  font-weight: bold }
-
-  div.topic {
-  margin: 2em }
-
-  h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
-  h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
-  margin-top: 0.4em }
+  p.rubric {
+  font-weight: bold;
+  font-style: italic;
+  }
 
   h1.title {
-  text-align: center }
+  color: #003a6b;
+  font-size: 250%;
+  margin-bottom: 0em;
+  }
 
   h2.subtitle {
-  text-align: center }
-
-  hr.docutils {
-  width: 75% }
-
-  img.align-left {
-  clear: left }
-
-  img.align-right {
-  clear: right }
-
-  ol.simple, ul.simple {
-  margin-bottom: 1em }
-
-  ol.arabic {
-  list-style: decimal }
-
-  ol.loweralpha {
-  list-style: lower-alpha }
+  color: #003a6b;
+  border-bottom: 0px;
+  }
+
+  h1, h2, h3, h4, h5, h6 {
+  color: #555;
+  background-color: transparent;
+  margin: 0em;
+  padding-top: 0.5em;
+  }
+
+  h1 {
+  font-size: 160%;
+  margin-bottom: 0.5em;
+  border-bottom: 2px solid #aaa;
+  }
+
+  h2 {
+  font-size: 140%;
+  margin-bottom: 0.5em;
+  border-bottom: 1px solid #aaa;
+  }
+
+  h3 {
+  font-size: 130%;
+  margin-bottom: 0.5em;
+  }
+
+  h4 {
+  font-size: 110%;
+  font-weight: bold;
+  margin-bottom: 0.5em;
+  }
+
+  h5 {
+  font-size: 105%;
+  font-weight: bold;
+  margin-bottom: 0.5em;
+  }
+
+  h6 {
+  font-size: 100%;
+  font-weight: bold;
+  margin-bottom: 0.5em;
+  }
+
+  dt {
+  font-style: italic;
+  }
+
+  dd {
+  margin-bottom: 1.5em;
+  }
+
+  div.admonition, div.note, div.tip, div.caution, div.important {
+  margin: 2em 2em;
+  padding: 0em 1em;
+  border-top: 1px solid #aaa;
+  border-left: 1px solid #aaa;
+  border-bottom: 2px solid #555;
+  border-right: 2px solid #555;
+  }
+
+  div.important {
+  background: transparent url('../images/important.png') 10px 2px no-repeat;
+  }
+
+  div.caution {
+  background: transparent url('../images/caution.png') 10px 2px no-repeat;
+  }
+
+  div.note {
+  background: transparent url('../images/note.png') 10px 2px no-repeat;
+  }
+
+  div.tip {
+  background: transparent url('../images/tip.png') 10px 2px no-repeat;
+  }
+
+  div.admonition-example {
+  background: transparent url('../images/tip.png') 10px 2px no-repeat;
+  }
+
+  div.admonition-critical-example {
+  background: transparent url('../images/important.png') 10px 2px no-repeat;
+  }
+
+  p.admonition-title {
+  font-weight: bold;
+  border-bottom: 1px solid #aaa;
+  padding-left: 30px;
+  }
 
-  ol.upperalpha {
-  list-style: upper-alpha }
-
-  ol.lowerroman {
-  list-style: lower-roman }
-
-  ol.upperroman {
-  list-style: upper-roman }
-
-  p.attribution {
-  text-align: right ;
-  margin-left: 50% }
+  table.docutils {
+  text-align: left;
+  border: 1px solid gray;
+  border-collapse: collapse;
+  width: 100%;
+  margin: 1.5em 0em;
+  }
 
-  p.caption {
-  font-style: italic }
+  table.docutils caption {
+  font-style: italic;
+  }
 
-  p.credits {
-  font-style: italic ;
-  font-size: smaller }
+  table.docutils td, table.docutils th {
+  padding: 0.25em 0.5em;
+  }
 
-  p.label {
-  white-space: nowrap }
+  table.docutils th {
+  background-color: #dddddd;
+  }
 
-  p.rubric {
-  font-weight: bold ;
-  font-size: larger ;
-  color: maroon ;
-  text-align: center }
+  div.sidebar {
+  width: 33%;
+  float: right;
+  margin: 0em 2em;
+  padding: 0em 1em;
+  border-top: 1px solid #aaa;
+  border-left: 1px solid #aaa;
+  border-bottom: 2px solid #555;
+  border-right: 2px solid #555;
+  }
 
   p.sidebar-title {
-  font-family: sans-serif ;
-  font-weight: bold ;
-  font-size: larger }
+  margin-bottom: 0em;
+  color: #003a6b;
+  border-bottom: 1px solid #aaa;
+  font-weight: bold;
+  }
 
   p.sidebar-subtitle {
-  font-family: sans-serif ;
-  font-weight: bold }
-
-  p.topic-title {
-  font-weight: bold }
-
-  pre.address {
-  margin-bottom: 0 ;
-  margin-top: 0 ;
-  font-family: serif ;
-  font-size: 100% }
-
-  pre.literal-block, pre.doctest-block {
-  margin-left: 2em ;
-  margin-right: 2em }
-
-  span.classifier {
-  font-family: sans-serif ;
-  font-style: oblique }
-
-  span.classifier-delimiter {
-  font-family: sans-serif ;
-  font-weight: bold }
-
-  span.interpreted {
-  font-family: sans-serif }
-
-  span.option {
-  white-space: nowrap }
-
-  span.pre {
-  white-space: pre }
-
-  span.problematic {
-  color: red }
-
-  span.section-subtitle {
-  /* font-size relative to parent (h1..h6 element) */
-  font-size: 80% }
-
-  table.citation {
-  border-left: solid 1px gray;
-  margin-left: 1px }
-
-  table.docinfo {
-  margin: 2em 4em }
-
-  table.docutils {
-  margin-top: 0.5em ;
-  margin-bottom: 0.5em }
-
-  table.footnote {
-  border-left: solid 1px black;
-  margin-left: 1px }
-
-  table.docutils td, table.docutils th,
-  table.docinfo td, table.docinfo th {
-  padding-left: 0.5em ;
-  padding-right: 0.5em ;
-  vertical-align: top }
-
-  table.docutils th.field-name, table.docinfo th.docinfo-name {
-  font-weight: bold ;
-  text-align: left ;
-  white-space: nowrap ;
-  padding-left: 0 }
-
-  h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
-  h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
-  font-size: 100% }
-
-  ul.auto-toc {
-  list-style-type: none }
+  margin-top: 0em;
+  font-style: italic;
+  color: #003a6b;
+  }
 
   </style>
 </head>
@@ -3382,11 +3329,10 @@ inet_interfaces = all
           "pre">http://localhost/squirrelmail</span></tt> . Se
           cosi' non fosse assicuratevi che Apache abbia incluso il
           file di configurazione di squirrelmail:</p>
-
-          <blockquote>
-            cd /etc/apache2/conf.d/ ln -s
-            /etc/squirrelmail/apache.conf ./
-          </blockquote>
+          <pre class="literal-block">
+cd /etc/apache2/conf.d/
+ln -s /etc/squirrelmail/apache.conf ./
+</pre>
         </div>
       </div>
     </div>
index 8ef19beafae523c746b46da1e50d01c98735debd..56900e6c1794a9ca38c1cb9332b9172fb170d88a 100755 (executable)
@@ -2,4 +2,4 @@
 
 # Alias to generate the simple - one page html version
 
-rst2html -l it $1 | tidy -quiet -indent -ashtml -language it -latin1 > ../$2
+rst2html --stylesheet lsr.css -l it $1 | tidy -quiet -indent -ashtml -language it -latin1 > ../$2
diff --git a/source/lsr.css b/source/lsr.css
new file mode 100644 (file)
index 0000000..5501eaa
--- /dev/null
@@ -0,0 +1,220 @@
+/*
+Author: Peter Parente
+Date: 2008/01/22
+Version: 1.0
+Copyright: This stylesheet has been placed in the public domain - free to edit and use for all uses.
+*/
+
+body {
+  font: 100% sans-serif;
+  background: #ffffff;
+  color: black;
+  margin: 2em;
+  padding: 0em 2em;
+}
+
+p.topic-title {
+  font-weight: bold;
+}
+
+table.docinfo {
+  text-align: left;
+  margin: 2em 0em;
+}
+
+a[href] {
+  color: #436976;
+  background-color: transparent;
+}
+
+a.toc-backref {
+  text-decoration: none;
+}
+
+h1 a[href] {
+  color: #003a6b;
+  text-decoration: none;
+  background-color: transparent;
+}
+
+a.strong {
+  font-weight: bold;
+}
+
+img {
+  margin: 0;
+  border: 0;
+}
+
+p {
+  margin: 0.5em 0 1em 0;
+  line-height: 1.5em;
+}
+
+p a:visited {
+  color: purple;
+  background-color: transparent;
+}
+
+p a:active {
+  color: red;
+  background-color: transparent;
+}
+
+a:hover {
+  text-decoration: none;
+}
+
+p img {
+  border: 0;
+  margin: 0;
+}
+
+p.rubric {
+  font-weight: bold;
+  font-style: italic;
+}
+
+h1.title {
+  color: #003a6b;
+  font-size: 250%;
+  margin-bottom: 0em;
+}
+
+h2.subtitle {
+  color: #003a6b;
+  border-bottom: 0px;
+}
+
+h1, h2, h3, h4, h5, h6 {
+  color: #555;
+  background-color: transparent;
+  margin: 0em;
+  padding-top: 0.5em;
+}
+
+h1 {
+  font-size: 160%;
+  margin-bottom: 0.5em;
+  border-bottom: 2px solid #aaa;
+}
+
+h2 {
+  font-size: 140%;
+  margin-bottom: 0.5em;
+  border-bottom: 1px solid #aaa;
+}
+
+h3 {
+  font-size: 130%;
+  margin-bottom: 0.5em;
+}
+
+h4 {
+  font-size: 110%;
+  font-weight: bold;
+  margin-bottom: 0.5em;
+}
+
+h5 {
+  font-size: 105%;
+  font-weight: bold;
+  margin-bottom: 0.5em;
+}
+
+h6 {
+  font-size: 100%;
+  font-weight: bold;
+  margin-bottom: 0.5em;
+}
+
+dt {
+  font-style: italic;
+}
+
+dd {
+  margin-bottom: 1.5em;
+}
+
+div.admonition, div.note, div.tip, div.caution, div.important {
+  margin: 2em 2em;
+  padding: 0em 1em;
+  border-top: 1px solid #aaa;
+  border-left: 1px solid #aaa;
+  border-bottom: 2px solid #555;
+  border-right: 2px solid #555;
+}
+
+div.important {
+  background: transparent url('../images/important.png') 10px 2px no-repeat;
+}
+
+div.caution {
+  background: transparent url('../images/caution.png') 10px 2px no-repeat;
+}
+
+div.note {
+  background: transparent url('../images/note.png') 10px 2px no-repeat;
+}
+
+div.tip {
+  background: transparent url('../images/tip.png') 10px 2px no-repeat;
+}
+
+div.admonition-example {
+  background: transparent url('../images/tip.png') 10px 2px no-repeat;
+}
+
+div.admonition-critical-example {
+  background: transparent url('../images/important.png') 10px 2px no-repeat;
+}
+
+p.admonition-title {
+  font-weight: bold;
+  border-bottom: 1px solid #aaa;
+  padding-left: 30px;
+}
+
+table.docutils {
+  text-align: left;
+  border: 1px solid gray;
+  border-collapse: collapse;
+  width: 100%;
+  margin: 1.5em 0em;
+}
+
+table.docutils caption {
+  font-style: italic;
+}
+
+table.docutils td, table.docutils th {
+  padding: 0.25em 0.5em;
+}
+
+table.docutils th {
+  background-color: #dddddd;
+}
+
+div.sidebar {
+  width: 33%;
+  float: right;
+  margin: 0em 2em;
+  padding: 0em 1em;
+  border-top: 1px solid #aaa;
+  border-left: 1px solid #aaa;
+  border-bottom: 2px solid #555;
+  border-right: 2px solid #555;
+}
+
+p.sidebar-title {
+  margin-bottom: 0em;
+  color: #003a6b;
+  border-bottom: 1px solid #aaa;
+  font-weight: bold;
+}
+
+p.sidebar-subtitle {
+  margin-top: 0em;
+  font-style: italic;
+  color: #003a6b;
+}