github.com/amanya/packer@v0.12.1-0.20161117214323-902ac5ab2eb6/website/source/assets/stylesheets/_components.scss (about) 1 header .header { 2 height: 200px; 3 background: #000000; 4 5 h1 { 6 margin-bottom: -8px; 7 margin-top: 60px; 8 text-transform: uppercase; 9 } 10 11 span { 12 font-size: 20px; 13 } 14 } 15 16 .hero { 17 height: $hero-height + 100px; 18 background: #000000 image-url('hero_image.jpg') no-repeat; 19 background-position: 35px -40px; 20 background-size: 100%; 21 22 h2 { 23 margin-top: 70px; 24 } 25 26 @media (max-width: $screen-md-max) { 27 height: $hero-height; 28 29 h2 { 30 font-size: 2.1em; 31 } 32 } 33 34 @media (max-width: $screen-sm-max) { 35 height: auto; 36 background: none; 37 38 h2 { 39 margin: 0; 40 padding: 1em; 41 } 42 } 43 } 44 45 .belt { 46 &.download { 47 background-color: $white; 48 @extend .padded-sm; 49 } 50 51 .download-container { 52 background: image-url('down_arrow.png') no-repeat top left; 53 display: inline-block; 54 min-height: 73px; 55 margin: 0 auto; 56 padding-left: 100px; 57 58 @media (max-width: $screen-sm) { 59 background: none; 60 font-size: 75%; 61 min-height: 50px; 62 padding: 0; 63 } 64 } 65 66 .download-row { 67 text-align: center; 68 69 .small { 70 text-align: left; 71 } 72 } 73 74 h2 { 75 font-family: $serif; 76 font-size: 44px; 77 color: #7bc6b1; 78 margin: 0px; 79 padding: 0px; 80 padding-top: 7px; 81 padding-bottom: 3px; 82 line-height: 1.0; 83 white-space: nowrap; 84 85 &:hover { 86 color: $dark-background; 87 } 88 } 89 90 span { 91 color: $gray-dark; 92 } 93 } 94 95 .downloads { 96 margin-top: 20px; 97 98 .description { 99 margin-bottom: 20px; 100 } 101 102 .download { 103 border-bottom: 1px solid #b2b2b2; 104 padding-bottom: 15px; 105 margin-bottom: 15px; 106 107 .details { 108 padding-left: 95px; 109 110 li { 111 display: inline-block; 112 113 &:after { 114 content: " | "; 115 } 116 117 &:last-child:after { 118 content: ""; 119 } 120 } 121 122 a { 123 font-size: 22px; 124 color: darken($green, 15%); 125 126 &:hover { 127 color: darken($green, 30%); 128 } 129 130 &:active { 131 color: darken($green, 50%); 132 } 133 } 134 } 135 136 .icon { 137 img { 138 width: 75px; 139 } 140 } 141 142 .os-name { 143 font-size: 40px; 144 margin-bottom: -3px; 145 } 146 } 147 148 .poweredby { 149 margin-top: 20px; 150 margin-bottom: 20px; 151 152 img { 153 display: block; 154 margin: 0 auto; 155 width: 122px; 156 } 157 } 158 } 159 160 .marketting { 161 p { 162 padding-left: 10px; 163 padding-right: 10px; 164 text-align: justify; 165 } 166 } 167 168 .docs-wrapper { 169 .docs-body { 170 max-width: 960px; 171 @extend .white-background; 172 173 .docs-content { 174 flex-direction: column; 175 padding: $docs-top-margin 120px 150px; 176 display: block; 177 178 code { 179 background-color: #000; 180 border: 0; 181 color: #b1d631; 182 font-size: 14px; 183 font-weight: normal; 184 font-family: $mono; 185 text-shadow: 0 0 0; 186 } 187 188 a { 189 color: darken($green, 15%); 190 191 &:hover { 192 color: darken($green, 30%); 193 } 194 195 &:active { 196 color: darken($green, 50%); 197 } 198 } 199 200 ul, ol { 201 list-style-position: inside; 202 margin-top: $baseline; 203 margin-left: 20px; 204 margin-right: 20px; 205 206 li { 207 font-family: $serif; 208 font-size: 17px; 209 line-height: (30/17) !important; 210 margin-bottom: $baseline; 211 } 212 } 213 214 ul { 215 list-style-type: circle; 216 } 217 218 ol { 219 list-style-type: decimal; 220 } 221 222 div.alert { 223 font-family: $serif; 224 font-size: 17px; 225 line-height: 1.5; 226 letter-spacing: 1px; 227 margin-left: -135px; 228 margin-right: -135px; 229 padding-top: 40px; 230 padding-bottom: 40px; 231 padding-left: 80px; 232 padding-right: 80px; 233 border-radius: 0; 234 } 235 236 pre { 237 border: 0; 238 font-size: 14px; 239 margin-left: -135px; 240 margin-right: -135px; 241 padding-top: 40px; 242 padding-bottom: 40px; 243 padding-left: 135px; 244 padding-right: 135px; 245 border-radius: 0; 246 } 247 } 248 249 section { 250 margin-top: $docs-top-margin; 251 } 252 253 h1 { 254 font-size: 40px; 255 line-height: (25/20); 256 text-transform: uppercase; 257 } 258 259 h2 { 260 margin-top: $baseline * 2; 261 text-transform: capitalize; 262 } 263 264 h3 { 265 margin-top: $baseline; 266 text-transform: capitalize; 267 font-size: 26px; 268 } 269 } 270 } 271 272 .pagination { 273 position: absolute; 274 width: 100%; 275 bottom: 1px; 276 $border: 1px solid $gray-mid; 277 height: $nav-height; 278 border-top: $border; 279 font-size: 20px; 280 margin: 0 -15px 0 -15px; 281 display: block; 282 283 h4 { 284 display: inline-block; 285 margin-top: ($baseline * 1.7); 286 margin-left: $baseline; 287 288 @include respond-to(mobile) { 289 margin-top: 10px; 290 } 291 } 292 293 span { 294 @include respond-to(mobile) { 295 display: block; 296 } 297 } 298 299 .previous-section, 300 .next-section { 301 height: $nav-height; 302 display: block; 303 304 &:hover { 305 background-color: transparentize($gray-light, .7); 306 } 307 } 308 309 .previous-section { 310 width: $nav-height; 311 border-right: $border; 312 float: left; 313 background: $white image-url('arrow-left.png') no-repeat center center; 314 @include respond-to(mobile) { 315 width: 50%; 316 background-position: left center; 317 } 318 } 319 320 .next-section { 321 background: $white image-url('arrow-right.png') no-repeat center right; 322 } 323 } 324 325 .people { 326 margin-top: 30px; 327 328 .person { 329 margin-bottom: 30px; 330 331 img { 332 width: 125px; 333 } 334 335 h3 { 336 text-transform: none; 337 } 338 339 .bio { 340 padding-left: 150px; 341 } 342 } 343 } 344 345 @media (max-width:768px){ 346 .docs-wrapper { 347 .docs-body { 348 .docs-content { 349 div.alert { 350 margin-left: -15px; 351 margin-right: -15px; 352 } 353 354 pre { 355 margin-left: -15px; 356 margin-right: -15px; 357 } 358 } 359 } 360 } 361 }