deplate 0.8.3 → 0.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,8 +2,9 @@
2
2
 
3
3
  body {
4
4
  /* background-color: #d9e0f0; */
5
- background-color: #e4e8f0;
6
- background-image: url(grad_blue.jpg);
5
+ /* background-color: #e4e8f0; */
6
+ background-color: #eeeef5;
7
+ /* background-image: url(grad_blue.jpg); */
7
8
  background-repeat: repeat-x;
8
9
  }
9
10
 
@@ -33,10 +34,16 @@ body {
33
34
  margin-top: 0;
34
35
  padding: 10px;
35
36
  /* border: 1px dashed #cae0ea; */
36
- border: 1px solid #cae0ea;
37
+ /* border: 1px solid #cae0ea; */
38
+ -webkit-border-bottom-left-radius: 15px;
39
+ -webkit-border-bottom-right-radius: 15px;
40
+ -moz-border-radius-bottomleft: 15px;
41
+ -moz-border-radius-bottomright: 15px;
42
+ -khtml-border-bottom-left-radius: 15px;
43
+ -khtml-border-bottom-right-radius: 15px;
37
44
  border-bottom-left-radius: 15px;
38
45
  border-bottom-right-radius: 15px;
39
- -moz-border-radius: 0 0 15px 15px;
46
+
40
47
  }
41
48
 
