summaryrefslogtreecommitdiffstats
path: root/tcllib/modules/doctools2base/html_cssdefaults.tcl
blob: 7feab31201a29a57be4ee8facfd3017646a5598f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# -*- tcl -*-
# Copyright (c) 2009 Andreas Kupries <andreas_kupries@sourceforge.net>

# Support package. Container for the default CSS style used by the
# html export plugins when the user does not specify its own style.

# # ## ### ##### ######## ############# #####################
## Requirements

package require Tcl 8.4 ; # Required Core

namespace eval ::doctools::html::cssdefaults {
    # Contents of the file we carry
    variable c {}
}

proc ::doctools::html::cssdefaults::contents {} {
    variable c
    return  $c
}

set ::doctools::html::cssdefaults::c {
HTML {
    background: 	#FFFFFF;
    color: 		black;
}
BODY {
    background: 	#FFFFFF;
    color:	 	black;
}
DIV.doctools {
    margin-left:	10%;
    margin-right:	10%;
}
DIV.doctools H1,DIV.doctools H2 {
    margin-left:	-5%;
}
H1, H2, H3, H4 {
    margin-top: 	1em;
    font-family:	sans-serif;
    font-size:	large;
    color:		#005A9C;
    background: 	transparent;
    text-align:		left;
}
H1.title, H1.idx-title {
    text-align: center;
}
UL,OL {
    margin-right: 0em;
    margin-top: 3pt;
    margin-bottom: 3pt;
}
UL LI {
    list-style: disc;
}
OL LI {
    list-style: decimal;
}
DT {
    padding-top: 	1ex;
}
UL.toc,UL.toc UL, UL.toc UL UL {
    font:		normal 12pt/14pt sans-serif;
    list-style:	none;
}
LI.section, LI.subsection {
    list-style: 	none;
    margin-left: 	0em;
    text-indent:	0em;
    padding: 	0em;
}
PRE {
    display: 	block;
    font-family:	monospace;
    white-space:	pre;
    margin:		0%;
    padding-top:	0.5ex;
    padding-bottom:	0.5ex;
    padding-left:	1ex;
    padding-right:	1ex;
    width:		100%;
}
PRE.example {
    color: 		black;
    background: 	#f5dcb3;
    border:		1px solid black;
}
UL.requirements LI, UL.syntax LI {
    list-style: 	none;
    margin-left: 	0em;
    text-indent:	0em;
    padding:	0em;
}
DIV.synopsis {
    color: 		black;
    background: 	#80ffff;
    border:		1px solid black;
    font-family:	serif;
    margin-top: 	1em;
    margin-bottom: 	1em;
}
UL.syntax {
    margin-top: 	1em;
    border-top:		1px solid black;
}
UL.requirements {
    margin-bottom: 	1em;
    border-bottom:	1px solid black;
}

DIV.idx-kwnav {
    width:		100%;
    margin-top:		5pt;
    margin-bottom:	5pt;
    margin-left:	0%;
    margin-right:	0%;
    padding-top:  	5pt;
    padding-bottom:	5pt;
    background:		#DDDDDD;
    color:		black;
    border: 		1px solid black;
    text-align:		center;
    font-size:		small;
    font-family:	sans-serif;
}

/* TR.even/odd are used to get alternately colored table rows. 
 * Could probably choose better colors here...
 */

TR.idx-even {
    color: 		black;
    background:		#efffef;
}

TR.idx-odd {
    color: 		black;
    background:		#efefff;
}

DIV.idx-header, DIV.idx-footer, DIV.idx-leader {
    width:		100%;
    margin-left:	0%;
    margin-right:	0%;
}

TH {
    color:		#005A9C;
    background:		#DDDDDD;
    text-align:	 	center;
    font-family:	sans-serif;
    font-weight:	bold;
}
}

package provide doctools::html::cssdefaults 0.1
return