github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/assets/stylesheets/_home.scss (about) 1 #page-home { 2 // Override the main header 3 #header { 4 background: $home-header-background-color; 5 6 .navbar-toggle { 7 .icon-bar { 8 border: 1px solid $home-header-link-color; 9 } 10 } 11 12 .navbar-brand { 13 a { 14 svg.logo { 15 @extend svg.logo.color; 16 } 17 } 18 } 19 20 ul.nav { 21 li { 22 a { 23 color: $home-header-link-color; 24 25 &:hover, &:focus, &:active { 26 background-color: transparent; 27 color: $home-header-link-color-hover; 28 29 svg { 30 fill: $home-header-link-color-hover; 31 } 32 } 33 34 svg { 35 fill: $home-header-link-color; 36 } 37 } 38 } 39 } 40 } 41 42 header { 43 .hero { 44 margin: 140px auto 160px auto; 45 text-align: center; 46 47 .button { 48 margin: 5px; 49 50 @media (max-width: 768px) { 51 display: block; 52 margin-top: 10px; 53 text-align: center; 54 } 55 } 56 57 svg { 58 max-width: 90%; 59 } 60 } 61 } 62 63 section { 64 background: $white; 65 padding: 100px 0; 66 } 67 68 section.marketing { 69 h2 { 70 font-family: $font-family-klavika; 71 font-size: 36px; 72 font-weight: $font-weight-bold; 73 line-height: 1.25; 74 letter-spacing: -0.02em; 75 margin: 20px 0 10px 0; 76 padding: 0; 77 text-transform: uppercase; 78 } 79 80 h3 { 81 color: $black; 82 font-size: 20px; 83 font-weight: $font-weight-bold; 84 line-height: 1.2; 85 margin: 50px 0 15px 0; 86 text-transform: uppercase; 87 } 88 89 p { 90 font-family: $font-family-open-sans; 91 font-size: 16px; 92 letter-spacing: 0.01em; 93 line-height: 1.5; 94 margin: 0 0 10px; 95 } 96 97 p.lead { 98 font-size: 20px; 99 margin: 15px 0 30px 0; 100 } 101 102 span.callout { 103 background: $black; 104 color: $white; 105 display: inline-block; 106 font-family: $font-family-klavika; 107 font-size: 18px; 108 font-weight: $font-weight-bold; 109 line-height: 1; 110 margin: 0; 111 padding: 5px; 112 letter-spacing: 0.05em; 113 text-transform: uppercase; 114 } 115 116 &.purple { 117 background: $terraform-purple; 118 119 h2 { 120 color: $white; 121 } 122 123 p { 124 color: $white; 125 } 126 127 span.callout { 128 background: $white; 129 color: $terraform-purple; 130 } 131 132 .button { 133 border: none; 134 } 135 } 136 137 &.black { 138 background: $black; 139 140 h2 { 141 color: $white; 142 } 143 144 p { 145 color: $white; 146 } 147 148 span.callout { 149 background: $white; 150 color: $black; 151 } 152 153 .button { 154 border: none; 155 } 156 } 157 158 &#features { 159 .feature-card { 160 border: 1px solid $gray-darker; 161 color: $gray-darker; 162 display: block; 163 height: 200px; 164 font-weight: $font-weight-bold; 165 padding: 20px; 166 margin-bottom: 15px; 167 text-transform: uppercase; 168 transition: all 0.1s ease-in-out; 169 170 p { 171 line-height: 1.25em; 172 } 173 174 span { 175 color: $terraform-purple; 176 display: block; 177 font-weight: $font-weight-bold; 178 margin-bottom: 10px; 179 } 180 181 svg { 182 display: block; 183 margin-top: 20px; 184 max-width: 100%; 185 186 path { 187 transition: all 0.1s ease-in-out; 188 fill: $gray-dark; 189 } 190 } 191 192 &:hover, &:active, &:focus { 193 border: 1px solid $terraform-purple; 194 color: $terraform-purple; 195 text-decoration: none; 196 197 svg { 198 path { 199 fill: $terraform-purple; 200 transition: all 0.1s ease-in-out; 201 } 202 } 203 } 204 } 205 } 206 207 &#plan { 208 h3 { 209 color: $white; 210 } 211 } 212 213 &#news { 214 img { 215 box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.25); 216 margin: 0 0 20px 0; 217 } 218 219 h2 { 220 margin-bottom: 50px; 221 } 222 223 h3 { 224 color: $white; 225 margin-top: 0; 226 text-transform: none; 227 } 228 229 div.latest-item { 230 border-bottom: 1px solid rgba(255, 255, 255, 0.5); 231 margin-bottom: 20px; 232 padding-bottom: 20px; 233 234 &:last-child { 235 border: none; 236 margin-bottom: 0; 237 padding-bottom: 0; 238 } 239 240 p { 241 padding: 0 0 10px 0; 242 } 243 244 .button { 245 &:hover { 246 background: $white; 247 color: $terraform-purple; 248 } 249 } 250 } 251 } 252 253 &#examples { 254 background: #EDEDED; 255 256 h1, h2, h3, h4, h5, h6, p { 257 color: $black; 258 } 259 } 260 261 &#enterprise { 262 background-image: image-url('enterprise-callout-bg.svg'); 263 background-position: right bottom; 264 background-repeat: no-repeat; 265 background-size: 80%; 266 } 267 } 268 269 .terminal { 270 border: 1px solid $white; 271 background-color: $black; 272 box-sizing: border-box; 273 color: $white; 274 font-family: $font-family-monospace; 275 font-size: 16px; 276 line-height: 1.8; 277 margin: 20px auto; 278 padding: 10px 20px 20px 20px; 279 280 .terminal-content { 281 margin-top: 15px; 282 overflow-x: scroll; 283 width: 100%; 284 white-space: nowrap; 285 286 span { 287 display: block; 288 white-space: pre; 289 290 span { 291 display: inline; 292 } 293 294 &.text-pink { 295 color: lighten($consul-pink, 20%); 296 } 297 } 298 } 299 300 span.circle { 301 &:before { 302 content: '\25CF'; 303 color: $white; 304 font-size: 20px; 305 line-height: 100%; 306 height: 100%; 307 } 308 } 309 310 span.txt-spe { 311 color: #7190EA; 312 } 313 314 span.txt-str { 315 color: #64E86C; 316 } 317 318 span.txt-int { 319 color: #E89264; 320 } 321 322 span.txt-var { 323 color: #9A56f9; 324 } 325 } 326 }