|
From: Carlo W. <li...@us...> - 2001-12-27 05:12:21
|
CVSROOT : /cvsroot/libcw
Module : src
Branch tags: branch-threading
Commit time: 2001-11-27 05:12:20 UTC
Modified files:
Tag: branch-threading
libcwd/documentation/styles/main.css
Added files:
Tag: branch-threading
libcwd/documentation/styles/Makefile
libcwd/documentation/styles/defines.h
libcwd/documentation/styles/doxygen.css
libcwd/documentation/styles/test.html
libcwd/documentation/styles/test.m4
libcwd/documentation/styles/tutorial.css
libcwd/documentation/styles/ie/.cvsignore
libcwd/documentation/styles/konqueror/.cvsignore
libcwd/documentation/styles/mozilla/.cvsignore
libcwd/documentation/styles/netscape4/.cvsignore
libcwd/documentation/styles/netscape6/.cvsignore
Log message:
Styles Sheet fixes (work in progress).
---------------------- diff included ----------------------
Index: src/libcwd/documentation/styles/Makefile
diff -u /dev/null src/libcwd/documentation/styles/Makefile:1.1.2.1
--- /dev/null Wed Dec 26 21:12:20 2001
+++ src/libcwd/documentation/styles/Makefile Wed Dec 26 21:12:10 2001
@@ -0,0 +1,21 @@
+TEMPLATES=main.css doxygen.css tutorial.css
+BROWSERS=netscape4 netscape6 mozilla konqueror ie
+OUTPUT=$(shell for b in $(BROWSERS); do for i in $(TEMPLATES); do echo $$b/$$i; done done)
+
+all: $(OUTPUT)
+
+%/main.css: main.css
+ @MACRO=`echo $@ | sed -e 's%\([^/]*\)/.*%\1%' | tr a-z A-Z`; \
+ cat main.css | gcc -D$$MACRO -E -c - | egrep -v '^(#|$$)' > $@
+
+%/doxygen.css: doxygen.css
+ @MACRO=`echo $@ | sed -e 's%\([^/]*\)/.*%\1%' | tr a-z A-Z`; \
+ cat doxygen.css | gcc -D$$MACRO -E -c - | egrep -v '^(#|$$)' > $@
+
+%/tutorial.css: tutorial.css
+ @MACRO=`echo $@ | sed -e 's%\([^/]*\)/.*%\1%' | tr a-z A-Z`; \
+ cat tutorial.css | gcc -D$$MACRO -E -c - | egrep -v '^(#|$$)' > $@
+
+test.html: test.m4 ../definitions.m4
+ m4 -I.. test.m4 > test.html
+
Index: src/libcwd/documentation/styles/defines.h
diff -u /dev/null src/libcwd/documentation/styles/defines.h:1.1.2.1
--- /dev/null Wed Dec 26 21:12:20 2001
+++ src/libcwd/documentation/styles/defines.h Wed Dec 26 21:12:10 2001
@@ -0,0 +1,97 @@
+#define FOREGROUND_COLOR black
+#define BACKGROUND_COLOR rgb(247, 252, 248)
+
+#define FOREGROUND_COLOR_ADDRESS FOREGROUND_COLOR
+#define BACKGROUND_COLOR_ADDRESS #eee
+
+#define FOREGROUND_COLOR_HOVER FOREGROUND_COLOR
+#define BACKGROUND_COLOR_HOVER #feffc6
+
+#define FOREGROUND_COLOR_EXAMPLE #2323DC
+#define BACKGROUND_COLOR_EXAMPLE INHERIT
+
+#define FOREGROUND_COLOR_CODE #044c2f
+#define BACKGROUND_COLOR_CODE INHERIT
+
+#define FOREGROUND_COLOR_OUTPUT rgb(40, 0, 100)
+#define BACKGROUND_COLOR_OUTPUT INHERIT
+
+#ifndef NETSCAPE4
+#define INHERIT inherit
+#else
+#define INHERIT BACKGROUND_COLOR /* Otherwise it becomes green?! */
+#endif
+
+#define NORMAL_FONT font-family: arial, sans-serif; font-size: NORMAL_SIZE; font-size-adjust: none
+
+#ifdef KONQUEROR
+#define HSIZE1 24pt
+#define HSIZE2 20pt
+#define HSIZE3 16pt
+#define HSIZE4 13pt
+#define HSIZE5 10pt
+#define HSIZE6 8pt
+#elif NETSCAPE4
+#define HSIZE1 32pt /* Netscape 4 can't display larger than 24pt. */
+#define HSIZE2 24pt
+#define HSIZE3 16pt
+#define HSIZE4 14pt
+#define HSIZE5 12pt
+#define HSIZE6 10pt
+#elif NETSCAPE6
+#define HSIZE1 32pt
+#define HSIZE2 20pt
+#define HSIZE3 15pt
+#define HSIZE4 13pt
+#define HSIZE5 10pt
+#define HSIZE6 8pt
+#elif MOZILLA
+#define HSIZE1 32pt
+#define HSIZE2 24pt
+#define HSIZE3 16pt
+#define HSIZE4 14pt
+#define HSIZE5 12pt
+#define HSIZE6 10pt
+#elif IE
+#define HSIZE1 21pt
+#define HSIZE2 18pt
+#define HSIZE3 16pt
+#define HSIZE4 13pt
+#define HSIZE5 10pt
+#define HSIZE6 8pt
+#endif
+
+#ifdef KONQUEROR
+#define SIZE2 16pt
+#define SIZE3 13pt
+#define SIZE4 11pt
+#define SIZE5 10pt
+#define SIZE6 8pt
+#elif NETSCAPE4
+#define SIZE2 18pt
+#define SIZE3 16pt; font-weight: bold /* Netscape 4 doesn't scale, this size looks like SIZE4 */
+#define SIZE4 14pt
+#define SIZE5 12pt
+#define SIZE6 10pt
+#elif NETSCAPE6
+#define SIZE2 14pt
+#define SIZE3 13pt
+#define SIZE4 11pt
+#define SIZE5 10pt
+#define SIZE6 8pt
+#elif MOZILLA
+#define SIZE2 18pt
+#define SIZE3 14pt
+#define SIZE4 13pt
+#define SIZE5 12pt
+#define SIZE6 10pt
+#elif IE
+#define SIZE2 16pt
+#define SIZE3 13pt
+#define SIZE4 11pt
+#define SIZE5 10pt
+#define SIZE6 8pt
+#endif
+
+#define NORMAL_SIZE SIZE4
+
Index: src/libcwd/documentation/styles/doxygen.css
diff -u /dev/null src/libcwd/documentation/styles/doxygen.css:1.1.2.1
--- /dev/null Wed Dec 26 21:12:21 2001
+++ src/libcwd/documentation/styles/doxygen.css Wed Dec 26 21:12:10 2001
@@ -0,0 +1,120 @@
+#include "defines.h"
+
+/*
+ * Style sheet definitions for doxygen.
+ */
+
+H1 {
+ text-align : center;
+ font-size : HSIZE2;
+}
+
+A.qindex {
+}
+
+A.qindexRef {
+}
+
+A.el {
+ text-decoration : none;
+ font-weight : bold
+}
+
+A.elRef {
+ font-weight : bold;
+}
+
+A.code {
+ text-decoration : none;
+ font-weight : normal;
+ color : #4444ee;
+}
+
+A.codeRef {
+ font-weight : normal;
+ color : #4444ee;
+}
+
+DL.el {
+ margin-left : -1cm;
+}
+
+DIV.fragment {
+ width : 100%;
+ border : none;
+ background-color : #eeeeee;
+ font-family : monospace
+#ifdef MOZILLA
+ padding-top : 0em;
+ padding-bottom : 0em;
+#endif
+}
+
+DIV.ah {
+ background-color : black;
+ font-weight : bold;
+ color : #ffffff;
+ margin-bottom : 3px;
+ margin-top: 3px;
+}
+
+TD.md {
+ background-color : #f2f2ff;
+ font-weight : bold;
+}
+
+TD.mdname1 {
+ color : #602020;
+ background-color : #f2f2ff;
+ font-weight : bold;
+}
+
+TD.mdname {
+ background-color : #f2f2ff;
+ font-weight : bold;
+ color : #602020;
+ width : 600px;
+}
+
+DIV.groupHeader {
+ margin-left : 16px;
+ margin-top : 12px;
+ margin-bottom : 6px;
+ font-weight : bold;
+}
+
+DIV.groupText {
+ margin-left : 16px;
+ font-style : italic;
+ font-size : smaller;
+}
+
+FONT.keyword {
+ color : #008000;
+}
+
+FONT.keywordtype {
+ color : #604020;
+}
+
+FONT.keywordflow {
+ color : #e08000;
+}
+
+FONT.comment {
+ color : #800000;
+}
+
+FONT.preprocessor {
+ color : #806020;
+}
+
+FONT.stringliteral {
+ color : #002080;
+}
+
+FONT.charliteral {
+ color : #008080;
+}
+
+
Index: src/libcwd/documentation/styles/ie/.cvsignore
diff -u /dev/null src/libcwd/documentation/styles/ie/.cvsignore:1.1.2.1
--- /dev/null Wed Dec 26 21:12:21 2001
+++ src/libcwd/documentation/styles/ie/.cvsignore Wed Dec 26 21:12:10 2001
@@ -0,0 +1 @@
+*.css
Index: src/libcwd/documentation/styles/konqueror/.cvsignore
diff -u /dev/null src/libcwd/documentation/styles/konqueror/.cvsignore:1.1.2.1
--- /dev/null Wed Dec 26 21:12:21 2001
+++ src/libcwd/documentation/styles/konqueror/.cvsignore Wed Dec 26 21:12:10 2001
@@ -0,0 +1 @@
+*.css
Index: src/libcwd/documentation/styles/main.css
diff -u src/libcwd/documentation/styles/main.css:1.1.2.2 src/libcwd/documentation/styles/main.css:1.1.2.3
--- src/libcwd/documentation/styles/main.css:1.1.2.2 Tue Nov 13 19:01:07 2001
+++ src/libcwd/documentation/styles/main.css Wed Dec 26 21:12:10 2001
@@ -1,107 +1,218 @@
+#include "defines.h"
+
/*
- * Style sheet definitions needed for doxygen
+ * Style Sheet for the libcw documentation
*/
-H1 { text-align: center; }
-A.qindex {}
-A.qindexRef {}
-A.el { text-decoration: none; font-weight: bold }
-A.elRef { font-weight: bold }
-A.code { text-decoration: none; font-weight: normal; color: #4444ee }
-A.codeRef { font-weight: normal; color: #4444ee }
-A:hover { text-decoration: none; background-color: #f2f2ff }
-DL.el { margin-left: -1cm }
-DIV.fragment { width: 100%; border: none; background-color: #eeeeee; font-family: monospace }
-DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px }
-TD.md { background-color: #f2f2ff; font-weight: bold; }
-TD.mdname1 { background-color: #f2f2ff; font-weight: bold; color: #602020; }
-TD.mdname { background-color: #f2f2ff; font-weight: bold; color: #602020; width: 600px; }
-DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold }
-DIV.groupText { margin-left: 16px; font-style: italic; font-size: smaller }
-FONT.keyword { color: #008000 }
-FONT.keywordtype { color: #604020 }
-FONT.keywordflow { color: #e08000 }
-FONT.comment { color: #800000 }
-FONT.preprocessor { color: #806020 }
-FONT.stringliteral { color: #002080 }
-FONT.charliteral { color: #008080 }
-CODE { display: inline; font-family: monospace }
+BODY {
+ color : FOREGROUND_COLOR;
+ background-color : BACKGROUND_COLOR;
+ NORMAL_FONT;
+#ifndef NETSCAPE4
+ margin-top : 24px; /* Netscape 4 thinks it is funny to add 24 to the margin top all by itself. */
+#else
+ margin-top : 0;
+#endif
+ border-top : 0;
+ padding-top : 0;
+ word-spacing : normal;
+ letter-spacing : normal;
+ text-transform : none;
+}
+
+.normal {
+ color: FOREGROUND_COLOR;
+ background-color : BACKGROUND_COLOR;
+ NORMAL_FONT;
+ word-spacing : normal;
+ letter-spacing : normal;
+ text-transform : none;
+}
/*
- * Style Sheet for the libcw documentation
+ * Style sheet in the TABLE of the header in order to get a solid
+ * horizontal line underneath the header. This does not work in netscape 4.
*/
-
-BODY { color: black; background-color: rgb(247, 252, 248); margin-top: 10px; }
-BODY, .normal { color: black; background-color: rgb(247, 252, 248); }
-BODY, .normal, TD, TH {
- font-family: verdana;
- font-size: 10pt;
+.header {
+ margin-top : 0;
+ margin-bottom : 1em;
+ border-top : 0;
+ border-bottom : 2px solid FOREGROUND_COLOR;
+ padding-top : 0;
+#ifndef NETSCAPE4
+ padding-bottom : 10px;
+#endif
+}
+
+.header-title {
+ font-family : helvetica, sans-serif;
+ font-size : HSIZE3;
+ font-weight : normal;
+ margin-top : 0;
+ margin-bottom : 0;
+ margin-left : 0;
+ margin-right : 0;
+}
+
+.header-copyright {
+ font-family : MS sans serif, helvetica, sans-serif;
+ font-size : HSIZE5;
+ font-weight : normal;
+ margin-top : 0;
+ margin-bottom : 0;
+ margin-left : 0;
+ margin-right : 0;
}
/* Images and links */
a:link img, a:visited img {
- border-style : none;
+ border-style : none;
+}
+
+a:hover {
+ text-decoration : none;
+ color: : FOREGROUND_COLOR_HOVER;
+ background-color : BACKGROUND_COLOR_HOVER;
}
+
a img {
- color: transparent; background: transparent; text-decoration: none;
+ color : transparent;
+ background : transparent;
+ text-decoration : none;
}
-address img {
- float: right;
+
+address img {
+ float : right;
}
+
address {
- padding-top: 0.5em;
- padding-right: 1em;
- padding-left: 1em;
- padding-bottom: 0.5em;
- margin-top: 3em;
- border-top: 2px solid black;
- background-color: #eee;
- clear: both;
+ padding-top : 0.5em;
+ padding-right : 1em;
+ padding-left : 1em;
+ padding-bottom : 0.5em;
+ margin-top : 3em;
+ border-top : 2px solid FOREGROUND_COLOR;
+ color : FOREGROUND_COLOR_ADDRESS;
+ background-color : BACKGROUND_COLOR_ADDRESS;
+ clear : both;
+ font-family : sans-serif;
+ font-size : HSIZE5;
}
-.image-link:link { text-decoration: none; }
-.image-link:visited { text-decoration: none; }
-.image-link:active { text-decoration: none; }
+/* Special classes */
-/* Heading fonts and sizes */
+.table {
+ font-family : helvetica, arial, sans-serif;
+ font-size : 18pt;
+ font-weight : bold;
+ margin-top : 3px;
+ margin-bottom : 3px
+ word-spacing : normal;
+ letter-spacing : normal;
+ text-transform : none;
+}
-H1, H2, H3, H4, H5 { font-family: helvetica; }
+PRE, CODE, .output, .example-output {
+ font-family : courier, monospace;
+#ifndef NETSCAPE4
+ font-size : inherit; /* Bug in netscape 4 causes large letter-spacing when using this. */
+#else
+ font-size : NORMAL_SIZE;
+#endif
+ white-space : pre;
+}
-/* Special classes */
+PRE {
+ display : block;
+}
-.table {
- font-family: helvetica;
- font-size: 18pt;
- font-weight: bold;
- margin-top: 3px;
- margin-bottom: 3px
+CODE {
+ display : inline;
+}
+
+P {
+ font-size : NORMAL_SIZE;
+}
+
+P.test-size2 {
+ font-size : SIZE2;
+}
+
+P.test-size3 {
+ font-size : SIZE3;
}
-.code, .example-code, .nld, .output, .example-output {
- font-family: courier;
- font-size: 13pt;
+P.test-size4 {
+ font-size : SIZE4;
}
+P.test-size5 {
+ font-size : SIZE5;
+}
+
+P.test-size6 {
+ font-size : SIZE6;
+}
+
+/* Heading fonts and sizes */
+
+H1, H2, H3, H4, H5, H6 {
+ font-family : helvetica, arial, sans-serif;
+}
+
+H1 { font-size: HSIZE1 }
+H2 { font-size: HSIZE2 }
+H3 { font-size: HSIZE3 }
+H4 { font-size: HSIZE4 }
+H5 { font-size: HSIZE5 }
+H6 { font-size: HSIZE6 }
+
/* Colors */
-.code { color: #000040; }
-.nld { color: #b80047; }
-.output { color: rgb(40, 0, 100) }
-.example, .example-code, .example-output { color: #2323DC }
+PRE, CODE {
+ color : FOREGROUND_COLOR_CODE;
+ background-color : BACKGROUND_COLOR_CODE;
+}
+.output {
+ color : FOREGROUND_COLOR_OUTPUT;
+ background-color : BACKGROUND_COLOR_OUTPUT;
+}
+.example, CODE.example, .example-output {
+ color : FOREGROUND_COLOR_EXAMPLE;
+ background-color : BACKGROUND_COLOR_EXAMPLE;
+}
/* Indentation */
-PRE.example-code, PRE.example-output { margin-left: 30px }
-PRE.output, PRE.code { margin-left: 10px }
+PRE.example, PRE.example-output {
+ margin-left : 30px;
+}
+
+PRE, PRE.output {
+ margin-left : 10px;
+}
+
/* Font styles */
-.filename { font-family: courier }
-.para { font-style: italic }
-.command-line-parameter { font-weight: bold }
-.command-line-variable { font-weight: normal; font-style: italic }
-.H1code, .H2code, .H3code, .H4code, .H5code, .H6code {
- font-family: courier;
- font-weight: bold;
- color: #000040;
+
+.filename {
+ font-family : courier, monospace;
+}
+
+.para {
+ font-style : italic;
+}
+
+.command-line-parameter {
+ font-weight : bold
+}
+
+.command-line-variable {
+ font-weight : normal;
+ font-style : italic;
+}
+
+.shell-command {
+ font-family : ludica;
+ font-size : NORMAL_SIZE;
}
-.shell-command { font-family: ludica; font-size: 12pt; }
Index: src/libcwd/documentation/styles/mozilla/.cvsignore
diff -u /dev/null src/libcwd/documentation/styles/mozilla/.cvsignore:1.1.2.1
--- /dev/null Wed Dec 26 21:12:21 2001
+++ src/libcwd/documentation/styles/mozilla/.cvsignore Wed Dec 26 21:12:10 2001
@@ -0,0 +1 @@
+*.css
Index: src/libcwd/documentation/styles/netscape4/.cvsignore
diff -u /dev/null src/libcwd/documentation/styles/netscape4/.cvsignore:1.1.2.1
--- /dev/null Wed Dec 26 21:12:21 2001
+++ src/libcwd/documentation/styles/netscape4/.cvsignore Wed Dec 26 21:12:10 2001
@@ -0,0 +1 @@
+*.css
Index: src/libcwd/documentation/styles/netscape6/.cvsignore
diff -u /dev/null src/libcwd/documentation/styles/netscape6/.cvsignore:1.1.2.1
--- /dev/null Wed Dec 26 21:12:21 2001
+++ src/libcwd/documentation/styles/netscape6/.cvsignore Wed Dec 26 21:12:10 2001
@@ -0,0 +1 @@
+*.css
Index: src/libcwd/documentation/styles/test.html
diff -u /dev/null src/libcwd/documentation/styles/test.html:1.1.2.1
--- /dev/null Wed Dec 26 21:12:21 2001
+++ src/libcwd/documentation/styles/test.html Wed Dec 26 21:12:10 2001
@@ -0,0 +1,92 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML LANG="en-us">
+<HEAD>
+<META name="Author" content="Carlo Wood">
+<META http-equiv="content-type" content="text/html; charset=iso-8859-1">
+<META http-equiv="content-script-type" content="text/javascript">
+<TITLE>libcwd: The C++ Debugging Support Library</TITLE>
+<SCRIPT SRC="../scripts/detect_browser.js"></SCRIPT>
+<SCRIPT SRC="../scripts/load_style_sheets.js"></SCRIPT>
+</HEAD>
+<BODY>
+
+<TABLE class="header" height=64 width="100%" cellpadding=0 cellspacing=0 border=0>
+ <TR>
+ <TD width=237 valign=top>
+ <IMG valign=top src="../images/libcwd_logo.png" alt="" align=left border=0>
+ </TD>
+ <TD width="100%" align=center>
+ <DIV class="header-title">
+ The C++ Debugging Support Library
+ </DIV>
+ <DIV class="header-copyright">
+ By Carlo Wood, ©1999 - 2001.
+ </DIV>
+ </TD>
+ </TR>
+ <SCRIPT>if (is_mozilla4) document.write("<TR><TD colspan=2 height=19 valign=bottom><HR SIZE=2 NOSHADE></TD></TR>");</SCRIPT>
+</TABLE>
+
+<DIV class="normal">
+
+<H3>Headers</H3>
+
+<H1><H1>Largest Header</H1></H1>
+<H2><H2>Here is some example code: <code><code>libcw::debug::dc</code></code></H2></H2>
+<H3><H3>Here is some example code: <code><code>Dout(dc::notice, i << "Hello")</code></code></H3></H3>
+<H4><H4>Here is some example code: <code><code>Dout(dc::notice, i << "Hello")</code></code></H4></H4>
+<H5><H5>Here is some example code: <code><code>Dout(dc::notice, i << "Hello")</code></code></H5></H5>
+<H6><H6>Here is some example code: <code><code>Dout(dc::notice, i << "Hello")</code></code></H6></H6>
+
+<H3>Paragraphs</H3>
+
+<p class="test-size2">Normal text with size 2. abcdefghijklmnopqrstuvwxyz 0123456789.</p>
+<p class="test-size3">Normal text with size 3. abcdefghijklmnopqrstuvwxyz 0123456789.</p>
+<p class="test-size4">Normal text with size 4. abcdefghijklmnopqrstuvwxyz 0123456789.</p>
+<p class="test-size5">Normal text with size 5. abcdefghijklmnopqrstuvwxyz 0123456789.</p>
+<p class="test-size6">Normal text with size 6. abcdefghijklmnopqrstuvwxyz 0123456789.</p>
+
+<H3>Code</H3>
+
+<P><p>Normal text. You can use <code>libcwd</code>
+for instance in space shuttles or nuclear power plants,
+to write debug output to <code>ostream</code>
+devices.</p></P>
+
+<P><code><code>func(char const*)</code></code></P>
+
+<P><pre></P>
+<PRE>// This line is not indented.
+ // This one is indented two spaces.
+ int abcdefghijklmnopqrstuvwxyz = 0123456789;</PRE>
+<P></pre></P>
+
+<P>Here is program output:</P>
+
+<PRE class="output">
+Output of a program
+should always be shown
+inside a <PRE>
+tag.
+</PRE>
+
+<H3>Examples</H3>
+
+<P>This is an <SPAN class="example">example</SPAN> that is inline.</P>
+
+<P class="example">This is an example by itself.</P>
+
+<PRE class="example">
+NOTICE: This is example output.
+NOTICE: This is the second line.
+</PRE>
+
+
+</DIV>
+
+<ADDRESS>Copyright © 2001 Carlo Wood. All rights reserved.</ADDRESS>
+
+</BODY>
+</HTML>
+
Index: src/libcwd/documentation/styles/test.m4
diff -u /dev/null src/libcwd/documentation/styles/test.m4:1.1.2.1
--- /dev/null Wed Dec 26 21:12:21 2001
+++ src/libcwd/documentation/styles/test.m4 Wed Dec 26 21:12:10 2001
@@ -0,0 +1,61 @@
+include(definitions.m4)dnl
+__HTMLHEADER
+__PAGEHEADER
+__PAGESTART
+
+<H3>Headers</H3>
+
+<H1><H1>Largest Header</H1></H1>
+<H2><H2>Here is some example code: <code><code>libcw::debug::dc</code></code></H2></H2>
+<H3><H3>Here is some example code: <code><code>Dout(dc::notice, i << "Hello")</code></code></H3></H3>
+<H4><H4>Here is some example code: <code><code>Dout(dc::notice, i << "Hello")</code></code></H4></H4>
+<H5><H5>Here is some example code: <code><code>Dout(dc::notice, i << "Hello")</code></code></H5></H5>
+<H6><H6>Here is some example code: <code><code>Dout(dc::notice, i << "Hello")</code></code></H6></H6>
+
+<H3>Paragraphs</H3>
+
+<p class="test-size2">Normal text with size 2. abcdefghijklmnopqrstuvwxyz 0123456789.</p>
+<p class="test-size3">Normal text with size 3. abcdefghijklmnopqrstuvwxyz 0123456789.</p>
+<p class="test-size4">Normal text with size 4. abcdefghijklmnopqrstuvwxyz 0123456789.</p>
+<p class="test-size5">Normal text with size 5. abcdefghijklmnopqrstuvwxyz 0123456789.</p>
+<p class="test-size6">Normal text with size 6. abcdefghijklmnopqrstuvwxyz 0123456789.</p>
+
+<H3>Code</H3>
+
+<P><p>Normal text. You can use <code>libcwd</code>
+for instance in space shuttles or nuclear power plants,
+to write debug output to <code>ostream</code>
+devices.</p></P>
+
+<P><code><code>func(char const*)</code></code></P>
+
+<P><pre></P>
+<PRE>// This line is not indented.
+ // This one is indented two spaces.
+ int abcdefghijklmnopqrstuvwxyz = 0123456789;</PRE>
+<P></pre></P>
+
+<P>Here is program output:</P>
+
+<PRE class="output">
+Output of a program
+should always be shown
+inside a <PRE>
+tag.
+</PRE>
+
+<H3>Examples</H3>
+
+<P>This is an <SPAN class="example">example</SPAN> that is inline.</P>
+
+<P class="example">This is an example by itself.</P>
+
+<PRE class="example">
+NOTICE: This is example output.
+NOTICE: This is the second line.
+</PRE>
+
+__PAGEEND
+__PAGEFOOTER
+__HTMLFOOTER
+
Index: src/libcwd/documentation/styles/tutorial.css
diff -u /dev/null src/libcwd/documentation/styles/tutorial.css:1.1.2.1
--- /dev/null Wed Dec 26 21:12:21 2001
+++ src/libcwd/documentation/styles/tutorial.css Wed Dec 26 21:12:10 2001
@@ -0,0 +1,203 @@
+#include "defines.h"
+
+/*
+ * Style Sheets for tutorial.
+ */
+
+DIV.body {
+ margin-left : 2cm;
+ margin-right : 0;
+}
+
+P {
+ margin-left : 0;
+ margin-right : 2cm;
+}
+
+P.download {
+ font-size : 80%;
+}
+
+H1, H2 {
+ color : rgb(62, 122, 242);
+ background-color : INHERIT;
+ font-family : caligula, genoaroman, blackforest, arnoldboecklin, garamond, classicheavy, serif;
+}
+
+H1 {
+ font-size : 400%;
+ text-align : center;
+}
+
+H2 {
+ font-size : H2SIZE;
+}
+
+FONT.hello {
+ font-family : caligula, genoaroman, blackforest, arnoldboecklin, garamond, classicheavy, serif;
+ font-size : SIZE2;
+ font-size : 300%;
+}
+
+P.line {
+ margin-top : 1em;
+ margin-bottom : 1em;
+ margin-left : 0;
+ margin-right : 0;
+ padding : 0;
+ text-align : center;
+}
+
+DIV.buttons {
+ margin-top : 0;
+#ifdef KONQUEROR
+ margin-bottom : 0; /* Konqueror already puts a large empty area between the buttons and the address :/ */
+#else
+ margin-bottom : 1em;
+#endif
+ padding-top : 0;
+ padding-bottom: : 0;
+ text-align : center;
+}
+
+DIV.buttons IMG {
+ margin-left : 4px;
+ margin-right : 4px;
+}
+
+DIV.faq-frame {
+ border-style : solid;
+ border-bottom-width : 0px;
+ border-left-width : 5px;
+ border-right-width : 0px;
+ border-top-width : 0px;
+ margin-right : 2cm;
+ padding-top : 1px;
+ color : #4c5e52;
+ background-color : rgb(240, 240, 224);
+ padding-bottom : 0.5em;
+ margin-bottom : 1em;
+}
+
+DIV.faq-frame H4 {
+ margin-top : 1.1ex;
+ margin-left : 1em;
+ margin-bottom : 0;
+ font-size : HSIZE4;
+ font-weight : bold;
+ color : #4c5e52;
+ background-color : rgb(240, 240, 224);
+}
+
+UL LI {
+ font-size : smaller;
+ color : FOREGROUND_COLOR;
+ background-color : INHERIT;
+}
+
+.highlight {
+ font-weight : normal;
+ color : red;
+}
+
+PRE {
+ color : FOREGROUND_COLOR_CODE;
+ background-color : #eeeeee;
+ margin-left : 0;
+ margin-right : 2cm;
+ padding-left : 1em;
+}
+
+/* Table of contents styles */
+
+BODY.toc {
+ background-color : rgb(247, 252, 248);
+ font-family : arial, helvetica, sans-serif;
+ font-size : HSIZE5;
+ font-weight : normal;
+ margin-top : 10px;
+ margin-bottom : 0px;
+ margin-left : 3px;
+ margin-right : 8px;
+}
+
+A.toc:link, A.toc:visited, A.toc:active, A.toc1:link, A.toc1:visited, A.toc1:active {
+ text-decoration : none;
+ color : rgb(0, 150, 100);
+ background-color : INHERIT;
+}
+
+A.toc:link, A.toc1:link {
+ color : rgb(0, 0, 255)
+ background-color : INHERIT;
+}
+
+A.toc1:link {
+ text-decoration : underline;
+}
+
+.toc-header1 {
+ font-family : helvetica;
+ font-size : SIZE2;
+ margin-bottom : 4px;
+ margin-top : 1px;
+ margin-left : 0px;
+ font-weight : bold;
+}
+
+.toc-number2f {
+ font-family : times;
+ font-size : SIZE3;
+ margin-bottom : 2px;
+ margin-top : 0px;
+}
+
+.toc-header2f {
+ font-family : helvetica;
+ font-size : SIZE3;
+ margin-bottom : 2px;
+ margin-top : 0px;
+ font-weight : normal;
+}
+
+.toc-number2 {
+ font-family : times;
+ font-size : SIZE3;
+ margin-bottom : 2px;
+ margin-top : 15px;
+}
+
+.toc-header2 {
+ font-family : helvetica;
+ font-size : SIZE3;
+ margin-bottom : 2px;
+ margin-top : 15px;
+ font-weight : normal;
+}
+
+.toc-number3 {
+ font-family : times;
+ font-size : SIZE4;
+ margin-bottom : 2px;
+}
+
+.toc-header3 {
+ font-family : helvetica;
+ font-size : SIZE4;
+ margin-bottom : 2px;
+ margin-left : 4px;
+}
+
+.toc-number4 {
+ font-family : times;
+ font-size : SIZE5;
+ margin-bottom : 2px;
+}
+
+.toc-header4 {
+ font-family : helvetica;
+ font-size : SIZE5;
+ margin-bottom : 2px;
+ margin-left : 8px;
+}
+
----------------------- End of diff -----------------------
|