summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2006-10-28 15:17:21 +0000
committerFrederic Peters <fpeters@entrouvert.com>2006-10-28 15:17:21 +0000
commitec59612540eaa0fc111ff4fc6051c631dac101e6 (patch)
tree61a862c20ef59a12fd564f8139f361808f41755c /docs
parent01438cb0f83a659f75c37b8c29dfe28b3792e3c6 (diff)
downloadlasso-ec59612540eaa0fc111ff4fc6051c631dac101e6.tar.gz
lasso-ec59612540eaa0fc111ff4fc6051c631dac101e6.tar.xz
lasso-ec59612540eaa0fc111ff4fc6051c631dac101e6.zip
use external stylesheet
Diffstat (limited to 'docs')
-rw-r--r--docs/lasso-book/Makefile.am15
-rw-r--r--docs/lasso-book/default.css143
2 files changed, 152 insertions, 6 deletions
diff --git a/docs/lasso-book/Makefile.am b/docs/lasso-book/Makefile.am
index c837cc2d..f887828b 100644
--- a/docs/lasso-book/Makefile.am
+++ b/docs/lasso-book/Makefile.am
@@ -11,19 +11,22 @@ LASSOBOOK_FILES = book.rst common-knowledge.rst getting-lasso.rst \
liberty-architecture.rst other-profiles.rst preface.rst \
single-sign-on.rst
+SP_DOC_FILES = writing-a-c-sp.txt writing-a-php-sp.txt writing-a-java-sp.txt
+
+SP_DOC_HTML = writing-a-c-sp.html writing-a-php-sp.html writing-a-java-sp.html
+
if HAVE_REST2HTML
-doc_DATA = writing-a-c-sp.html book.html
+doc_DATA = $(SP_DOC_HTML) book.html
else
-doc_DATA = writing-a-c-sp.txt $(LASSOBOOK_FILES)
+doc_DATA = $(SP_DOC_FILES) $(LASSOBOOK_FILES)
endif
%.html: %.txt
- $(REST2HTML) $? > $@
+ $(REST2HTML) --stylesheet=default.css --link-stylesheet $? > $@
%.html: %.rst
$(REST2HTML) $? > $@
-CLEANFILES = writing-a-c-sp.html book.html
-EXTRA_DIST = lasso-book.txt writing-a-c-sp.txt $(LASSOBOOK_FILES)
-
+CLEANFILES = $(SP_DOC_HTML) book.html
+EXTRA_DIST = lasso-book.txt $(LASSOBOOK_FILES) $(SP_DOC_FILES)
diff --git a/docs/lasso-book/default.css b/docs/lasso-book/default.css
new file mode 100644
index 00000000..d198a166
--- /dev/null
+++ b/docs/lasso-book/default.css
@@ -0,0 +1,143 @@
+body {
+ font-family: sans-serif;
+}
+
+
+h1 a, h2 a, h3 a, h4 a {
+ text-decoration: inherit;
+ color: inherit;
+}
+
+pre.literal-block {
+ background: #eee;
+ border: 1px inset black;
+ padding: 2px;
+ margin: auto 10px;
+ overflow: auto;
+}
+
+h1.title {
+ text-align: center;
+ background: #eef;
+ border: 1px solid #aaf;
+ letter-spacing: 1px;
+}
+
+div.section {
+ margin-bottom: 2em;
+}
+
+div.section h1 {
+ padding: 0 15px;
+ background: #eef;
+ border: 1px solid #aaf;
+}
+
+div.section h2 {
+ padding: 0 15px;
+ background: #eef;
+ border: 1px solid #aaf;
+}
+
+div.document {
+ margin-top: 1em;
+ border-top: 1px solid #aaf;
+ border-bottom: 1px solid #aaf;
+}
+
+div.section p,
+div.section ul {
+ text-align: justify;
+}
+
+div.contents {
+ float: right;
+ border: 1px solid black;
+ margin: 1em;
+ background: #eef;
+ max-width: 33%;
+}
+
+div#building-liberty-services-with-lasso div#table-of-contents {
+ max-width: inherit;
+ float: none;
+ background: white url(lasso.png) bottom right no-repeat;
+}
+
+div.contents ul {
+ padding-left: 1em;
+ list-style: none;
+}
+
+div.contents li {
+ padding-bottom: 2px;
+}
+
+div.contents p {
+ background: #ddf;
+ text-align: center;
+ border-bottom: 1px solid black;
+ margin: 0;
+}
+
+th.docinfo-name {
+ text-align: right;
+ padding-right: 0.5em;
+}
+
+dd {
+ margin-bottom: 1ex;
+}
+
+table.table {
+ margin: 1ex 0;
+ border-spacing: 0px;
+}
+
+
+table.table th {
+ padding: 0px 1ex;
+ background: #eef;
+ font-weight: normal;
+}
+
+
+table.table td {
+ padding: 0 0.5ex;
+}
+
+div.note, div.warning {
+ padding: 0.3ex;
+ padding-left: 60px;
+ min-height: 50px;
+ margin: 1ex 1em;
+}
+
+div.note {
+ background: #ffa url(note.png) top left no-repeat;
+ border: 1px solid #fd8;
+}
+
+div.warning {
+ background: #ffd url(warning.png) top left no-repeat;
+}
+
+p.admonition-title {
+ font-weight: bold;
+ display: inline;
+ display: none;
+ padding-right: 1em;
+}
+
+div.figure {
+ margin: 0 auto;
+ width: 70%;
+ min-width: 800px;
+ text-align: center;
+}
+
+div.figure p.caption {
+ font-style: italic;
+ margin: 1ex 0 2em 0;
+ text-align: center;
+}