Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
arsi committed Nov 25, 2010
0 parents commit bf8b221
Show file tree
Hide file tree
Showing 114 changed files with 3,980 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
db2xhtml Library 0.2

Client side DocBook to XHTML translation with XSLT+CSS stylesheets.

Further reading at doc/index.xml (or http://www.porkkana.org/~arsi/db2xhtml/doc/index.xml)

Project downloadable at http://github.com/arsi/db2xhtml/
177 changes: 177 additions & 0 deletions css/block.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
div.e_abstract {
margin-top: 5px;
margin-bottom: 5px;
border-top: 1px solid #aaaa66;
border-bottom: 1px solid #aaaa66;
}

@media screen {
div.e_beginpage {
width: 100%;
border-bottom: 2px dotted #a0a0a0;
margin-top: 10px;
margin-bottom: 10px;
}
}

@media print {
div.e_beginpage {
page-break-after: always;
}
}

ol.e_bibliodiv:before {
counter-increment: biblio;
content: counters(biblio);
}

ol.e_bibliodiv {
margin-top: 5px;
padding: 5px;
border-top: 1px dotted #9999cc;
}

div.e_bibliodiv_title {
}

li.e_biblioentry:before {
}

li.e_biblioentry {
margin-left: 50px;
}

div.e_biblioentry_title {
padding-top: 5px;
padding-bottom: 2px;
}

div.e_blockquote {
background-color: #e0e0a0;
padding: 5px;
}

div.e_bridgehead_sect1 {
font-weight: bold;
}

div.e_bridgehead_sect2 {
font-weight: bold;
}

div.e_bridgehead_sect3 {
font-weight: bold;
}

div.e_bridgehead_sect4 {
font-weight: bold;
}

div.e_bridgehead_sect5 {
font-weight: bold;
}

div.e_caution {
color: #000000;
background-color: #ffe0e0;
border-top: 1px solid #ffc0c0;
border-bottom: 1px solid #ffc0c0;
padding: 10px;
margin-top: 5px;
margin-bottom: 5px;
}

div.e_example {
border: 1px solid #a0a0a0;
padding: 5px;
}

div.e_example_title {
border: 1px solid #e0e0e0;
background-color: #c0c0c0;
padding: 2px;
}

div.e_glossentry {
border-bottom: 1px solid #a0a0c0;
padding: 10px;
}

div.e_glossdef {
margin-left: 80px;
}

div.e_important {
color: #000000;
background-color: #e0ffff;
border-top: 1px solid #c0ffc0;
border-bottom: 1px solid #c0ffc0;
padding: 10px;
}

div.e_legalnotice {
font-size: smaller;
}

div.e_note {
color: #000000;
background-color: #e0e0e0;
border-top: 1px solid #c0c0c0;
border-bottom: 1px solid #c0c0c0;
padding: 10px;
margin-top: 5px;
margin-bottom: 5px;
}

div.e_para {
margin-top: 5px;
margin-bottom: 5px;
}

div.e_programlisting {
color: #000000;
background-color: #ffcc99;
border: 1px solid #cc9966;
font-size: smaller;
font-type: monospace;
padding-bottom: 5px;
padding-top: 5px;
padding-right: 5px;
}

div.e_screen {
color: #fcfcfc;
background-color: #000000;
border: 1px solid #666666;
font-size: smaller;
padding-bottom: 5px;
padding-top: 5px;
}

div.e_tip {
color: #000000;
background-color: #e0e0a0;
border-top: 1px solid #aaaa00;
border-bottom: 1px solid #aaaa00;
padding: 10px;
margin-top: 5px;
margin-bottom: 5px;
}

span.e_title {
font-weight: bold;
}

div.e_warning {
color: #000000;
background-color: #ffc0c0;
border-top: 1px solid #ff0000;
border-bottom: 1px solid #ff0000;
padding: 10px;
margin-top: 5px;
margin-bottom: 5px;
}

div.e_xi_include {
border: 1px solid red;
}
9 changes: 9 additions & 0 deletions css/db2xhtml.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
span.db2xhtml_error {
color: #ff0000;
}

div.db2xhtml_info_title {
color: #ffffff;
background-color: #666666;
padding: 2px 2px 2px 6px;
}
9 changes: 9 additions & 0 deletions css/footnotebox.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
span.footline:before {
margin-left: -30px;
counter-increment: footline;
content: "[" counter(footline) "] ";
}

span.footline {

}
160 changes: 160 additions & 0 deletions css/inline.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
span.e_arq:before {
content: "[";
}

span.e_arq:after {
content: "]";
}

span.e_application {
background-color: #cceecc;
border: 1px solid #aaccaa;
padding-left: 3px;
padding-right: 3px;
}

span.e_author {
}

span.e_author:after {
content: " (author) ";
}

span.e_authorinitials {}

span.e.authorinitials:after {
content: " (author) ";
}

span.e_command {
font-family: monospace;
}

span.e_corpauthor {
}

span.e_date {
padding: 2px;
color: #000000;
}

span.e_emphasis {
font-weight: bold;
}

span.e_filename {
background-color: #e0e0e0;
padding: 2px;
}

span.e_firstname {
padding-left: 5px;
padding-right: 5px;
}

span.e_footnote {
}

span.e_footnote:before {
font-size: xx-small;
vertical-align: super;
color: #666666;
counter-increment: footnote;
content: "[" counter(footnote) "]";
}

span.e_group:before {
content: "[";
}

span.e_group:after {
content: "]";
}

span.e_guibutton {
padding-left: 2px;
padding-right: 2px;
border: 1px solid #a0a0a0;
background-color: #c0c0c0;
}

span.e_honorific {
padding-left: 5px;
padding-right: 5px;
}

span.e_othername {
padding-left: 5px;
padding-right: 5px;
}

span.e_quote:before {
content: '"';
}

span.e_quote:after {
content: '"';
}

span.e_revnumber {
padding-left: 5px;
border-left: 1px solid #664422;
}

span.e_revremark {
padding-left: 5px;
border-left: 1px solid #664422;
}

span.e_sgmltag_:before {
content: "<";
}

span.e_sgmltag_ {
}

span.e_sgmltag_:after {
content: ">";
}

span.e_sgmltag_endtag:before {
content: "</";
}

span.e_sgmltag_endtag:after {
content: ">";
}

span.e_sgmltag_starttag:before {
content: "<";
}

span.e_sgmltag_starttag:after {
content: ">";
}

span.e_subscript {
vertical-align: sub;
font-size: smaller;
}

span.e_superscript {
vertical-align: super;
font-size: smaller;
}

span.e_surname {
padding-left: 5px;
padding-right: 5px;
}

a.e_ulink {
background-image: url(ulink-icon.png);
background-position: right;
background-repeat: no-repeat;
padding-right: 15px;
}

span.e_varname {
font-family: monospace;
}
12 changes: 12 additions & 0 deletions css/lists.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

ol.e_itemizedlist {
list-style-type: disc;
}

ol.e_orderedlist_upperalpha {
list-style-type: upper-alpha;
}

li.e_listitem {

}
Loading

0 comments on commit bf8b221

Please sign in to comment.