-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
432 lines (343 loc) · 7.91 KB
/
Copy pathstyle.css
File metadata and controls
432 lines (343 loc) · 7.91 KB
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
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
@import url('https://fonts.googleapis.com/css?family=Days+One|Gloria+Hallelujah');
/* body fuer alles !*/
body{
font-family: Arial, Verdana;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
/* kopiert aus F12 Chrome */
article, footer, header, nav, section {
display: block;
}
footer {
/* sonst ist der footer im aside block rechts drin*/
clear: left;
padding: 20px;
}
/* main lieber nicht verwenden! IE 11 kommt damit nicht klar, lieber <div id="main"> */
main {
background-color: rgba(198, 213, 128, 0.43);
border: 2px solid yellowgreen;
/* SCHATTEN
box-shadow: 10px 5px 5px #5f5f5f;
*/
display: block;
float: left;
width:60%;
/*
min-width:100px;
max-width:1200px;
*/
margin-top:0;
margin-right:auto;
margin-left:10%;
margin-bottom: 0;
/* das padding vergroessert die widht von oben!! */
/* orul */
padding:20px;
/* die border-box verhindert die Vergroesserung beim Padding! */
box-sizing: border-box;
}
aside {
display: block;
float: right;
width:20%;
position: fixed; /* wie absolute */
right: 5%;
/*
bottom: 0%;
height: 80%;
*/
background: #95b1a9;
/* orul */
padding: 5px 2px 2px 15px;
margin-top: 5px;
/* die border-box verhindert die Vergroesserung beim Padding! */
box-sizing: border-box;
/* schatten */
box-shadow: 10px 5px 5px #5f5f5f;
font-family: 'Gloria Hallelujah', cursive;
}
aside ul {
margin: 0; /* chrome macht bei listenelementen oben ein rand, hiermit entfernen! */
/* orul */
padding: 0px 0px 5px 5px;
}
aside li {
/* orul */
margin: 0;
padding: 0px 0px 0px 0px;
list-style-type: none;
}
aside a {
text-shadow: 5px 5px 5px white;
text-decoration: none;
}
p{
color: saddlebrown;
font-size: 13px;
}
h2,h3,h4,h5{
color: #4c8b2b;
font-family: 'Days One', sans-serif;
}
h1{
color: #286609;
font-size: 28px;
font-family: 'Days One', sans-serif;
}
header {
background-color: lightgray;
height: 110px;
}
/* zugriff auf Class mit Punkt */
.header-elements {
width:80%;
/* orul */
margin: 0 auto 0 auto;
}
section {
background-color: #C6D580;
}
article {
background-color: rgba(153, 213, 177, 0.43);
/* das padding vergroessert die widht von oben!! */
/* orul */
padding: 10px 20px 10px 20px;
/* die border-box verhindert die Vergroesserung beim Padding! */
box-sizing: border-box;
}
a:hover {
text-decoration: none;
}
nav{
display:flex;
justify-content:center;
box-sizing:border-box;
}
nav ul {
display:inline-flex;
flex-direction:column;
list-style: none;
border-top: 0px solid #666;
margin-bottom: 15px;
flex-wrap:wrap;
/*transition-delay: 2s;*/
transition-duration: 0.5s;
transition-property: all;
margin:0;
padding: 0;
}
nav ul li {
border-bottom: 1px solid #666;
margin:0;
padding: 0;
}
nav ul li a, nav ul li a:link, nav ul li a:visited {
display: flex;
justify-content:flex-start;
text-decoration: none;
background: #000000;
color:#ffffff;
min-height: 28px;
padding:5px;
align-items:center;
}
nav ul li a:hover, nav ul li a:active, nav ul li a:focus {
background: #ADB96E;
color: #FFF;
}
nav ul ul{
/* unsichtbar */
opacity:0;
}
nav ul:hover ul, nav ul:focus ul{
/* sichtbar */
opacity: 1;
}
/* CSS SELECTORS : spezial-pseudo klassen, wie last-child, before, even, odd,...) */
nav ul ul li:last-child {
/* oder das x. Kind-Element: nth-child() */
/* koennte man verwenden fuer eine horizontale Menüleister, mit | getrennt (Border), aber das letzte am Schluss soll kein | enthalten */
text-decoration: dotted;
font-family: 'Gloria Hallelujah', cursive;
}
nav ul ul a:before {
/* kopiert von font-awesome F12 */
content: "\f0a9";
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
/* */
margin-right: 5px;
}
/* nur bei h oder p
nav ul ul li a:first-letter {
font-size: 3em;
font-family: 'Gloria Hallelujah', cursive;
}
*/
/* FontAwesome */
nav .fa{
font-size: 2em; /* oder <i class="fa fa-camera-retro fa-2x"></i> */
margin-right: 0.5em;
}
/* muss nicht mit DIV angesprochen werden, kann
direkt auf die ID losgehen */
#logo {
float: left;
/*
position: fixed;
left: -14px;
*/
}
/* der IE zeigt bei a tags auf images einen unschoenen Rand */
img {
border: none;
}
/* responsive BREAKPOINTS mit Media Queries */
/* ------ spezial, falls device zu klein und die Seite schlecht aussieht -------- */
/* kann man gut mit Chrome Testen - iphone oder responsive simulieren, rechts obeb "show device frame" auswaehlen */
@media (min-device-width: 30px) and (max-device-width: 380px ){
#logo img {
width: 50px;
height: auto;
}
aside {
position: relative;
right: auto;
top: auto;
width: 100%;
}
/* ------------------------------------------------- */
/* Spalten fuer kleine geraete */
/* ------------------------------------------------- */
.spalten {
column-count: 1;
}
}
@media (min-device-width: 381px) and (max-device-width: 500px ){
#logo img {
width: 250px;
height: auto;
}
aside {
position: relative;
right: auto;
top: auto;
width: 100%;
}
}
/* ------------------------------------------------- */
/* formular */
/* ------------------------------------------------- */
/* formular elemente mit flex positionieren */
form {
display: flex;
flex-direction: column;
max-width: 900px;
margin: 20px auto;
box-sizing: border-box;
}
.form-element-group {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: flex-start; /* damit richtet sich das Input Feld dem Label an */
margin-bottom: 7px;
/* flex-direction: row-reverse; */
}
.names input {
font-weight: bold;
}
label {
/* einfache loesung ohne flexbox, einfach alles 100% (label und input) */
/* width: 100%; */
flex-grow: 1;
}
label, input {
width: 48%;
flex-basis: auto;
border-radius: 5px;
}
input[type=submit] {
width: 99%;
background:none;
background-color: #7ebbec;
padding:10px;
margin-top: 10px;
}
fieldset {
margin-bottom: 15px;
/*
border: none;
*/
}
label.required{
flex-basis: 2px;
margin-left: 2px;
}
input:focus{
border:3px solid #5051ff;
}
input:required + label:after {
content: '*';
}
input:required {
border-color: #88a;
-webkit-box-shadow: 0 0 5px rgba(0, 0, 255, .5);
-moz-box-shadow: 0 0 5px rgba(0, 0, 255, .5);
-o-box-shadow: 0 0 5px rgba(0, 0, 255, .5);
-ms-box-shadow: 0 0 5px rgba(0, 0, 255, .5);
box-shadow: 0 0 5px rgba(0, 0, 255, .5);
}
.superout{
margin-right: 8px;
}
.disclaimer{
margin-top: 15px;
font-size: 10px;
}
/*
input {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
border:1px solid #ccc;
font-size:20px;
width: 100%;
min-height:30px;
display:block;
margin-bottom:15px;
margin-top:5px;
outline: none;
}
input[type=submit] {
background:none;
background-color: #7ebbec;
padding:10px;
}
.names input {
font-weight: bold;
}
fieldset {
margin-bottom: 15px;
}
*/
/* ------------------------------------------------- */
/* Spalten fuer Browser (gross) */
/* ------------------------------------------------- */
.spalten {
column-count: 3;
column-gap: 20px; /* Abstand zwischen den Spalten */
column-rule: 1px dotted gray; /* Trenner zwischen den Spalten | */
margin-bottom: 30px;
column-width: 150px;
}
.spalten::selection {
background: yellow;
}
/* VIDEO */
video {
width: 100%;
max-width: 560px; /* ruler benuetzen um groesse festzustellen */
}