42
49
  table.tabBarTop {
@@ -60,9 +67,9 @@ td.tabBarTopActive {
60
67
  /* border-top: 1px dashed #cae0ea; */
61
68
  /* border-left: 1px dashed #cae0ea; */
62
69
  /* border-right: 1px dashed #cae0ea; */
63
- border-top: 1px solid #cae0ea;
64
- border-left: 1px solid #cae0ea;
65
- border-right: 1px solid #cae0ea;
70
+ /* border-top: 1px solid #cae0ea; */
71
+ /* border-left: 1px solid #cae0ea; */
72
+ /* border-right: 1px solid #cae0ea; */
66
73
  border-bottom: 0;
67
74
  background-color: #ffffff;
68
75
  text-align: center;
@@ -71,8 +78,10 @@ td.tabBarTopActive {
71
78
  td.tabBarTopInactive {
72
79
  margin: 0;
73
80
  /* border-bottom: 1px dashed #cae0ea; */
74
- border-bottom: 1px solid #cae0ea;
75
- background-color: #f0f0f0;
81
+ /* border-bottom: 1px solid #cae0ea; */
82
+ /* background-color: #f0f0f0; */
83
+ background-color: #eeeef5;
84
+ border: 1px solid #eeeef5;
76
85
  text-align: center;
77
86
  /* -moz-border-radius: 15px 15px 0 0; */
78
87
  }
@@ -0,0 +1,88 @@
1
+ body {
2
+ color: black;
3
+ background-color: #f0f0f0;
4
+ }
5
+ a.external {
6
+ }
7
+ a.old {
8
+ }
9
+ a.latest {
10
+ }
11
+ a.toc {
12
+ }
13
+ ol.toc {
14
+ float: left;
15
+ width: 200px;
16
+ position: fixed;
17
+ padding: 0;
18
+ margin: 0;
19
+ }
20
+ li.toc {
21
+ list-style: none;
22
+ border: 1px solid #e0e0e0;
23
+ background-color: #fafafa;
24
+ padding: 0.1em;
25
+ font-size: 80%;
26
+ font-family: Verdana, Myriad Web, Syntax, sans-serif;
27
+ }
28
+ li.toc:hover {
29
+ background-color: #ffff8d;
30
+ }
31
+ div.contents {
32
+ margin-left: 210px;
33
+ min-width: 16em;
34
+ }
35
+ div.webpage {
36
+ margin: 5px 0 5px 0;
37
+ padding: 5px;
38
+ border: 1px solid #e0e0e0;
39
+ background-color: white;
40
+ }
41
+ div.count {
42
+ text-align: right;
43
+ }
44
+ .enclosure {
45
+ padding: 4px;
46
+ margin: 4px 0 4px 0;
47
+ background: #f9f9f9;
48
+ }
49
+ h1.diff {
50
+ font-family: Verdana, Myriad Web, Syntax, sans-serif;
51
+ }
52
+ h2.rss {
53
+ border-top: 10px solid #f0f0f0;
54
+ padding-top: 10px;
55
+ }
56
+ div.diff {
57
+ padding-left: 2em;
58
+ }
59
+ pre.diff {
60
+ padding-left: 2em;
61
+ }
62
+ div.annotation {
63
+ font-size: 80%;
64
+ }
65
+ hr.separator {
66
+ width: 100%;
67
+ visibility: hidden;
68
+ }
69
+ .error {
70
+ color: yellow;
71
+ background-color: red;
72
+ }
73
+ .highlight {
74
+ background-color: #ffc730;
75
+ }
76
+ .highlight-yellow {
77
+ background-color: #ffc730;
78
+ }
79
+ .highlight-red {
80
+ background-color: red;
81
+ }
82
+ .highlight-blue {
83
+ background-color: blue;
84
+ }
85
+ .highlight-aqua {
86
+ background-color: aqua;
87
+ }
88
+
@@ -0,0 +1,281 @@
1
+ @import url(doc.css);
2
+
3
+ body {
4
+ /* background: url(ecke_or.gif) top left no-repeat; */
5
+ background-color: #eeeeee;
6
+ padding: 10px;
7
+ margin: 10px;
8
+ }
9
+
10
+ #pageFrame {
11
+ }
12
+ #pageNavigation {
13
+ vertical-align: middle;
14
+ padding: 0 10px 0 10px;
15
+ margin: 0 10px 0 10px;
16
+ }
17
+ #pageBodyFrame {
18
+ margin: 0;
19
+ padding: 0;
20
+ }
21
+ #pageBodyText {
22
+ text-align: left;
23
+ vertical-align: top;
24
+ padding: 0 10px 0 10px;
25
+ margin: 0 10px 0 10px;
26
+ }
27
+ div.pagebody {
28
+ /* border-left: 1px solid #aaaaaa; */
29
+ /* border: 1px solid #aaaaaa; */
30
+ border-left: 1px solid #aaaaaa;
31
+ border-bottom: 1px solid #aaaaaa;
32
+ border-right: 1px solid #aaaaaa;
33
+ min-height: 500px;
34
+ background-color: #ffffff;
35
+ }
36
+
37
+ .navbar, .navmenu, .navgo {
38
+ vertical-align: middle;
39
+ border: 0;
40
+ margin: 0;
41
+ padding: 0;
42
+ background-color: #eeeeee;
43
+ /* opacity: 0.8; */
44
+ }
45
+ table.navbar {
46
+ width: 100%;
47
+ border: 0;
48
+ }
49
+ td.navbar {
50
+ vertical-align: middle;
51
+ text-align: center;
52
+ }
53
+ td.navmenu {
54
+ vertical-align: middle;
55
+ width: 80%;
56
+ text-align: left;
57
+ }
58
+ select.navmenu {
59
+ width:250px;
60
+ border:0;
61
+ padding: 2px;
62
+ /* background-color: #fff2df; */
63
+ }
64
+
65
+ h1, h2, h3, h4, h5, h6 {
66
+ background-color: #f5f5f5;
67
+ /* background-color: #eeeeee; */
68
+ color: #2f2f5f;
69
+ border: 1px solid #aaaaaa;
70
+ /* border: 0; */
71
+ /* border-top: 1px solid #ffffff; */
72
+ /* border-left: 1px solid #ffffff; */
73
+ /* border-right: 1px solid #aaaaaa; */
74
+ /* border-bottom: 1px solid #aaaaaa; */
75
+ margin: 0;
76
+ /* padding: 10px 10px 20px 10px; */
77
+ padding: 20px;
78
+ }
79
+ h1 {
80
+ font-size: 48px;
81
+ }
82
+ h2 {
83
+ font-size: 40px;
84
+ }
85
+ h3 {
86
+ font-size: 32px;
87
+ }
88
+ h4 {
89
+ font-size: 24px;
90
+ }
91
+ h5 {
92
+ font-size: 16px;
93
+ }
94
+ h6 {
95
+ font-size: 16px;
96
+ }
97
+
98
+ h1:before {
99
+ content: ": ";
100
+ }
101
+ h2:before {
102
+ content: ":: ";
103
+ }
104
+ h3:before {
105
+ content: "::: ";
106
+ }
107
+ h4:before {
108
+ content: ":::: ";
109
+ }
110
+
111
+ p, ul, ol, dl {
112
+ background: #ffffff;
113
+ /* margin: 0 10px 0 10px; */
114
+ margin: 0;
115
+ }
116
+ p {
117
+ padding: 5px 40px 5px 40px;
118
+ }
119
+ p.bib {
120
+ margin: 0;
121
+ /* padding: 0; */
122
+ text-indent: 0;
123
+ }
124
+
125
+ ul {
126
+ padding: 5px 40px 5px 40px;
127
+ }
128
+ ol {
129
+ padding: 5px 40px 5px 40px;
130
+ }
131
+ dl {
132
+ padding: 5px 40px 5px 25px;
133
+ }
134
+ dt {
135
+ padding: 2px 2px 2px 2px;
136
+ margin: 0;
137
+ }
138
+ dd {
139
+ padding: 2px 2px 2px 20px;
140
+ margin: 0;
141
+ }
142
+ li {
143
+ padding: 2px;
144
+ margin: 0;
145
+ }
146
+
147
+ .meinung {
148
+ position: absolute;
149
+ right: 50px;
150
+ }
151
+ span.redner {
152
+ font-weight: bold;
153
+ background-color: #2f2f5f;
154
+ color: #aaaaaa;
155
+ padding: 1px 5px 1px 5px;
156
+ font-family: Verdana, "Myriad Web", Syntax, sans-serif;
157
+ }
158
+ span.student {
159
+ color: #aaaaaa;
160
+ }
161
+ span.lehrer {
162
+ color: #b9dfff;
163
+ }
164
+ span.frage {
165
+ color: #ff7979;
166
+ }
167
+
168
+ span.highlight {
169
+ background-color: #ffffaf;
170
+ font-style: normal;
171
+ /* font-weight: bold; */
172
+ border: 1px dotted #cfcfff;
173
+ padding: 0 1px 0 1px;
174
+ }
175
+
176
+ div.title {
177
+ text-align: left;
178
+ padding: 20px;
179
+ margin: 0;
180
+ color: #2f2f5f;
181
+ /* background-color: #eeeeee; */
182
+ background-color: #f5f5f5;
183
+ border: 1px solid #aaaaaa;
184
+ /* border-top: 1px solid #ffffff; */
185
+ /* border-left: 1px solid #ffffff; */
186
+ /* border-right: 1px solid #aaaaaa; */
187
+ /* border-bottom: 1px solid #aaaaaa; */
188
+ /* border: 0; */
189
+ /* border-right: 1px solid #aaaaaa; */
190
+ /* border-bottom: 1px solid #aaaaaa; */
191
+ }
192
+ p.title, p.author, p.authornote, p.date {
193
+ /* background-color: #eeeeee; */
194
+ background-color: #f5f5f5;
195
+ }
196
+
197
+ div.toc, div.lot, div.lof {
198
+ margin: 0;
199
+ padding: 20px;
200
+ background: #ffffff;
201
+ border-left: 1px solid #aaaaaa;
202
+ border-bottom: 1px solid #aaaaaa;
203
+ border-right: 1px solid #aaaaaa;
204
+ }
205
+ ul.toc, ul.lot, ul.lof {
206
+ }
207
+ li.toc, li.lot, li.lof {
208
+ list-style-type : none;
209
+ padding: 1px;
210
+ }
211
+ div.Table_of_Contents {
212
+ margin: 0;
213
+ padding: 0;
214
+ }
215
+ blockquote {
216
+ margin: 0;
217
+ /* padding: 0; */
218
+ padding: 20px 0 20px 0;
219
+ background: #ffffff;
220
+ }
221
+
222
+ div.comment {
223
+ margin: 40px 80px 10px 80px;
224
+ color: #2f2f5f;
225
+ font-size: 80%;
226
+ line-height: 135%;
227
+ }
228
+ span.comment_author {
229
+ font-weight: bold;
230
+ }
231
+ span.comment_author:after {
232
+ content: ": ";
233
+ }
234
+ span.comment_subject {
235
+ font-weight: bold;
236
+ }
237
+ span.comment_date {
238
+ font-style: italic;
239
+ font-size: 70%;
240
+ }
241
+ div.comment_title {
242
+ }
243
+ div.comment_text {
244
+ margin: 0 0 0 20px;
245
+ }
246
+ div.comment_form {
247
+ margin: 80px 80px 5px 80px;
248
+ }
249
+ table.comment_form {
250
+ background-color: #eeeeee;
251
+ border: 0;
252
+ }
253
+ tr.comment_form {
254
+ background-color: #eeeeee;
255
+ border: 0;
256
+ }
257
+ td.comment_form {
258
+ background-color: #eeeeee;
259
+ color: #2f2f5f;
260
+ border: 0;
261
+ vertical-align: top;
262
+ font-size: 80%;
263
+ line-height: 135%;
264
+ }
265
+
266
+ input, textarea {
267
+ font-family: Georgia, Minion Web, Palatino, "Book Antiqua", Utopia, "Times New Roman", serif;
268
+ border: 1px solid #2f2f5f;
269
+ background-color: #fff2df;
270
+ font-size: 90%;
271
+ line-height: 135%;
272
+ }
273
+ button {
274
+ font-size: 90%;
275
+ line-height: 135%;
276
+ }
277
+
278
+ .background, .footer {
279
+ background-color: #eeeeee;
280
+ }
281
+
@@ -3,8 +3,8 @@
3
3
  # @Website: http://deplate.sf.net/
