OLD | NEW |
(Empty) | |
| 1 /******************************************************************************* |
| 2 * Layout |
| 3 ******************************************************************************/ |
| 4 |
| 5 html |
| 6 { |
| 7 background-color: #F3F3F3; |
| 8 } |
| 9 |
| 10 body |
| 11 { |
| 12 @media (min-width: $phablet-breakpoint) |
| 13 { |
| 14 display: table; |
| 15 width: 100%; |
| 16 min-height: 100vh; |
| 17 } |
| 18 } |
| 19 |
| 20 /* .outer-container |
| 21 ******************************************************************************/ |
| 22 |
| 23 .outer-container |
| 24 { |
| 25 @media (min-width: $phablet-breakpoint) |
| 26 { |
| 27 display: table-cell; |
| 28 vertical-align: middle; |
| 29 } |
| 30 } |
| 31 |
| 32 /* #page-header |
| 33 ******************************************************************************/ |
| 34 |
| 35 #page-header |
| 36 { |
| 37 margin-top: $medium-space; |
| 38 margin-bottom: $small-space; |
| 39 |
| 40 @media (min-width: $phablet-breakpoint) |
| 41 { |
| 42 margin-top: 0; |
| 43 margin-bottom: $medium-space; |
| 44 text-align: center; |
| 45 } |
| 46 } |
| 47 |
| 48 #page-header figure |
| 49 { |
| 50 display: inline-table; |
| 51 font-size: 1.5em; |
| 52 font-weight: 300; |
| 53 |
| 54 @media (min-width: $phablet-breakpoint) |
| 55 { |
| 56 font-size: 2em; |
| 57 } |
| 58 |
| 59 img, |
| 60 figcaption |
| 61 { |
| 62 display: table-cell; |
| 63 vertical-align: middle; |
| 64 } |
| 65 |
| 66 img |
| 67 { |
| 68 height: 1.5em; |
| 69 |
| 70 @media (min-width: $phablet-breakpoint) |
| 71 { |
| 72 height: 2em; |
| 73 } |
| 74 } |
| 75 |
| 76 figcaption |
| 77 { |
| 78 padding: 0 $x-small-space; |
| 79 } |
| 80 |
| 81 strong { font-weight: 700; } |
| 82 } |
| 83 |
| 84 #page-header h1 |
| 85 { |
| 86 margin: $small-space auto $x-small-space; |
| 87 } |
| 88 |
| 89 /* #sign-up, #page-footer |
| 90 ******************************************************************************/ |
| 91 |
| 92 #sign-up, |
| 93 #page-footer |
| 94 { |
| 95 width: 100%; |
| 96 |
| 97 @media (min-width: $phablet-breakpoint) |
| 98 { |
| 99 max-width: 320px; |
| 100 margin-right: auto; |
| 101 margin-left: auto; |
| 102 } |
| 103 } |
| 104 |
| 105 #page-footer |
| 106 { |
| 107 margin-top: $small-space; |
| 108 text-align: center; |
| 109 |
| 110 @media (min-width: $phablet-breakpoint) |
| 111 { |
| 112 text-align: left; |
| 113 } |
| 114 } |
OLD | NEW |