quotation-marks 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,650 @@
1
+ @charset "utf-8";
2
+
3
+ @import "compass";
4
+ @import "compass-placeholders";
5
+ @import "quotation-marks";
6
+ @import "github-badge";
7
+
8
+ @import "github-buttons";
9
+
10
+
11
+ //// SPRITES ////
12
+
13
+ $logos-spacing: 70px;
14
+ $logos-align: 50%;
15
+ @import "logos/*.png";
16
+
17
+
18
+ //// METRICS ////
19
+
20
+ $page-width: 600px;
21
+
22
+
23
+ //// COLORS ////
24
+
25
+ $black: black;
26
+ $white: white;
27
+ $gold: #E0CD80;
28
+
29
+ //// RESET ////
30
+
31
+ * {
32
+ border: none;
33
+ border-collapse: collapse;
34
+ border-spacing: 0;
35
+ color: inherit;
36
+ display: inline;
37
+ font-size: inherit;
38
+ font-style: inherit;
39
+ font-weight: inherit;
40
+ line-height: inherit;
41
+ list-style: none;
42
+ margin: 0;
43
+ padding: 0;
44
+ text-align: inherit;
45
+ text-decoration: none;
46
+ vertical-align: baseline;
47
+ @include box-sizing(border-box);
48
+ }
49
+
50
+ head,
51
+ script,
52
+ style {
53
+ display: none;
54
+ }
55
+
56
+
57
+ //// EXTENDABLES ////
58
+
59
+ %block {
60
+ display: block;
61
+ margin: auto;
62
+ max-width: $page-width;
63
+ }
64
+
65
+ %headline-font {
66
+ font-family: "ambroise-firmin-std", serif;
67
+ }
68
+
69
+
70
+ //// LAYOUT ////
71
+
72
+ .layout {
73
+ background: white;
74
+ font-family: "tablet-gothic", sans-serif;
75
+ font-size: 14px;
76
+ }
77
+
78
+
79
+ //// HEADER ////
80
+
81
+ @include keyframes(header--name-before) {
82
+ 0%, 19% {
83
+ text-indent: 0;
84
+ width: 56px;
85
+ @include transform(rotateZ(0deg));
86
+ }
87
+ 20%, 39% {
88
+ color: $gold;
89
+ text-indent: 0;
90
+ @include transform(rotateZ(-180deg) translateY(-15px));
91
+ }
92
+ 39.2% {
93
+ color: $white;
94
+ @include transform(rotateZ(-180deg) translateY(-15px));
95
+ }
96
+ 39.8% {
97
+ color: $white;
98
+ @include transform(rotateZ(-180deg) translateY(-48px));
99
+ }
100
+ 40%, 59% {
101
+ color: $gold;
102
+ text-indent: -0.35em;
103
+ @include transform(rotateZ(-180deg) translateY(-48px));
104
+ }
105
+ 60%, 79% {
106
+ color: $gold;
107
+ text-indent: -0.35em;
108
+ width: 56px;
109
+ @include transform(rotateZ(0deg) translateY(6px));
110
+ }
111
+ 79.2%, 79.8% {
112
+ color: $white;
113
+ }
114
+ 80%, 100% {
115
+ color: $gold;
116
+ text-indent: -28px;
117
+ width: 28px;
118
+ @include transform(rotateZ(0deg));
119
+ }
120
+ }
121
+
122
+ @include keyframes(header--name-after) {
123
+ 0%, 19% {
124
+ width: 19px;
125
+ @include transform(rotateZ(0deg));
126
+ }
127
+ 20%, 39% {
128
+ color: $gold;
129
+ text-indent: 0;
130
+ @include transform(rotateZ(180deg) translateX(3px) translateY(3.5px));
131
+ }
132
+ 39.2% {
133
+ color: $white;
134
+ @include transform(rotateZ(180deg) translateX(3px) translateY(3.5px));
135
+ }
136
+ 39.8% {
137
+ color: $white;
138
+ @include transform(rotateZ(180deg) translateX(-3px) translateY(-43px));
139
+ }
140
+ 40%, 59% {
141
+ color: $gold;
142
+ text-indent: -0.35em;
143
+ @include transform(rotateZ(180deg) translateX(-3px) translateY(-43px));
144
+ }
145
+ 60%, 79% {
146
+ color: $gold;
147
+ text-indent: -0.35em;
148
+ width: 19px;
149
+ @include transform(rotateZ(0deg) translateY(1px));
150
+ }
151
+ 79.2%, 79.8% {
152
+ color: $white;
153
+ }
154
+ 80%, 99.8% {
155
+ color: $gold;
156
+ text-indent: 0;
157
+ width: 9px;
158
+ @include transform(rotateZ(0deg));
159
+ }
160
+ }
161
+
162
+ .header {
163
+ @extend %block;
164
+ @extend %headline-font;
165
+ padding: 50px 0;
166
+ text-align: center;
167
+ }
168
+
169
+ .header--name {
170
+ background: inline-image("sass.svg") no-repeat center;
171
+ display: inline-block;
172
+ font-size: 50px;
173
+ letter-spacing: 1.7px;
174
+ position: relative;
175
+ white-space: nowrap;
176
+
177
+ @media all and (max-width: #{$page-width}) {
178
+ line-height: 120px;
179
+ white-space: normal;
180
+ }
181
+
182
+ &::before {
183
+ color: $gold;
184
+ content: "“»";
185
+ font-size: 150px;
186
+ overflow: hidden;
187
+ position: absolute;
188
+ right: 100%;
189
+ white-space: nowrap;
190
+ width: 56px;
191
+ @include animation(header--name-before 20s infinite);
192
+
193
+ @media all and (max-width: #{$page-width}) {
194
+ display: none;
195
+ }
196
+ }
197
+
198
+ &::after {
199
+ color: $gold;
200
+ content: "”«";
201
+ left: 100%;
202
+ overflow: hidden;
203
+ position: absolute;
204
+ top: 52%;
205
+ white-space: nowrap;
206
+ width: 19px;
207
+ @include transform-origin(10px, 18px);
208
+ @include animation(header--name-after 20s infinite);
209
+
210
+ @media all and (max-width: #{$page-width}) {
211
+ display: none;
212
+ }
213
+ }
214
+ }
215
+
216
+ .header--logo-image {
217
+ @extend %display-none;
218
+ }
219
+
220
+ .header--name-word {
221
+ @extend %display-inline-block;
222
+
223
+ &::first-letter {
224
+ font-size: 150px;
225
+ margin-right: -0.01em;
226
+ }
227
+
228
+ &:first-child::first-letter {
229
+ margin-right: -0.03em;
230
+ }
231
+ }
232
+
233
+ .header--slogan {
234
+ display: block;
235
+ font-size: 12px;
236
+ letter-spacing: 3px;
237
+ margin: -1.9em 0 0 -0.07em;
238
+ text-transform: uppercase;
239
+ }
240
+
241
+
242
+ .header--version,
243
+ .header--version-container {
244
+ &,
245
+ &:before,
246
+ &:after {
247
+ background: inherit;
248
+ content: "";
249
+ height: 60px;
250
+ position: absolute;
251
+ right: 0;
252
+ top: 0;
253
+ width: 60px;
254
+ z-index: -1;
255
+ }
256
+
257
+ &:before {
258
+ @include transform(rotate(15deg));
259
+ }
260
+
261
+ &:after {
262
+ @include transform(rotate(-15deg));
263
+ }
264
+ }
265
+
266
+ .header--version {
267
+ background: $gold;
268
+ color: $black;
269
+ left: 50%;
270
+ margin-left: 300px;
271
+ top: 20px;
272
+ z-index: 2;
273
+ @include transform(rotate(-45deg));
274
+
275
+ @media all and (max-width: 778px) {
276
+ left: auto;
277
+ right: 30px;
278
+ }
279
+
280
+ &:hover {
281
+ background: $black;
282
+ color: $gold;
283
+ }
284
+ }
285
+
286
+ .header--version-container {
287
+ z-index: 3;
288
+ @include transform(rotate(45deg));
289
+ }
290
+
291
+ .header--version-changelog,
292
+ .header--version-title,
293
+ .header--version-current {
294
+ display: block;
295
+ margin: 0.2rem 0 -1rem;
296
+ position: relative;
297
+ z-index: 4;
298
+ }
299
+
300
+ .header--version-current {
301
+ font-size: 2.5rem;
302
+ }
303
+
304
+ .header--version-changelog {
305
+ display: none;
306
+
307
+ .header--version:hover & {
308
+ @extend %display-block;
309
+ }
310
+ }
311
+
312
+ .header--version-title {
313
+ .header--version:hover & {
314
+ @extend %display-none;
315
+ }
316
+ }
317
+
318
+
319
+ //// GITHUB BADGE ////
320
+
321
+ .github-badge {
322
+ @include github-badge(
323
+ $background: $black,
324
+ $backside-background: darken($gold, 10%),
325
+ $text-color: $gold !important,
326
+ $backside-text-color: $black !important
327
+ );
328
+
329
+ @media all and (min-width: #{$page-width + 1px}) {
330
+ position: fixed;
331
+ }
332
+
333
+ span {
334
+ @extend %headline-font;
335
+ letter-spacing: 1px;
336
+ padding-bottom: 6px;
337
+ @include box-shadow(none);
338
+ }
339
+ }
340
+
341
+
342
+ //// DOCUMENTATION ////
343
+
344
+ .documentation {
345
+ background: $gold;
346
+ display: block;
347
+ padding: 100px 0;
348
+ }
349
+
350
+ .documentation--container {
351
+ @extend %block;
352
+ }
353
+
354
+
355
+ //// MARKDOWN ////
356
+
357
+ .markdown {
358
+ h1,
359
+ h2,
360
+ h3,
361
+ p,
362
+ pre,
363
+ ul,
364
+ ol {
365
+ display: block;
366
+ margin: 0 0 0.75rem;
367
+ }
368
+
369
+ strong {
370
+ @extend %font-weight-bold;
371
+ }
372
+
373
+ h1 {
374
+ font-size: 2rem;
375
+ }
376
+
377
+ h2 {
378
+ @extend %headline-font;
379
+ color: $white;
380
+ font-size: 2.5rem;
381
+ letter-spacing: 0.1em;
382
+ margin: 5rem 0 1.5rem;
383
+ text-align: center;
384
+ text-transform: uppercase;
385
+
386
+ @media all and (max-width: #{$page-width}) {
387
+ font-size: 2rem;
388
+ }
389
+
390
+ &::before,
391
+ &::after {
392
+ background: mix($gold, $white, 80%);
393
+ content: "";
394
+ display: block;
395
+ height: 1px;
396
+ margin: 0.3rem auto;
397
+ width: 33%;
398
+ }
399
+ }
400
+
401
+ h1 + h2,
402
+ h2:first-child {
403
+ margin-top: 0;
404
+ }
405
+
406
+ h3 {
407
+ text-align: center;
408
+ }
409
+
410
+ p {
411
+ @media all and (max-width: #{$page-width}) {
412
+ padding: 0 0.5rem;
413
+ }
414
+ }
415
+
416
+ pre {
417
+ $border-width: 50px;
418
+ border: mix($black, $gold, 3%) solid;
419
+ border-width: 1px $border-width;
420
+ background: $white;
421
+ color: darken($gold, 20%);
422
+ font-size: 0.75rem;
423
+ margin: 0 (-$border-width) 0.75rem;
424
+ padding: 0.5rem;
425
+ position: relative;
426
+
427
+ @media all and (max-width: #{$page-width}) {
428
+ border-width: 1px 0;
429
+ font-size: 0.6rem;
430
+ margin: 0 0 0.75rem;
431
+ overflow-x: auto;
432
+ overflow-y: hidden;
433
+ }
434
+
435
+ &.-css {
436
+ background: $black;
437
+ }
438
+
439
+ &:before,
440
+ &:after {
441
+ background: inherit;
442
+ bottom: 0;
443
+ content: "";
444
+ position: absolute;
445
+ right: floor($border-width * -0.8);
446
+ top: 0;
447
+ width: floor($border-width * 0.8);
448
+ opacity: 0.1;
449
+
450
+ @media all and (max-width: #{$page-width}) {
451
+ display: none;
452
+ }
453
+ }
454
+
455
+ &:before {
456
+ left: floor($border-width * -0.8);
457
+ }
458
+ }
459
+ }
460
+
461
+
462
+ //// SYNTAX ////
463
+
464
+ .markdown pre {
465
+ $color: #b965ba;
466
+ color: $color;
467
+
468
+ kbd {
469
+ display: block;
470
+ font-weight: bold;
471
+
472
+ &:before {
473
+ content: "> ";
474
+ }
475
+ }
476
+
477
+ em {
478
+ color: lighten($color, 10%);
479
+ display: inline;
480
+ font-style: normal;
481
+ font-weight: bold;
482
+ text-decoration: underline;
483
+ vertical-align: baseline;
484
+ }
485
+
486
+ b {
487
+ color: lighten($color, 20%);
488
+ display: inline;
489
+ font-weight: bold;
490
+ vertical-align: baseline;
491
+ }
492
+
493
+ i {
494
+ color: lighten($color, 30%);
495
+ display: inline;
496
+ vertical-align: baseline;
497
+ }
498
+
499
+ q {
500
+ color: lighten($color, 30%);
501
+ display: inline;
502
+ vertical-align: baseline;
503
+
504
+ &:before,
505
+ &:after {
506
+ content: "";
507
+ }
508
+ }
509
+
510
+ var {
511
+ display: inline;
512
+ text-decoration: underline;
513
+ vertical-align: baseline;
514
+ }
515
+ }
516
+
517
+
518
+ //// LANGUAGES ////
519
+
520
+ .languages {
521
+ @extend %display-block;
522
+ @extend %text-align-center;
523
+ }
524
+
525
+ .languages--item {
526
+ background: $black;
527
+ color: $gold;
528
+ display: inline-block;
529
+ line-height: 38px;
530
+ margin-bottom: 4px;
531
+ width: 64px;
532
+ white-space: nowrap;
533
+ @include localized-quotation-marks(map-keys($quotation-marks));
534
+
535
+ &:before,
536
+ &:after {
537
+ color: $white;
538
+ }
539
+ }
540
+
541
+
542
+ //// OTHER PROJECTS ////
543
+
544
+ .other-projects {
545
+ background: $black;
546
+ display: block;
547
+ padding: 50px 0;
548
+ text-align: center;
549
+
550
+ &:after {
551
+ @extend .logos-sprite;
552
+ $position: sprite-position($logos-sprites, madeinberlin);
553
+ background-position: nth($position, 1) (nth($position, 2) / 2);
554
+ background-size: 100px;
555
+ content: "";
556
+ display: block;
557
+ height: 28px;
558
+ margin: 50px auto;
559
+ width: 100px;
560
+ }
561
+ }
562
+
563
+ .other-projects--item {
564
+ @extend .logos-sprite;
565
+ background-size: 100px;
566
+ color: white;
567
+ display: inline-block;
568
+ margin: 20px;
569
+ padding-top: 110px;
570
+ text-align: center;
571
+ width: 170px;
572
+ opacity: 1;
573
+ @include transition(all, 0.1s);
574
+
575
+ @each $item in javascriptgrid, livingstyleguide, hagenburger {
576
+ &.-#{$item} {
577
+ $position: sprite-position($logos-sprites, $item, $offset-x: 50%);
578
+ background-position: nth($position, 1) (nth($position, 2) / 2);
579
+ }
580
+ }
581
+
582
+ &:hover {
583
+ @include transform(scale(1.1));
584
+ }
585
+ }
586
+
587
+
588
+ //// ABOUT ////
589
+
590
+ .about {
591
+
592
+ }
593
+
594
+ .about--container {
595
+ @extend %block;
596
+ padding: 150px 0;
597
+ }
598
+
599
+
600
+ .about--title {
601
+ @extend %headline-font;
602
+ color: $gold;
603
+ display: block;
604
+ font-size: 2.5rem;
605
+ letter-spacing: 0.1em;
606
+ margin-bottom: 1.5rem;
607
+ text-align: center;
608
+ text-transform: uppercase;
609
+
610
+ &::before,
611
+ &::after {
612
+ background: mix($gold, $white, 20%);
613
+ content: "";
614
+ display: block;
615
+ height: 1px;
616
+ margin: 0.3rem auto;
617
+ width: 33%;
618
+ }
619
+ }
620
+
621
+ .about--photo {
622
+ margin: 0 -50px 0.75rem;
623
+ max-width: 700px;
624
+ }
625
+
626
+ .about--paragraph {
627
+ display: block;
628
+ margin: 0 0 0.75rem;
629
+ @include hyphens(auto);
630
+
631
+ a {
632
+ @extend %hover-link;
633
+ color: mix($gold, $black, 66%);
634
+ }
635
+ }
636
+
637
+ .about--gittip {
638
+ border: 1px mix($gold, $white) solid;
639
+ color: $gold;
640
+ display: block;
641
+ margin: 50px auto 0;
642
+ padding: 10px 30px;
643
+ text-align: center;
644
+ width: 66%;
645
+
646
+ iframe {
647
+ margin-top: 10px !important;
648
+ }
649
+ }
650
+