4
4
  # @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
5
5
  # @Created: 17-M�r-2004.
6
- # @Last Change: 2008-07-10.
7
- # @Revision: 0.4328
6
+ # @Last Change: 2008-07-18.
7
+ # @Revision: 0.4333
8
8
 
9
9
  # require 'cgi'
10
10
  require 'uri'
@@ -1216,20 +1216,18 @@ EOJS
1216
1216
  csso = @variables['css']
1217
1217
  if csso
1218
1218
  csss = Deplate::Core.split_list(csso, ',', ' ;', nil, nil)
1219
- csss.map! {|css| Deplate::Core.ensure_suffix(css, '.css')}
1220
1219
  else
1221
1220
  csss = []
1222
1221
  end
1223
1222
  cls = @variables['class']
1224
- if cls
1225
- csss << Deplate::Core.ensure_suffix(cls, '.css')
1226
- end
1223
+ csss << cls if cls
1227
1224
  acc = []
1228
1225
  if @deplate.variables['cssInclude']
1229
1226
  acc << %{<style type="text/css">} << %{<!--}
1230
1227
  end
1231
1228
  csss.each_with_index do | f, i |
1232
- css, media = f.split(/\|/)
1229
+ css, media = f.split(/\|/, 2)
1230
+ css = Deplate::Core.ensure_suffix(css, '.css')
1233
1231
  if css =~ /^\+/
1234
1232
  css = css[1..-1]
1235
1233
  with_title = false