|
1 | | -@import url(http://fonts.googleapis.com/css?family=Raleway:400,700,900); |
2 | | -@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); |
3 | | -* { |
4 | | - margin: 0; |
5 | | - padding: 0; } |
6 | | - |
7 | | -html { |
8 | | - position: relative; |
9 | | - min-height: 100%; } |
10 | | - |
11 | | -body { |
12 | | - margin: 0 0 100px 100px; |
13 | | - max-width: 1200px; |
14 | | - min-width: 800px; |
15 | | - padding: 10px; |
16 | | - background-color: #e05221; |
17 | | - color: #3d210c; |
18 | | - font-family: "Open Sans", "sans-serif"; |
19 | | - -webkit-box-sizing: border-box; |
20 | | - -moz-box-sizing: border-box; |
21 | | - box-sizing: border-box; } |
22 | | - |
23 | | -header { |
24 | | - padding-top: 50px; } |
25 | | - |
26 | | -footer { |
27 | | - position: absolute; |
28 | | - bottom: 0; |
29 | | - height: 100px; |
30 | | - width: 230px; |
31 | | - font-size: 40px; } |
32 | | - footer a { |
33 | | - color: #3d210c; |
34 | | - padding-right: 10px; } |
35 | | - |
36 | | -a { |
37 | | - color: #5f442e; |
38 | | - text-decoration: none; } |
39 | | - |
40 | | -a:hover { |
41 | | - color: #dddddd; |
42 | | - text-decoration: none; } |
43 | | - |
44 | | -h1, h2 { |
45 | | - font-family: 'Raleway', 'sans-serif'; } |
46 | | - |
47 | | -h1 { |
48 | | - font-weight: 900; |
49 | | - font-size: 60px; } |
50 | | - |
51 | | -h2 { |
52 | | - font-weight: 700; |
53 | | - font-size: 35px; } |
54 | | - |
55 | | -#index { |
56 | | - font-size: 32px; |
57 | | - line-height: 50px; |
58 | | - margin-top: 150px; |
59 | | - text-align: right; } |
| 1 | +@import url(http://fonts.googleapis.com/css?family=Raleway:400,700,900) |
| 2 | + |
| 3 | +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700) |
| 4 | + |
| 5 | +$footer-height: 100px |
| 6 | +$background-color: #2e3140 |
| 7 | +$text-color: #ffc37a |
| 8 | +$link-color: #ffffd3 |
| 9 | +$hover-color: #ffffba |
| 10 | +$open-sans: "Open Sans", "sans-serif" |
| 11 | + |
| 12 | +=box-sizing($box-model) |
| 13 | + -webkit-box-sizing: $box-model |
| 14 | + -moz-box-sizing: $box-model |
| 15 | + box-sizing: $box-model |
| 16 | + |
| 17 | +* |
| 18 | + margin: 0 |
| 19 | + padding: 0 |
| 20 | + |
| 21 | +html |
| 22 | + position: relative |
| 23 | + min-height: 100% |
| 24 | + |
| 25 | +body |
| 26 | + background-color: $background-color |
| 27 | + color: $text-color |
| 28 | + font-family: $open-sans |
| 29 | + +box-sizing(border-box) |
| 30 | + |
| 31 | +#container |
| 32 | + max-width: 1200px |
| 33 | + min-width: 800px |
| 34 | + margin: 0 auto $footer-height auto |
| 35 | + padding: 0 20px |
| 36 | + |
| 37 | +header |
| 38 | + padding-top: $footer-height / 2 |
| 39 | + |
| 40 | +footer |
| 41 | + position: absolute |
| 42 | + bottom: 0 |
| 43 | + height: $footer-height |
| 44 | + width: 230px |
| 45 | + font-size: 40px |
| 46 | + a |
| 47 | + color: $text-color |
| 48 | + padding-right: 10px |
| 49 | + |
| 50 | +a |
| 51 | + color: $link-color |
| 52 | + text-decoration: none |
| 53 | + |
| 54 | +a:hover |
| 55 | + color: $hover-color |
| 56 | + text-decoration: none |
| 57 | + |
| 58 | +h1, h2 |
| 59 | + font-family: 'Raleway', 'sans-serif' |
| 60 | + |
| 61 | +h1 |
| 62 | + font-weight: 900 |
| 63 | + font-size: 60px |
| 64 | + |
| 65 | +h2 |
| 66 | + font-weight: 700 |
| 67 | + font-size: 35px |
| 68 | + |
| 69 | +#index |
| 70 | + font-size: 32px |
| 71 | + line-height: 50px |
| 72 | + margin-top: 150px |
| 73 | + text-align: right |
0 commit comments