|
1 | 1 | @import url(http://fonts.googleapis.com/css?family=Droid\+Sans\+Mono) |
| 2 | +@import 'bower_components/nib' |
| 3 | + |
| 4 | +$foreground = white |
| 5 | +$background = black |
2 | 6 |
|
3 | 7 | body |
| 8 | + background linear-gradient(top, |
| 9 | + transparent 0px, |
| 10 | + transparent 1px, |
| 11 | + alpha($foreground, 0.25) 1px, |
| 12 | + alpha($foreground, 0.25) 2px) |
| 13 | + -webkit-background-size 100% 2px |
| 14 | + -moz-background-size 100% 2px |
4 | 15 | font-family 'Droid Sans Mono', Monaco, "Lucida Console", monospace |
5 | 16 | font-size 10pt |
6 | | - text-shadow 0px 0px 10px #fff |
| 17 | + text-shadow 0px 0px 10px $foreground |
7 | 18 | padding 2px |
8 | | - background-color #000 |
9 | | - color #fff |
| 19 | + background-color $background |
| 20 | + color $foreground |
10 | 21 |
|
11 | | -#terminal |
12 | | - background: -webkit-repeating-linear-gradient( |
13 | | - top, |
14 | | - transparent 0px, |
15 | | - transparent 1px, |
16 | | - rgba(0,0,0,0.25) 1px, |
17 | | - rgba(0,0,0,0.25) 2px |
18 | | - ); |
19 | | - -webkit-background-size: 100% 2px; |
20 | | - |
21 | | - background: -moz-repeating-linear-gradient( |
22 | | - top, |
23 | | - transparent 0px, |
24 | | - transparent 1px, |
25 | | - rgba(0,0,0,0.25) 1px, |
26 | | - rgba(0,0,0,0.25) 2px |
27 | | - ); |
28 | | - -moz-background-size: 100% 2px; |
29 | | - |
30 | 22 | pre |
31 | 23 | margin-top 0 !important |
32 | 24 |
|
33 | 25 | a |
34 | | - color #FFF |
| 26 | + color $foreground |
35 | 27 | &:visited |
36 | | - color #CCC |
| 28 | + color lightness($foreground, 80%) |
37 | 29 |
|
38 | 30 | span |
39 | 31 | &.symlink |
40 | | - color #F00 |
| 32 | + color lightness($foreground, 20%) |
41 | 33 |
|
42 | 34 | .prompt, #prompt |
43 | | - background-color #ccc |
44 | | - color #000 |
| 35 | + background-color lightness($foreground, 80%) |
| 36 | + background linear-gradient(top, |
| 37 | + transparent 0px, |
| 38 | + transparent 1px, |
| 39 | + alpha($foreground, 0.5) 1px, |
| 40 | + alpha($foreground, 0.5) 2px) |
| 41 | + color $background |
| 42 | + text-shadow none |
45 | 43 |
|
46 | 44 | .command |
47 | 45 | margin-left .5em |
48 | 46 |
|
49 | 47 | #cursor |
50 | 48 | font-weight normal |
51 | | - background-color #000 |
| 49 | + background-color $background |
| 50 | + -webkit-animation 1s blink step-end infinite |
| 51 | + -moz-animation 1s blink step-end infinite |
| 52 | + -ms-animation 1s blink step-end infinite |
| 53 | + -o-animation 1s blink step-end infinite |
| 54 | + animation 1s blink step-end infinite |
| 55 | + |
| 56 | +@keyframes blink { |
| 57 | + from,to { |
| 58 | + color transparent |
| 59 | + } |
| 60 | + 50% { |
| 61 | + color $foreground |
| 62 | + } |
| 63 | +} |
0 commit comments