Tweakblogs: een nieuw likje verf (code)

Door matroosoft op vrijdag 22 april 2016 14:11 - Reacties (0)
Categorie: -, Views: 1.486

Zoals beschreven in de vorige blog is er een karakterbeperking per blog. Daarom heb ik de code in deze tweede blog gepubliceerd. Veel plezier ermee! :)

Edit, 14-09-2016: Na de overgang naar https was de opmaak van de navigatielinkjes stuk. Bij deze gefixt.

Cascading Stylesheet:
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
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
/* HTML */
html{
background: #313232 !important; 
}
/* END HTML */

/* BODY */
body, input, h2, h1{
font-family: arial,helvetica,"Liberation Sans",sans-serif !important;
}

h2, h2 a{
color: #b9133c !important;
}
/* END BODY */

/* CONTAINER */
#container{
border: 0px !important;
width: 99.5% !important;
height: 100% !important;
background: #EDEEEE !important;
}
/* END CONTAINER */

/* NAVIGATIE */
#tweakblogsNav{
height: 67px !important;
background-image: url(https://static.tweakers.net/ext/f/ihJvCncBQc9T2IH6SlZKVp4G/full.png) !important;
background-repeat: repeat-x !important;
background-position: left top !important;
}

#tweakblogsNav ul{
margin: auto !important;
padding: 0 !important;
position: relative !important;
float: initial !important;
width: 980px !important;
}

#tweakblogsNav ul li{
margin: 0px !important;
display: inline !important;
}

#tweakblogsNav a[href="https://tweakblogs.net/"]:before{
content: "Wij stellen technologie op de proef";
color: lightgray;
}

#tweakblogsNav a[href="https://tweakblogs.net/"]::before{
position: relative;
top: 33px;
left: -650px;
font-family: "Roboto Condensed",arial,helvetica,"Liberation Sans",sans-serif;
font-size: 12px;
color: #b7b4b2;
letter-spacing: -0.7px;
pointer-events: none;
cursor: default;
}

#tweakblogsNav a[href="https://tweakblogs.net/"]:hover{
text-decoration: none !important;
}

#tweakblogsNav a[href="https://tweakblogs.net/"]{
position: relative;
float: right;
padding: 15.5px 10px;
letter-spacing: -0.1px;
text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
color: #ceeb54;
}

#tweakblogsNav a[href="https://tweakers.net/"]{
content: url("https://tweakimg.net/g/if/v3/framework/tweakers_logo_v2_x2.png") !important;
height: 38px;
padding: 3px 10px;
display: inline !important;
position: relative;
}

#tweakblogsNav a[href="https://tweakers.net/pricewatch/"], #tweakblogsNav a[href="https://gathering.tweakers.net/"]{
top: -17px;
position: relative;
padding: 13.5px 10px;
font-size: 14px;
letter-spacing: -0.1px;
text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
color: #EFEFEF;
}

#tweakblogsNav a[href="https://tweakers.net/pricewatch/"]:hover, #tweakblogsNav a[href="https://gathering.tweakers.net/"]:hover, #tweakblogsNav a[href="https://tweakers.net/"]:hover{
background-color: #813;
text-decoration: none;
}

div.logo{
display: none;
}

/* END NAVIGATIE */

/* BANNER */
#banner{
border-top: 1px solid lightgrey;
border-left: 1px solid lightgrey;
border-right: 1px solid lightgrey;
margin: 55px auto 0px;
width: 980px !important;
padding: 20px 39px 10px !important;
background: white !important;
}

#banner h1 a{
color: white !important;
pointer-events: none;
cursor: default;
}

#banner h1 a:hover{
text-decoration: none !important;
}

#banner h1 a:before{
content: "Tweakblogs"
}

#banner h1 a::before{
color: #b9133c !important;
font-family: "Roboto Condensed",arial,helvetica,"Liberation Sans",sans-serif !important;
font-weight: 400 !important;
font-size: 27px !important;
text-decoration: none;
}

#banner h1 a:after{
content: "Lees blogs van enthousiaste Tweakers.net leden"
}

#banner h1 a::after{
display: block;
font-size: 16px;
color: #000;
font-family: "Roboto Condensed",arial,helvetica,"Liberation Sans",sans-serif !important;
font-weight: 400 !important;
text-decoration: none;
line-height: 33px;
letter-spacing: -0.5px;
text-shadow: 0.1px 0.1px 0 rgba(0,0,0,0.3);
}
/* END BANNER */

/* BREADCRUMB */
.breadCrumb{
border-left: 1px solid lightgrey;
border-right: 1px solid lightgrey;
margin: auto !important;
width: 980px !important;
padding: 10px 39px !important;
border-bottom: 0px !important;
background: white !important;
}

.breadCrumb img{
display: none;
}
/* END BREADCRUMB */

/* PAGEBODY */
#pagebody{
border-left: 1px solid lightgrey;
border-right: 1px solid lightgrey;
border-bottom: 1px solid lightgrey;
margin-left: auto !important;
margin-right: auto !important;
margin-bottom: 10px !important;
width: 980px !important;
padding: 0px 39px 20px !important;
background: white !important;
}

.index .content {
width: 980px !important;
}

#columnFirst, #columnSecond, #columnThird {
width: 314px !important;
border-right: 0px !important;
padding-right: 0px !important;
}

table.flat {
border-spacing: 2px !important;
}

table.flat td {
font-size: 12px !important;
}

table.flat a, a[href="https://secure.tweakers.net/my.tnet/weblogs"]{
color: #014c93 !important;
text-decoration: none !important;
}

table.flat a:visited{
color: #79458c !important;
}

