|
| 1 | +--- |
| 2 | +--- |
| 3 | + |
| 4 | +@import url(http://fonts.googleapis.com/css?family=Raleway:400,700,900); |
| 5 | +@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); |
| 6 | + |
| 7 | +$footer-height: 100px; |
| 8 | +$orange: #E05221; |
| 9 | +$dark-brown: #3D210C; |
| 10 | +$light-brown: #5F442E; |
| 11 | +$hover-color: #DDD; |
| 12 | +$open-sans: 'Open Sans', 'sans-serif'; |
| 13 | + |
| 14 | +@mixin box-sizing($box-model) { |
| 15 | + -webkit-box-sizing: $box-model; |
| 16 | + -moz-box-sizing: $box-model; |
| 17 | + box-sizing: $box-model; |
| 18 | +} |
| 19 | + |
| 20 | +* { |
| 21 | + margin: 0; |
| 22 | + padding: 0; |
| 23 | +} |
| 24 | + |
| 25 | +html { |
| 26 | + position: relative; |
| 27 | + min-height: 100%; |
| 28 | +} |
| 29 | + |
| 30 | +body { |
| 31 | + margin: 0 0 $footer-height 100px; |
| 32 | + max-width: 1200px; |
| 33 | + min-width: 800px; |
| 34 | + padding: 10px; |
| 35 | + background-color: $orange; |
| 36 | + color: $dark-brown; |
| 37 | + font-family: $open-sans; |
| 38 | + @include box-sizing(border-box); |
| 39 | +} |
| 40 | + |
| 41 | +header { |
| 42 | + padding-top: $footer-height / 2; |
| 43 | +} |
| 44 | + |
| 45 | +footer { |
| 46 | + position: absolute; |
| 47 | + bottom: 0; |
| 48 | + height: $footer-height; |
| 49 | + width: 230px; |
| 50 | + font-size: 40px; |
| 51 | + |
| 52 | + a { |
| 53 | + color: $dark-brown; |
| 54 | + padding-right: 10px; |
| 55 | + } |
| 56 | +} |
| 57 | + |
| 58 | +a { color: $light-brown; text-decoration: none; } |
| 59 | +a:hover { color: $hover-color; text-decoration: none; } |
| 60 | + |
| 61 | +h1, h2 { |
| 62 | + font-family: 'Raleway', 'sans-serif'; |
| 63 | +} |
| 64 | + |
| 65 | +h1 { |
| 66 | + font-weight: 900; |
| 67 | + font-size: 60px; |
| 68 | +} |
| 69 | + |
| 70 | +h2 { |
| 71 | + font-weight: 700; |
| 72 | + font-size: 35px; |
| 73 | +} |
| 74 | + |
| 75 | +#index { |
| 76 | + font-size: 32px; |
| 77 | + line-height: 50px; |
| 78 | + margin-top: 150px; |
| 79 | + text-align: right; |
| 80 | +} |
| 81 | + |
| 82 | +// /* Global Reset */ |
| 83 | +// * { |
| 84 | +// margin: 0; |
| 85 | +// padding: 0; |
| 86 | +// } |
| 87 | +// |
| 88 | +// html, body { height: 100%; } |
| 89 | +// |
| 90 | +// /* Le Styles */ |
| 91 | +// |
| 92 | +// body { |
| 93 | +// position: relative; |
| 94 | +// background-color: #E05221; |
| 95 | +// color: #3D210C; |
| 96 | +// font-family: 'Open Sans', 'sans-serif'; |
| 97 | +// padding: 50px; |
| 98 | +// max-width: 1200px; |
| 99 | +// min-width: 800px; |
| 100 | +// height: 700px; |
| 101 | +// margin: auto; |
| 102 | +// box-sizing:border-box; |
| 103 | +// -moz-box-sizing:border-box; /* Firefox */ |
| 104 | +// } |
| 105 | +// |
| 106 | +// a { color: #3D210C; text-decoration: none; } |
| 107 | +// a:hover { color: #DDD; text-decoration: none; } |
| 108 | +// |
| 109 | +// h1, h2 { |
| 110 | +// font-family: 'Raleway', 'sans-serif'; |
| 111 | +// } |
| 112 | +// |
| 113 | +// h1 { |
| 114 | +// font-weight: 900; |
| 115 | +// font-size: 60px; |
| 116 | +// } |
| 117 | +// |
| 118 | +// h2 { |
| 119 | +// font-weight: 700; |
| 120 | +// font-size: 35px; |
| 121 | +// } |
| 122 | +// |
| 123 | +// footer { |
| 124 | +// position: absolute; |
| 125 | +// bottom: 50px; |
| 126 | +// font-size: 40px; |
| 127 | +// } |
| 128 | +// |
| 129 | +// footer a { |
| 130 | +// padding-right: 10px; |
| 131 | +// } |
| 132 | +// |
| 133 | +// #index { |
| 134 | +// margin: 100px auto; |
| 135 | +// padding: 50px 0; |
| 136 | +// font-size: 32px; |
| 137 | +// line-height: 50px; |
| 138 | +// text-align: right; |
| 139 | +// } |
| 140 | +// |
| 141 | +// #index a { |
| 142 | +// color: #5F442E; |
| 143 | +// } |
| 144 | +// |
| 145 | +// #index a:hover { |
| 146 | +// color: #DDD; |
| 147 | +// } |
0 commit comments