This repository has been archived by the owner on Apr 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
application.css.sass
685 lines (534 loc) · 10.5 KB
/
application.css.sass
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
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
// Compass imports
@import compass
@import compass/reset
@import blueprint/typography
// Variables
$hover-color: #ec1d25 // Light red
$bg-color: #333 // Dark grey
$light-color: #eee // Light grey
// Mixins
=hide
left: -9999px
position: absolute
=data-uri-bg($image, $properties: false)
@if $properties != false
background: inline-image($image) $properties
*background: url($image) $properties
@else
background: inline-image($image)
*background: url($image)
// Styling
html
background-color: #222
body
+blueprint-typography-body(14px)
color: $bg-color
+data-uri-bg('bg_body.jpg', $bg-color)
body,
input
font-family: "Helvetica Neue", Helvetica, Arial, freesans, clean, sans-serif
h1,
h2,
h3
font-weight: 900
h1
font-size: 24px
h2
font-size: 22px
h3
font-size: 20px
a
font-weight: 900
color: #b1342a
text-decoration: none
&:hover
color: $hover-color
cursor: pointer
a.button,
input[type="submit"]
display: block
text-align: center
background-color: $bg-color
margin-top: 20px
padding: 20px
font-weight: 500
font-size: 18px
font-weight: 900
color: #ccc
+border-radius(2px)
+box-shadow(0 -1px 0 #fff, 0 1px 0 #000)
&:hover
color: $light-color
span
display: block
font-weight: 500
font-size: 12px
input[type="submit"]
border: none
display: block
width: 100%
&:hover
cursor: pointer
img.gravatar
width: 20px
height: 20px
border: 1px solid #ddd
vertical-align: middle
#profile
margin-top: 10px
#avatar
position: relative
margin: 0 20px 20px 0
float: left
img.gravatar
width: 220px
height: auto
#medals
position: absolute
bottom: 0
right: 5px
h3
margin: 10px 0
clear: both
p
margin: 10px 0
form
margin: 10px 0 0 0
textarea,
input[type="text"]
width: 96.55174%
padding: 1.72413%
border: 1px solid #ddd
font-size: 14px
margin: 10px 0
textarea
height: 200px
input[type="text"]
font-size: 24px
#notice, #alert
+border-radius(2px)
padding: 10px
margin: 10px 0 20px 0
#notice
background-color: #ccffcc
border: 1px solid #bbffbb
#alert
background-color: #ffcccc
border: 1px solid #ffbbbb
#header
text-align: center
margin: -70px auto 25px
h1 a
width: 400px
height: 285px
display: block
margin: 0 auto
+hide-text
+data-uri-bg("logo.jpg", center no-repeat)
h1 a
height: 75px
background-size: 75%
p
margin: -68px 0 0
font-family: "Courier New", Courier, monospace
font-size: 13px
color: #888
-webkit-text-size-adjust: none
span
font-size: 14px
color: #888
font-weight: 900
text-shadow: 0 1px 1px #000
#wrapper
margin: auto
max-width: 900px
min-width: 660px
padding: 10px
position: relative
#adzerk_ad_div
color: #666
font-size: 70%
line-height: 120%
position: absolute
top: 203px
right: 0
width: 120px
@media screen and (max-width: 940px)
display: none
img
+border-radius(2px)
#container
background: $light-color
padding: 0px 20px 20px 20px
margin: 0 auto
+border-radius(2px)
+box-shadow(0 0px 5px #000)
width: 620px
&.home
background-image: asset_url('steven.jpg', image)
background-repeat: no-repeat
nav
height: 200px
background-color: transparent
.tip a
font-size: 100%
nav
margin-bottom: 20px
background: $bg-color
margin: 0px -20px 20px -20px
padding: 10px 20px
overflow: hidden
li
height: 20px
float: left
margin-right: 15px
text-shadow: 0 1px 5px #000
color: $light-color
&.user
float: right
margin: 0
a
color: $light-color
#main
clear: both
#entries li.entry
margin: 20px 0
background-repeat: no-repeat
background-position: top right
form
textarea
height: 100px
fieldset
padding: 0 20px
display: inline-block
background: inline-image("happyface.png") right no-repeat, inline-image("sadface.png") left no-repeat
*background: asset_url("happyface.png", image) right no-repeat, asset_url("sadface.png", image) left no-repeat
input[type="submit"]
margin: 0
span.entries_left
float: right
#entries li.voted
a.extend
&:hover
cursor: pointer
#entries.voting_box
position: absolute
left: 50%
top: 60px
width: 820px
margin: 0 0 0 -410px
z-index: 10
li
padding: 10px 20px 20px 20px
a.vote
margin: 20px 0
.gold
background-image: asset_url('gold.png', image)
.silver
background-image: asset_url('silver.png', image)
.bronze
background-image: asset_url('bronze.png', image)
#contests, #entries, #articles
margin-bottom: -20px
#container.home
background-image: asset_url('steven.jpg', image)
background-repeat: no-repeat
nav
height: 200px
background-color: transparent
.tip a
font-size: 100%
#contests
margin-bottom: -10px
#entries, #articles
margin-bottom: -20px
#contests .box,
.message,
#articles li
padding: 10px
.contestants
margin-top: 10px
#entries li.entry,
.contestants li
padding: 10px
#contests .box,
#entries li.entry,
.message,
#articles li
background-color: #ddd
+border-radius(2px)
+box-shadow(0 -1px 0 #ccc, 0 1px 0 #fff)
#contests .box,
@include border-radius(2px)
@include box-shadow(0 -1px 0 #ccc, 0 1px 0 #fff)
.tip
margin-bottom: 20px
background-color: #dde6ee
a
font-size: 12px
#contests .box,
#entries li.entry,
#articles li,
#contests .box
margin-bottom: 20px
.description
float: left
width: 370px
.comments
margin: 10px 0 0 0
font-size: 12px
div
background-color: $light-color
padding: 10px
margin-bottom: 10px
+border-radius(2px)
.state
text-align: right
width: 210px
float: right
font-size: 24px
font-weight: 900
span
display: block
.time_left,
.next_state
font-size: 18px
font-weight: 500
.next_state
font-size: 10px
ol.winners
margin-top: 10px
float: right
li
position: relative
float: left
margin-left: 10px
width: 60px
img.gravatar
width: 100%
height: auto
img.medal
position: absolute
bottom: 5px
right: 0
.submitted_entries
font-weight: 900
clear: both
#contests .box
min-height: 117px
#contest_description
img
float: left
margin: 10px 10px 10px 0
@media screen and (max-width: 460px)
width: 100%
form ul
margin-bottom: 0
.filename
background-color: $light-color
color: #666
font-size: 12px
padding: 5px 10px
margin: 10px 0 0 0
font-family: monospace
+border-top-left-radius(2px)
+border-top-right-radius(2px)
.files
height: 120px
overflow: hidden
margin-bottom: 10px
position: relative
div
height: auto
a.extend
bottom: 0px
padding: 20px 0 10px 10px
height: 20px
position: absolute
width: 100%
+data-uri-bg("gradient.png", no-repeat)
span
display: none
&:hover a span
display: block
.highlight, .markup, .image
background: #fff
overflow-x: auto
overflow-y: hidden
padding: 10px
+border-bottom-left-radius(2px)
+border-bottom-right-radius(2px)
height: 100px
hr
visibility: hidden
clear: both
strong
font-weight: 900
#footer
width: 660px
margin: 0 auto
color: #666
overflow: hidden
a
color: $light-color
&:hover
color: $hover-color
#fork_submit
float: right
margin: 10px 5px 0 0
li
float: left
margin-left: 8px
list-style: disc inside
&:first-child
margin-left: 0
list-style: none
.host
span
font-size: 10px
padding-left: 5px
a
height: 28px
width: 73px
display: block
+hide-text
+data-uri-bg("6sync.png", no-repeat)
em
font-style: italic
form#submissions ul, form#new_entry ul, div#rules ul
list-style: disc inside none
li
margin: 10px
span#who
color: $light-color
text-shadow: 0 1px 10px #000
display: none
font-size: 10px
line-height: 10px
font-style: italic
font-family: Palatino, Georgia, "Times New Roman", serif
text-align: right
position: absolute
top: 280px
right: 30px
em
font-size: 11px
display: block
font-style: normal
div.overlay
top: 0
left: 0
width: 100%
height: 100%
position: fixed
background-color: #000
opacity: 0.75
table
margin: 10px 0
width: 100%
td
padding: 5px 10px
border-top: 1px solid #ddd
border-bottom: 1px solid #ddd
&.center
text-align: center
&.narrow
width: 1px
thead td
font-size: 80%
color: #444
border: none
tr.top3 img.gravatar
width: 40px
height: auto
.box,
.tip
padding: 10px
margin-bottom: 20px
background-color: #ddd
+border-radius(2px)
+box-shadow(0 -1px 0 #ccc, 0 1px 0 #fff)
#contests
overflow: hidden
article
position: relative
padding: 10px 220px 10px 10px
.comments
margin: 10px 0 0 0
font-size: 12px
div
background-color: $light-color
padding: 10px
margin-bottom: 10px
+border-radius(2px)
.state
width: 210px
top: 10px
right: 10px
position: absolute
text-align: right
font-size: 24px
font-weight: 900
span
display: block
.time_left,
.next_state
font-size: 18px
font-weight: 500
.next_state
font-size: 10px
.tip
background-color: #dde6ee
a
font-size: 12px
footer#submitter
font-size: 12px
color: #666
.box,
.tip
padding: 10px
margin-bottom: 20px
background-color: #ddd
+border-radius(2px)
+box-shadow(0 -1px 0 #ccc, 0 1px 0 #fff)
#contests
overflow: hidden
article
position: relative
padding: 10px 220px 10px 10px
.comments
margin: 10px 0 0 0
font-size: 12px
div
background-color: $light-color
padding: 10px
margin-bottom: 10px
+border-radius(2px)
.state
width: 210px
top: 10px
right: 10px
position: absolute
text-align: right
font-size: 24px
font-weight: 900
span
display: block
.time_left,
.next_state
font-size: 18px
font-weight: 500
.next_state
font-size: 10px
.tip
background-color: #dde6ee
a
font-size: 12px
footer#submitter
font-size: 12px
color: #666
blockquote
font-family: Georgia, serif
font-style: italic
@import gust
@import code