.authorname, .replies{
display: none !important;
}

.ellipsis {
    width: 270px !important;
}

a[href="https://tweakblogs.net/?extUpdate=1"], a[href="https://tweakblogs.net/?extPopular=1"], a[href="https://tweakblogs.net/?extNewest=1"]{
color: #014c93 !important;
background: url(http://tweakimg.net/g/icons/filter-arrow-right.png) no-repeat 0 !important;
font-size: 12px !important;
}
/* END PAGEBODY */

/* BOTTOM */
#bottom{
width: 980px !important;
}

.bulletSeparatedList{
font-size: 12px !important;
}

.colofon{
padding: 0 50px !important;
}

#about .wvhj{
content: url("https://tweakimg.net/g/if/v3/framework/logo2_wvhj2015.png");
top: 5px !important;
}

#about .social{
text-align: left !important;
padding: 10px 0;
}
/* END BOTTOM */

/* BLOGS SPECIFIC */
#banner h1, #banner .subtitle, .breadCrumb{
display: none;
}

#banner{
background: white;
background-size: 100%;
}

.blogpost h2{
font-size: 27px !important;
line-height: 33px !important;
font-weight: 400 !important;
}

.author, .author a{
color: #616464 !important;
font-size: 12px !important;
text-decoration: none !important;
}

.article{
font-size: 13px !important;
}

.content{
width: 620px !important;
border: 0px !important;
padding: 0px !important;
}

img[src="https://tweakimg.net/g/if/comments/editcomment.png"]{
float: right;
padding: 0 10px;
}

.sidebar{
width: 336px !important;
margin: 115px 0 0 24px !important;
border-top: 2px solid #bcbdbd;
font-size: 12px !important;
display: flex !important;
flex-direction: column !important;
}

.sidebar h4{
font-size: 19px !important;
line-height: 23px !important;
color: #b9133c !important;
font-weight: 400 !important;
padding: 10px 0 15px 0 !important;
margin: 0px !important;
}

.about{
order: 1 !important;
}

.recentPosts{
order: 2 !important;
border-top: 2px solid #bcbdbd;
}

.archives{
order: 3 !important;
}

.categories{
order: 4 !important;
border-top: 2px solid #bcbdbd;
}

.about, .recentPosts, .categories, .archives{
padding-bottom: 20px;
}

.sidebar li{
padding: 0px !important;
}

.sidebar li a{
color: #014c93 !important;
text-decoration: none !important;
}

.recentPosts li, .categories li, .archives li, .about li.user, .friends li{
background-image: none !important;
}

.categories li, .archives li{
padding: 0 0 0 20px !important;
}

.nextPrevious, .nextPrevious a{
    color: #014c93 !important;
    text-decoration: none !important;
}

img[src="https://tweakimg.net/g/bullets/arrow_up.gif"]{
content: url(https://tweakers.net/ext/f/VNbqBcVoUtiTA8YMNWFrN5Jy/full.png) !important;
width: 20px !important;
height: 15px !important;
}

img[src="https://tweakimg.net/g/bullets/arrow_down.gif"]{
content: url(https://static.tweakers.net/ext/f/UK5UqfZqmukDOl5AoEqA13Fe/full.png) !important;
width: 20px !important;
height: 15px !important;
}

#reacties{
padding-top: 15px;
border-top: 2px solid #bcbdbd;
}

#reacties h4{
color: #b9133c !important;
font-size: 19px !important;
line-height: 23px !important;
font-weight: lighter !important;
margin: 0 0 30px !important;
}

#reacties hr, #reacties br{
display: none !important;
}

.reactie{
margin: 0px !important;
border-left: 3px dotted #dddede !important;
padding: 0 0 10px 18px !important;
}

#reacties .ownreply {
background-color: white !important;
}

#reacties .ownreply .author, #reacties .ownreply .reactieContent{
background-color: #f3faf5 !important;
}

#reacties .author{
border: 1px solid #dddede !important;
padding: 10px 15px 0 !important;
border-bottom: 0px !important;
margin: 0px !important;
width: 565px !important;
}

#reacties .reactieContent{
border: 1px solid #dddede !important;
padding: 13px 15px 10px !important;
border-top: 0px !important;
width: 565px !important;
margin: 0px !important;
}

fieldset p{
display: none;
}

#reactieFormContentLabel{
padding: 5px 0 10px !important;
}

#reactieForm{
border-left: 3px dotted #dddede !important;
padding: 0 0 10px 18px !important;
width: 595px !important;
}

#reactieForm textarea[tabindex="4"]{
width: 560px !important;
border: 1px solid #dddede !important;
}

.rmlToolbarWrapper.vertical{
padding: 0px !important;
}

.submit:after{
content: url(https://tweakers.net/ext/f/7z4DVk8rtFnHotIlByRuI2Hg/full.png) !important;
width: 96px !important;
height: 26px !important;
pointer-events: none !important;
position: relative !important;
left: -99px !important;
}

.submit input{
pointer-events: auto !important;
width: 96px !important;
height: 26px !important;
}

.submit a{
display: none !important;
}
/* END BLOGS SPECIFIC */

Volgende: Tweakblogs: een nieuw likje verf 04-'16 Tweakblogs: een nieuw likje verf
Volgende: Even voorstellen & Mc Donald's fritessaus 02-'16 Even voorstellen & Mc Donald's fritessaus

Reacties

Er zijn nog geen reacties op deze post


Om te kunnen reageren moet je ingelogd zijn. Via deze link kun je inloggen als je al geregistreerd bent. Indien je nog geen account hebt kun je er hier één aanmaken.