Use a css file for the doc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maybe we could also remove the stuff about systemitem and stuff. I have
no idea what this is for.


Changelog:

 * documentation/Makefile.in,
   documentation/default.dsl,
   documentation/winedoc.css

   Don't hardcode the look and feel in default.css. Use a css file
instead.
   Tweak the FAQ look and feel to make it look nicer.


Index: documentation/Makefile.in
===================================================================
RCS file: /home/wine/wine/documentation/Makefile.in,v
retrieving revision 1.32
diff -u -r1.32 Makefile.in
--- documentation/Makefile.in	23 Jun 2003 19:51:21 -0000	1.32
+++ documentation/Makefile.in	9 Sep 2003 16:51:18 -0000
@@ -88,7 +88,8 @@

 .sgml/index.html:
 	$(DB2HTML) -d $(SRCDIR)/default.dsl -o $* $<
+	cp $(SRCDIR)/winedoc.css $*

 .sgml.pdf:
 	$(DB2PDF) -d $(SRCDIR)/print.dsl $< >/dev/null
Index: documentation/default.dsl
===================================================================
RCS file: /home/wine/wine/documentation/default.dsl,v
retrieving revision 1.1
diff -u -r1.1 default.dsl
--- documentation/default.dsl	13 Dec 2000 21:52:37 -0000	1.1
+++ documentation/default.dsl	9 Sep 2003 17:10:06 -0000
@@ -11,32 +11,11 @@
 (define %html-ext% ".html")
 (define %html-header-tags% '())

-;;(define %stylesheet% "../../winehq.css")
-;;(define %stylesheet-type% "text/css")
+(define %stylesheet% "winedoc.css")
+(define %stylesheet-type% "text/css")

-(define %shade-verbatim% #t)
 (define %section-autolabel% #t)
-
-;; Customize the body tag color attributes
-(define %body-attr%
-  (list
-   (list "BGCOLOR" "#FFFFFF")
-   (list "TEXT" "#000000")
-   (list "LINK" "#a50d0d")
-   (list "VLINK" "#505050")
-   (list "ALINK" "#a50d0d")))
-
-;; Change the background color of programlisting and screen, etc.
-(define ($shade-verbatim-attr$)
-  (list
-   (list "BORDER" "0")
-   ;(list "BGCOLOR" "#E0E0E0")  ; light grey
-   (list "BGCOLOR" "#E0D0D0")  ; light grayish red
-   ;(list "BGCOLOR" "#bc8686")  ; dark rose
-   ;(list "BGCOLOR" "#FFD39B")  ; burlywood1 (tan)
-   ;(list "BGCOLOR" "#FFE7BA")  ; wheat1 (light tan)
-   (list "WIDTH" ($table-width$))))

 ;; Customize systemitem element to have different formatting, according
 ;; to which class attribute it contains.
--- /dev/null	2003-09-08 21:59:07.000000000 +0200
+++ documentation/winedoc.css	2003-09-09 19:05:09.000000000 +0200
@@ -0,0 +1,10 @@
+body { background-color: #FFFFFF; color: #000000; }
+
+a:link { color: #a50d0d; }
+a:visited  { color: #505050; }
+a:active  { color: #a50d0d; }
+
+.screen { background-color: #E0D0D0; padding: 0.5ex; }
+.question { border-top: dashed thin; font-weight: bolder; }
+
+.userinput { font-weight: bold; }


-- 
Francois Gouget         fgouget@free.fr        http://fgouget.free.fr/
     Linux, WinNT, MS-DOS - also known as the Good, the Bad and the Ugly.



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux