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
159
160
161
162
163
164
165
166
167
168
169
170
|
/**
* @file clock/style.css
* @brief Default styles for the "clock" plugin
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Luis Machuca B. <luis.machuca@gulix.cl>
* @version 1.0
*/
/**
* This file sets the default style for the "clock" plugin.
* The CSS style applied to the clock is organized as follows:
*
* div#clock_object.classname - the container box.
* This is the virtual container. Most probably you don't want to
* put anyting in here, except margin/padding specificatios.
* 'classname' is the class name associated with thw style. You must
* copy and replace this parameter accordingly to create new styles.
*
* .face - the clock face
* face properties, such as font-size and color, should be set here.
* .info - the infopage wikilink
* this should be left empty unless you want to re-theme the link
* different from your wiki template
* .info > a:??? - the link
* put here CSS for effects on hover, visited, etc.
*
*/
/**
* Style #1 : default
* Description : a light-coloured wall-like clock
* Features : monospaced font, wide margin and dark borders,
* with the face colour following the template theme
*/
#dw_clock_object.default {
position: relative;
width: 120px;
margin-left: 6px;
margin-right: 6px;
border: 4px inset __text_alt__;
background-color: __background_alt__;
}
#dw_clock_object.default .face {
display: block;
font-family: monospace;
font-size: 1.5em;
text-align: center;
color: __text__;
}
#dw_clock_object.default .info {
float: right;
top: 1px;
margin-left: 4px;
margin-right: 0;
}
#dw_clock_object.default .info > a {
text-decoration: blink;
}
#dw_clock_object.default .info > a:visited {
text-decoration: none;
}
#dw_clock_object.default .info > a:hover {
background-color: __background_neu__;
border: 1px solid __text__;
}
/**
* Style #2 : unnamed
* Description : some description
* Features : a clock using a digital clock font in yellow face in a
* black background and minor shadow.
*/
/**
* Style #3 : tv24
* Description : "24"-like digital clock
* Features : a clock using a digital clock font with yellow face in a
* black background and a shadow; in absence of such
* font style the display downgrades to the
* defined-to-exist monospaced font.
*
* ---Warning---
* In order to achieve the desired effect, this style makes use of
* the "font-face" aspect of CSS specification, which may or may not be
* supported by your browser as of the time of release of this plugin.
* **Check the plugin page for support and indications**
*
* For full experience, it is _recommended_ that you download and install
* one of the indicated fonts using the instructions for your System.
*
* The full effect depends on the 'lcdd' font which is free for
* non-commercial use; if you don't feel comfortable with the license,
* you can omit this font and try the 'duxclock' font which is
* available as freeware.
* ---End Warning---
*/
/**
* Warning: the following style uses an online,
* free-for-noncommercial-use, Truetype font, from URW Software.
*/
@font-face {
font-family: lcdd;
src: url(http://informatica.temuco.udelmar.cl/~lmachuca/lcd.ttf);
}
/**
* Warning: the following style uses an online,
* freeware, Truetype font.
*/
@font-face {
font-family: "Digital Readout";
src: url(http://informatica.temuco.udelmar.cl/~lmachuca/digitalreadout/Digir___.ttf);
}
#dw_clock_object.tv24 {
position: relative;
margin-left: 5px;
margin-right: 5px;
}
#dw_clock_object.tv24 .face {
width: 75%;
min-width: 6em;
background-color: black;
border: 2px solid navy;
line-height: 20pt;
text-align: center;
font-family: "Digital Readout", "lcdd", monospace;
font-size: 14pt;
text-shadow: 2px 2px #404020;
letter-spacing: 0.2em;
color: yellow;
}
#dw_clock_object.tv24 .info {
position: absolute;
right: 0;
bottom: 0;
border: 2px solid black;
}
#dw_clock_object.tv24 .info:hover {
border: 2px solid __existing__;
}
|
|
|
>
<
|
|
|
|
|
|
<
<
>
|
<
<
<
<
<
<
<
|
>
>
>
>
>
>
>
>
>
|
>
<
|
|
<
|
<
|
<
|
<
<
<
<
|
|
>
<
<
<
<
<
|
>
>
>
>
>
>
|
>
>
>
>
|
<
>
>
|
>
>
>
|
|
|
<
>
>
|
>
>
|
|
>
>
>
>
>
>
|
>
>
|
<
<
<
<
<
<
>
|
<
|
|
<
|
|
<
|
<
|
<
|
<
<
|
|
|
>
|
|
|
|
<
<
|
|
<
<
<
<
|
<
<
<
<
|
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
|
/**
* @file clock/style.css
* @brief Default styles for the "clock" plugin
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Luis Machuca Bezzaza <luis.machuca [at] gulix.cl>
* @version 1.5
* @link http://www.dokuwiki.org/plugin:clock
*/
/* This file sets the default style for the "clock" plugin.
* Information available on wikipage.
*/
#dw_clock_object {
min-width: 6em;
padding: 0 2px;
}
/**
* ---------------------------------------------------------------------
* Style #0 : plain
* Description : pretty plain
* Features :
* With this style the face itself is not stulized, only some layout
* attributes are given as well as default style for the helpbar.
*/
#dw_clock_object .face.plain {
position: relative;
margin: 0 2em;
}
/**
* ---------------------------------------------------------------------
* Style #1 : default
* Description : a light-coloured wall-like clock
* Features : monospaced font, wide margin and dark borders,
* with the face colour following the template theme
*/
#dw_clock_object .face.default {
position: relative;
/*width: 120px;*/
margin: auto 6px;
}
#dw_clock_object .face.default {
display: block;
font-family: monospace;
font-size: 1.5em;
text-align: center;
color: __text__;
border: 4px inset __text_alt__;
background-color: __background_alt__;
}
/**
* ---------------------------------------------------------------------
* Style #2 : aradio
* Description : some description
* Features : a clock using a digital clock font in yellow face in a
* black background and minor shadow.
*
* ---Warning---
* This style makes use of CSS3 @font-face specification,
* which is only supported by decent (or incredible, like Opera) web browsers.
* **Check the plugin page for support and indications**
*
* For full experience, it is _recommended_ to make the typeface available
* to clients via a direct download link, and source that URL from here.
* Take into consideration the licensing of the typeface, and offer a
* fallback or switch if it is now available at last as Freeware.
* ---End Warning---
*/
@font-face {
font-family: 'Atomic Clock Radio';
src: local('Atomic Clock Radio');
/* src: url(path/to/your/copy/of/atomicclockradio.ttf) format('truetype'); */
}
#dw_clock_object .face.aradio {
padding: 4px;
padding-right: 1em;
background-color: #c4c8ee;
border: 2px solid #b6b6d8;
font-family: "Atomic Clock Radio", fantasy;
font-size: 14pt;
text-align: right;
letter-spacing: 0.6pt;
text-shadow: -2px 1px #884446;
color: #848861;
}
#dw_clock_object .face.aradio span.sep {
color: #808080;
font-weight: bold;
}
/**
* ---------------------------------------------------------------------
* Style #3 : tv24
* Description : "24"-like digital clock
* Features : a clock using a digital clock font with yellow face in a
* black background and a shadow, degrading to monospace
* if the digital clock is unavailable.
*
* ---Warning---
* This style makes use of CSS3 @font-face specification,
* which is only supported by decent (or incredible, like Opera) web browsers.
* **Check the plugin page for support and indications**
*
* For full experience, it is _recommended_ to make the typeface available
* to clients via a direct download link, and source that URL from here.
* Take into consideration the licensing of the typeface, and offer a
* fallback or switch if it is now available at last as Freeware.
* ---End Warning---
*/
/**
* Warning: this defines a Truetype typeface with the following license:
* free-for-noncommercial-use (URW Software).
*/
@font-face {
font-family: 'lcdd';
src: local('LCDd');
/* src: url(path/to/your/copy/of/lcd.ttf) format('truetype'); */
}
/**
* Warning: this defines a Truetype typeface with the following license:
* freeware (????).
*/
@font-face {
font-family: 'Digital Readout';
src: local('Digital Readout');
/* src: url(path/to/your/copy/of/digitalreadout.ttf) format('truetype'); */
}
#dw_clock_object .face.tv24 {
width: 75%;
min-width: 6em;
background-color: black;
border: 2px solid navy;
line-height: 20pt;
text-align: center;
font-family: "Digital Readout", "lcdd", monospace;
font-size: 14pt;
text-shadow: 2px 2px #404020;
letter-spacing: 0.2em;
color: yellow;
}
#dw_clock_object .face.tv24 .info {
position: absolute;
right: 0;
bottom: 0;
border: 2px solid black;
}
#dw_clock_object .face.tv24 .info:hover {
border: 2px solid __existing__;
}
/**
* ---------------------------------------------------------------------
* Style #4 : bluebox
* Description : "24"-like digital clock
* Features : a blue box with a white typeface, shadows.
*
*
* ---Warning---
* This style makes use of CSS3 @font-face specification,
* which is only supported by decent (or incredible, like Opera) web browsers.
* **Check the plugin page for support and indications**
*
* For full experience, it is _recommended_ to make the typeface available
* to clients via a direct download link, and source that URL from here.
* Take into consideration the licensing of the typeface, and offer a
* fallback or switch if it is now available at last as Freeware.
* ---End Warning---
*/
#dw_clock_object .face.bluebox {
width: 75%;
max-width: 8em;
background-color: #2222aa;
border: 4px solid navy;
border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px;
line-height: 20pt;
text-align: center;
font-family: "Liberation", "Helvetica", cursive;
font-size: 14pt;
text-shadow: -1px 2px #80c080;
text-shadow: 2px -1px #882222;
letter-spacing: 0.2em;
color: #e0f0e0;
}
/* ---------------------------------------------------------------------
* Helpbar styling
*/
#dw_clock_object p.helpbar {
margin: 0 2em;
padding: 0 0.5em;
background-color: __background_alt__;
border: 1px solid __existing__;
border-radius: 6px;
font-size: 90%;
}
|