-
Notifications
You must be signed in to change notification settings - Fork 1
/
piccolo2d.css
280 lines (232 loc) · 5.08 KB
/
piccolo2d.css
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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
/*
All CSS for: http://www.piccolo2d.org/
@import "layout.css";
@import "color-logo.css";
*/
/*******************************************************************************
http://www.piccolo2d.org/layout.css
*******************************************************************************/
/**********************************************************
**** element defaults *************************************
**********************************************************/
body {
font-size: 100%;
font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
}
h1 {
font-size: 160%;
}
h2 {
font-size: 120%;
}
h3 {
font-size: 110%;
font-weight: bold;
}
ol {
list-style-type: lower-alpha;
}
pre {
margin: 0.5em;
padding: 0.5em;
font-family: 'Courier New', Courier, monospace;
font-size: 100%;
}
code {
font-family : 'Courier New', Courier, monospace;
font-size: 110%;
}
dt {
font-weight: bold;
}
a img {
border: 0;
}
/**********************************************************
**** special logical blocks *******************************
**********************************************************/
.preamble {
font-style: italic;
}
p.image {
font-style: italic;
text-align: center;
}
.background {
position: relative;
z-index: 0;
}
.selected {
/* make a link look like ordinary text to mark the currently active selection */
color: black;
text-decoration: none;
font-weight: bold;
}
/**********************************************************
**** navigation & main area *******************************
**********************************************************/
#navigation {
/* font-size: 0.91em; */
float: left;
width: 15em;
margin: 0.0em 0;
padding: 0.25em;
position: relative;
z-index: 10;
/* a little less saturation than atom blue */
background-color: #aecde3;
border: 1px solid #69c;
}
#navigation ul {
margin: 0;
padding: 0 1em;
font-size: 120%;
}
#navigation ul ul {
padding-left: 1em;
font-size: 90%;
line-height: 130%;
}
#navigation ul li {
list-style: none;
margin: 0;
padding: 0;
}
#navigation .header {
margin: 0 0 2em 0;
padding: 0 1em;
}
#main {
margin: 0;
padding: 0 0.5em 0.1em 0.5em;
margin-left: 16em;
min-width: 16em; /* Mindestbreite (der Ueberschrift) verhindert Anzeigefehler in modernen Browsern */
position: relative;
z-index: 10;
}
#main-head {
margin: 0 -0.5em 0.25em -0.5em;
padding: 0.5em 0.5em 0.25em 0.5em;
position: relative;
}
#main-head h1 {
margin-top: 0;
}
/**********************************************************
**** code snippets & toggling *****************************
**********************************************************/
/* Display code snippets in multiple, switcheable languages.
Typical usage:
<p class="toggle">
<a id="jlink$$$" class="toggle selected"
onmousedown="swapSections('csharp', 'java', 'clink', 'jlink');"
href="javascript:void(0);">Java</a> | <a id="clink$$$"
onmousedown="swapSections('java', 'csharp', 'jlink', 'clink');"
href="javascript:void(0);">C#</a>
</p>
<div class="snippet" id="snippet$$$">
<pre class="snippet java" id="java$$$">
...
</pre>
<pre class="snippet csharp" id="csharp$$$">
...
</pre>
</div>
*/
.snippet {
margin: 0;
}
.snippet.java {
position: absolute;
visibility: visible;
}
.snippet.csharp {
position: relative;
visibility: hidden;
}
/* Typical toggle usage:
<p class="toggle">
<a id="jlink0" class="toggle selected"
onmousedown="swapSections('csharp', 'java', 'clink', 'jlink');"
href="javascript:void(0);">Java</a> | <a id="clink0"
onmousedown="swapSections('java', 'csharp', 'jlink', 'clink');"
href="javascript:void(0);">C#</a>
</p>
*/
.toggle {
margin: 0;
padding: 0;
}
.toggle.selected {
text-decoration: none;
font-weight: normal;
}
/*******************************************************************************
http://www.piccolo2d.org/color-logo.css
*******************************************************************************/
/*
Color scheme based on the logo colors:
atom blue: #8abee3
atom grey: #b5b5b5
text red: #f11414
text grey: #737373
*/
body {
color: black;
/* atom grey */
background-color: #eeeeee;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
em {
color: #333;
font-weight: bold;
}
.selected {
/* make a link look like ordinary text to mark the currently active selection */
color: black;
}
#main {
/* a little less saturation than atom blue */
background-color: #aecde3;
/*background-color: #dddddd;*/
border: 1px solid #69c;
}
#main a {
text-decoration: underline;
}
#main {
line-height: 1.25em;
}
#main-head {
/* atom blue */
background-color: #8abee3;
border-bottom: 1px solid #69c;
}
.snippet {
/* a little less value than atom blue */
background-color: #82b3d6;
}
table#impressions {
clear: both;
float: right;;
}
table#impressions td {
padding: 1em;
}
.bugreport {
margin-bottom: 0;
position: relative;
padding: 0 1em;
top: 3em;
text-align: right;
}
.bugreport a {
}
.validators {
display: none;
}