|
| 1 | +.container { |
| 2 | + max-width: 800px; } |
| 3 | +.new code { |
| 4 | + background-color: #DB4437; |
| 5 | + font-size: 60%; |
| 6 | + color: #fff; |
| 7 | + font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; |
| 8 | + border: none; |
| 9 | +} |
| 10 | +.header { |
| 11 | + margin-top: 6rem; |
| 12 | + text-align: center; } |
| 13 | +.value-prop { |
| 14 | + margin-top: 1rem; } |
| 15 | +.value-props { |
| 16 | + margin-top: 4rem; |
| 17 | + margin-bottom: 4rem; } |
| 18 | +.docs-header { |
| 19 | + text-transform: uppercase; |
| 20 | + font-size: 1.4rem; |
| 21 | + letter-spacing: .2rem; |
| 22 | + font-weight: 600; } |
| 23 | +.docs-section { |
| 24 | + border-top: 1px solid #eee; |
| 25 | + padding: 4rem 0; |
| 26 | + margin-bottom: 0;} |
| 27 | +.value-img { |
| 28 | + display: block; |
| 29 | + text-align: center; |
| 30 | + margin: 2.5rem auto 0; } |
| 31 | +.example-grid .column, |
| 32 | +.example-grid .columns { |
| 33 | + background: #EEE; |
| 34 | + text-align: center; |
| 35 | + border-radius: 4px; |
| 36 | + font-size: 1rem; |
| 37 | + text-transform: uppercase; |
| 38 | + height: 30px; |
| 39 | + line-height: 30px; |
| 40 | + margin-bottom: .75rem; |
| 41 | + font-weight: 600; |
| 42 | + letter-spacing: .1rem; } |
| 43 | +.docs-example .row, |
| 44 | +.docs-example.row, |
| 45 | +.docs-example form { |
| 46 | + margin-bottom: 0; } |
| 47 | +.docs-example h1, |
| 48 | +.docs-example h2, |
| 49 | +.docs-example h3, |
| 50 | +.docs-example h4, |
| 51 | +.docs-example h5, |
| 52 | +.docs-example h6 { |
| 53 | + margin-bottom: 1rem; } |
| 54 | +.heading-font-size { |
| 55 | + font-size: 1.2rem; |
| 56 | + color: #999; |
| 57 | + letter-spacing: normal; } |
| 58 | +.code-example { |
| 59 | + margin-top: 1.5rem; |
| 60 | + margin-bottom: 0; } |
| 61 | +.code-example-body { |
| 62 | + white-space: pre; |
| 63 | + word-wrap: break-word } |
| 64 | +.example { |
| 65 | + position: relative; |
| 66 | + margin-top: 4rem; } |
| 67 | +.example-header { |
| 68 | + font-weight: 600; |
| 69 | + margin-top: 1.5rem; |
| 70 | + margin-bottom: .5rem; } |
| 71 | +.example-description { |
| 72 | + margin-bottom: 1.5rem; |
| 73 | + min-height: 100px;} |
| 74 | +.example-screenshot-wrapper { |
| 75 | + display: block; |
| 76 | + position: relative; |
| 77 | + overflow: hidden; |
| 78 | + border-radius: 6px; |
| 79 | + border: 1px solid #eee; |
| 80 | + height: 250px; } |
| 81 | +.example-screenshot { |
| 82 | + width: 100%; |
| 83 | + height: auto; } |
| 84 | +.example-screenshot.coming-soon { |
| 85 | + width: auto; |
| 86 | + position: absolute; |
| 87 | + background: #eee; |
| 88 | + top: 5px; |
| 89 | + right: 5px; |
| 90 | + bottom: 5px; |
| 91 | + left: 5px; } |
| 92 | +.navbar { |
| 93 | + display: none; } |
| 94 | + |
| 95 | +/* Larger than phone */ |
| 96 | +@media (min-width: 550px) { |
| 97 | + .header { |
| 98 | + margin-top: 18rem; } |
| 99 | + .value-props { |
| 100 | + margin-top: 9rem; |
| 101 | + margin-bottom: 7rem; } |
| 102 | + .value-img { |
| 103 | + margin-bottom: 1rem; } |
| 104 | + .example-grid .column, |
| 105 | + .example-grid .columns { |
| 106 | + margin-bottom: 1.5rem; } |
| 107 | + .docs-section { |
| 108 | + padding: 6rem 0; } |
| 109 | + .example-send-yourself-copy { |
| 110 | + float: right; |
| 111 | + margin-top: 12px; } |
| 112 | + .example-screenshot-wrapper { |
| 113 | + position: absolute; |
| 114 | + width: 48%; |
| 115 | + height: 100%; |
| 116 | + left: 0; |
| 117 | + max-height: none; } |
| 118 | +} |
| 119 | + |
| 120 | +/* Larger than tablet */ |
| 121 | +@media (min-width: 750px) { |
| 122 | + /* Navbar */ |
| 123 | + .navbar + .docs-section { |
| 124 | + border-top-width: 0; } |
| 125 | + .navbar, |
| 126 | + .navbar-spacer { |
| 127 | + display: block; |
| 128 | + width: 100%; |
| 129 | + height: 6.5rem; |
| 130 | + background: #fff; |
| 131 | + z-index: 99; |
| 132 | + border-top: 1px solid #eee; |
| 133 | + border-bottom: 1px solid #eee; } |
| 134 | + .navbar-spacer { |
| 135 | + display: none; } |
| 136 | + .navbar > .container { |
| 137 | + width: 100%; } |
| 138 | + .navbar-list { |
| 139 | + list-style: none; |
| 140 | + margin-bottom: 0; } |
| 141 | + .navbar-item { |
| 142 | + position: relative; |
| 143 | + float: left; |
| 144 | + margin-bottom: 0; } |
| 145 | + .navbar-link { |
| 146 | + text-transform: uppercase; |
| 147 | + font-size: 11px; |
| 148 | + font-weight: 600; |
| 149 | + letter-spacing: .2rem; |
| 150 | + margin-right: 35px; |
| 151 | + text-decoration: none; |
| 152 | + line-height: 6.5rem; |
| 153 | + color: #222; } |
| 154 | + .navbar-link.active { |
| 155 | + color: #33C3F0; } |
| 156 | + .has-docked-nav .navbar { |
| 157 | + position: fixed; |
| 158 | + top: 0; |
| 159 | + left: 0; } |
| 160 | + .has-docked-nav .navbar-spacer { |
| 161 | + display: block; } |
| 162 | + /* Re-overiding the width 100% declaration to match size of % based container */ |
| 163 | + .has-docked-nav .navbar > .container { |
| 164 | + width: 80%; } |
| 165 | + |
| 166 | + /* Popover */ |
| 167 | + .popover.open { |
| 168 | + display: block; |
| 169 | + } |
| 170 | + .popover { |
| 171 | + display: none; |
| 172 | + position: absolute; |
| 173 | + top: 0; |
| 174 | + left: 0; |
| 175 | + background: #fff; |
| 176 | + border: 1px solid #eee; |
| 177 | + border-radius: 4px; |
| 178 | + top: 92%; |
| 179 | + left: -50%; |
| 180 | + -webkit-filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); |
| 181 | + -moz-filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); |
| 182 | + filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); } |
| 183 | + .popover-item:first-child .popover-link:after, |
| 184 | + .popover-item:first-child .popover-link:before { |
| 185 | + bottom: 100%; |
| 186 | + left: 50%; |
| 187 | + border: solid transparent; |
| 188 | + content: " "; |
| 189 | + height: 0; |
| 190 | + width: 0; |
| 191 | + position: absolute; |
| 192 | + pointer-events: none; } |
| 193 | + .popover-item:first-child .popover-link:after { |
| 194 | + border-color: rgba(255, 255, 255, 0); |
| 195 | + border-bottom-color: #fff; |
| 196 | + border-width: 10px; |
| 197 | + margin-left: -10px; } |
| 198 | + .popover-item:first-child .popover-link:before { |
| 199 | + border-color: rgba(238, 238, 238, 0); |
| 200 | + border-bottom-color: #eee; |
| 201 | + border-width: 11px; |
| 202 | + margin-left: -11px; } |
| 203 | + .popover-list { |
| 204 | + padding: 0; |
| 205 | + margin: 0; |
| 206 | + list-style: none; } |
| 207 | + .popover-item { |
| 208 | + padding: 0; |
| 209 | + margin: 0; } |
| 210 | + .popover-link { |
| 211 | + position: relative; |
| 212 | + color: #222; |
| 213 | + display: block; |
| 214 | + padding: 8px 20px; |
| 215 | + border-bottom: 1px solid #eee; |
| 216 | + text-decoration: none; |
| 217 | + text-transform: uppercase; |
| 218 | + font-size: 1.0rem; |
| 219 | + font-weight: 600; |
| 220 | + text-align: center; |
| 221 | + letter-spacing: .1rem; } |
| 222 | + .popover-item:first-child .popover-link { |
| 223 | + border-radius: 4px 4px 0 0; } |
| 224 | + .popover-item:last-child .popover-link { |
| 225 | + border-radius: 0 0 4px 4px; |
| 226 | + border-bottom-width: 0; } |
| 227 | + .popover-link:hover { |
| 228 | + color: #fff; |
| 229 | + background: #33C3F0; } |
| 230 | + .popover-link:hover, |
| 231 | + .popover-item:first-child .popover-link:hover:after { |
| 232 | + border-bottom-color: #33C3F0; } |
| 233 | +} |
0 commit comments