Skip to content

Commit f3c96e1

Browse files
authored
Merge pull request #172 from selfthinker/small-fixes
Small fixes
2 parents 04df592 + 8cb0507 commit f3c96e1

File tree

6 files changed

+31
-25
lines changed

6 files changed

+31
-25
lines changed

all.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Screen and Print Styles for the Wrap Plugin
2323
/* emulate a bigger headline with a bottom border */
2424
.plugin_wrap.wrap__emuhead em strong em.u {
2525
font-size: 115%;
26-
border-bottom: 1px solid __border__;
26+
border-bottom: 1px solid @ini_border;
2727
font-style: normal;
2828
text-decoration: none;
2929
display: block;
@@ -261,7 +261,7 @@ span.wrap_round {
261261
********************************************************************/
262262

263263
.wrap_lo {
264-
color: __text_neu__;
264+
color: @ini_text_neu;
265265
font-size: 85%;
266266
}
267267
.wrap_em {
@@ -342,7 +342,7 @@ div.wrap_spoiler {
342342
.wrap_button a:link,
343343
.wrap_button a:visited {
344344
background-image: none;
345-
border: 1px solid __border__;
345+
border: 1px solid @ini_border;
346346
border-radius: .3em;
347347
padding: .5em .7em;
348348
text-decoration: none;

example.txt

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -191,43 +191,43 @@ Center aligned text ...
191191

192192
<WRAP info 300px left>
193193
=== Info ===
194-
<WRAP info></WRAP>
194+
%%<WRAP info></WRAP>%%
195195
</WRAP>
196196

197197

198198
<WRAP tip 300px left>
199199
=== Tip ===
200-
<WRAP tip></WRAP>
200+
%%<WRAP tip></WRAP>%%
201201
</WRAP>
202202

203203

204204
<WRAP important 300px left>
205205
=== Important ===
206-
<WRAP important></WRAP>
206+
%%<WRAP important></WRAP>%%
207207
</WRAP>
208208

209209

210210
<WRAP alert 300px left>
211211
=== Alert ===
212-
<WRAP alert></WRAP>
212+
%%<WRAP alert></WRAP>%%
213213
</WRAP>
214214

215215

216216
<WRAP round help 300px left>
217217
=== Help ===
218-
<WRAP round help></WRAP>
218+
%%<WRAP round help></WRAP>%%
219219
</WRAP>
220220

221221

222222
<WRAP download 300px left>
223223
=== Download ===
224-
<WRAP download></WRAP>
224+
%%<WRAP download></WRAP>%%
225225
</WRAP>
226226

227227

228228
<WRAP todo 300px left>
229229
=== Todo ===
230-
<WRAP todo></WRAP>
230+
%%<WRAP todo></WRAP>%%
231231
</WRAP>
232232

233233

@@ -236,29 +236,31 @@ Center aligned text ...
236236

237237
**Safety Notes:**
238238

239+
Best only use simple markup in safety notes.
240+
239241
<WRAP danger 30% left>
240242
=== Danger ===
241-
<WRAP danger></WRAP>
243+
%%<WRAP danger></WRAP>%%
242244
</WRAP>
243245

244246
<WRAP warning 30% left>
245247
=== Warning ===
246-
<WRAP warning></WRAP>
248+
%%<WRAP warning></WRAP>%%
247249
</WRAP>
248250

249251
<WRAP caution 30% left>
250252
=== Caution ===
251-
<WRAP caution></WRAP>
253+
%%<WRAP caution></WRAP>%%
252254
</WRAP>
253255

254256
<WRAP round notice 30% left>
255257
=== Notice ===
256-
<WRAP round notice></WRAP>
258+
%%<WRAP round notice></WRAP>%%
257259
</WRAP>
258260

259261
<WRAP round safety 30% left>
260262
=== Safety ===
261-
<WRAP round safety></WRAP>
263+
%%<WRAP round safety></WRAP>%%
262264
</WRAP>
263265

264266
<WRAP clear />

pdf.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ Styles used in PDFs by the DW2PDF plugin (in addition to all.css, and
33
the DW2PDF plugin also includes style.css via the 'usestyles' option)
44
********************************************************************/
55

6-
.dokuwiki {
7-
86
@import 'print_or_pdf.less';
97

8+
.dokuwiki {
9+
1010
/*____________ only print ____________*/
1111
/* due to including style.css, these need to be overwritten again */
1212

print.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
Print Styles for the Wrap Plugin (additional to all.css)
33
********************************************************************/
44

5-
.dokuwiki {
6-
75
@import 'print_or_pdf.less';
86

7+
.dokuwiki {
8+
99
/* boxes and notes with icons
1010
********************************************************************/
1111

print_or_pdf.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Styles shared between print.css and pdf.css
33
********************************************************************/
44

5+
.dokuwiki {
6+
57
/* miscellaneous
68
********************************************************************/
79

@@ -23,3 +25,5 @@ Styles shared between print.css and pdf.css
2325
.wrap_noprint {
2426
display: none;
2527
}
28+
29+
} /* /.dokuwiki */

style.less

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Screen Styles for the Wrap Plugin (additional to all.css)
88
********************************************************************/
99

1010
.wrap_box {
11-
background: __background_alt__;
12-
color: __text__;
11+
background: @ini_background_alt;
12+
color: @ini_text;
1313
}
1414
div.wrap_box,
1515
div.wrap_danger,
@@ -179,8 +179,8 @@ span.wrap_download { background-image: url(images/note/16/download.png); }
179179
/*____________ spoiler ____________*/
180180

181181
.wrap_spoiler {
182-
background-color: __background__ !important;
183-
color: __background__ !important;
182+
background-color: @ini_background !important;
183+
color: @ini_background !important;
184184
border: 1px dotted red;
185185
}
186186

@@ -201,15 +201,15 @@ span.wrap_download { background-image: url(images/note/16/download.png); }
201201

202202
.wrap_button a:link,
203203
.wrap_button a:visited {
204-
background-color: __background_alt__;
204+
background-color: @ini_background_alt;
205205
}
206206
.wrap_button a:link:hover,
207207
.wrap_button a:visited:hover,
208208
.wrap_button a:link:focus,
209209
.wrap_button a:visited:focus,
210210
.wrap_button a:link:active,
211211
.wrap_button a:visited:active {
212-
background-color: __background_neu__;
212+
background-color: @ini_background_neu;
213213
}
214214

215215
} /* /.dokuwiki */

0 commit comments

Comments
 (0)