<newsletter:website> use stylesheets/mainstyle.css to for generated HTML documents
Dominic Hopf
git-noreply at xxxxx
Tue Aug 23 22:06:36 UTC 2011
Updating branch refs/heads/website
to 415a7bdbcea1e8fe73020b3a2a59ebd76a404073 (commit)
from e077176ab6cdb571ba02a688590f92453b1a3a09 (commit)
commit 415a7bdbcea1e8fe73020b3a2a59ebd76a404073
Author: Dominic Hopf <dmaphy at fedoraproject.org>
Date: Thu Jul 21 12:17:11 2011 +0200
use stylesheets/mainstyle.css to for generated HTML documents
Makefile | 4 ++--
style.css | 56 --------------------------------------------------------
2 files changed, 2 insertions(+), 58 deletions(-)
diff --git a/Makefile b/Makefile
index bf0c345..8ab5c09 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ clean:
rm -f $(OUTPUTS)
.rst.html:
- rst2html --stylesheet=style.css --toc-top-backlinks $< > $@
+ rst2html --stylesheet=stylesheets/mainstyle.css --toc-top-backlinks $< > $@
.tex.pdf:
maxpasses=5; \
@@ -53,5 +53,5 @@ clean:
rst2odt $< > $@
# extra dependencies we cannot add to suffix rules
-$(OUTPUT_HTML): style.css
+$(OUTPUT_HTML): stylesheets/mainstyle.css
$(OUTPUT_TEX): template.tex rst2latex.sed
diff --git a/style.css b/style.css
deleted file mode 100644
index dcc0f90..0000000
--- a/style.css
+++ /dev/null
@@ -1,56 +0,0 @@
-html { font-family: sans-serif; }
-
-
-div.document
-{
- width: 80%;
- margin-left: auto; margin-right: auto;
-}
-
-
-h1 { font-size: 1.4em }
-h2 { font-size: 1.3em }
-h3 { font-size: 1.2em }
-h4 { font-size: 1.1em }
-h5 { font-size: 1.0em }
-h6 { font-size: 0.9em }
-
-
-a:link, a:visited
-{
- color: #9e8100;
- text-decoration: none;
-}
-
-a:hover
-{
- color: #a40000;
- text-decoration: underline;
-}
-
-
-div#contents
-{
- width: 30%; float: left;
- margin-bottom: 10px; margin-right: 20px;
- padding-top: 10px; padding-bottom: 10px;
- padding-left: 1em;
- background-color: #eeeeef;
- font-size: 10pt;
- position: static;
- border-radius: 20px;
- -moz-border-radius: 20px;
- -webkit-border-radius: 20px;
- overflow: hidden;
-}
-
-
-div#contents ul
-{
- list-style-type: none;
- margin-left: -26pt;
- list-style-type: none;
- list-style-position: outside;
- margin-bottom: 1em; margin-left: 0;
- padding-left: 10px;
-}
More information about the Newsletter-Commits
mailing list