github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/docs/assets/css/pages/home.scss (about) 1 body.index-page { 2 header.header { 3 z-index: 20; 4 position: relative; 5 } 6 7 .section.section-hero { 8 position: relative; 9 } 10 11 .header-bg { 12 position: absolute; 13 width: 100%; 14 height: 100%; 15 left: 0; 16 top: 0; 17 z-index: 0; 18 overflow-x: hidden; 19 20 .header-shapes-top { 21 z-index: 0; 22 position: absolute; 23 top: 0; 24 width: 60vw; 25 min-width: 600px; 26 max-width: 800px; 27 margin-left: -20%; 28 left: 60vw; 29 } 30 } 31 32 .header-shapes-bottom { 33 position: absolute; 34 bottom: 5%; 35 right: 0; 36 width: 250px; 37 height: 400px; 38 background-position: top left; 39 background-size: 250px 400px; 40 background-repeat: no-repeat; 41 } 42 43 .index-page__header { 44 z-index: 1; 45 position: relative; 46 } 47 48 .navbar.navbar-default { 49 padding-top: 30px; 50 } 51 52 .section-hero { 53 margin-top: 0px; 54 padding-top: 0px; 55 padding-bottom: 70px; 56 } 57 58 .index-page__header { 59 display: flex; 60 width: 100%; 61 margin: auto; 62 63 .img-container { 64 flex: 1; 65 max-width: 50%; 66 position: relative; 67 68 .header-shapes-hero { 69 position: absolute; 70 max-width: 800px; 71 left: 15%; 72 height: calc(100% + 220px); 73 bottom: -72px; 74 } 75 } 76 77 .text-container { 78 flex: 1; 79 padding: 15px; 80 max-width: 600px; 81 position: relative; 82 83 h1 { 84 line-height: 1; 85 margin-top: 10px; 86 } 87 88 .subtitle { 89 font-size: 22px; 90 display: block; 91 margin-bottom: 40px; 92 line-height: 1.23; 93 } 94 95 .btn { 96 min-width: 250px; 97 } 98 } 99 } 100 101 .link-to-test-with-terratest { 102 text-decoration: underline; 103 cursor: pointer; 104 &:hover { 105 opacity: 0.7; 106 } 107 } 108 109 .index-page__terratest-in-4-steps { 110 h2 { 111 max-width: 800px; 112 margin-left: auto; 113 margin-right: auto; 114 } 115 .test-steps { 116 display: flex; 117 align-items: stretch; 118 justify-content: center; 119 padding: 15px 50px; 120 max-width: 1200px; 121 margin-left: auto; 122 margin-right: auto; 123 margin-bottom: 120px; 124 flex-wrap: wrap; 125 .test-step { 126 flex: 1; 127 display: flex; 128 flex-direction: column; 129 padding: 0; 130 min-width: 240px; 131 132 .icon-wrapper { 133 display: flex; 134 margin-bottom: 20px; 135 .line { 136 flex: 1; 137 border-top: 1px dashed $gray-color-3; 138 display: block; 139 margin-left: 0; 140 margin-right: 2px; 141 margin-top: 15px; 142 max-width: calc(50% - 36px); 143 } 144 img { 145 margin-left: 5px; 146 margin-right: 5px; 147 } 148 } 149 150 .text-wrapper { 151 display: flex; 152 flex-direction: column; 153 text-align: center; 154 padding-left: 5px; 155 padding-right: 5px; 156 } 157 158 label { 159 font-size: $font-size-lg; 160 font-weight: bold; 161 max-width: 280px; 162 line-height: 1.2; 163 min-height: 58px; 164 } 165 .desc { 166 font-size: $font-size-sm; 167 max-width: 280px; 168 } 169 170 @media all and (min-width: 451px) { 171 &:first-child { 172 .icon-wrapper { 173 justify-content: flex-end; 174 } 175 } 176 } 177 178 &:last-child { 179 .icon-wrapper { 180 justify-content: flex-start; 181 } 182 } 183 184 @media all and (max-width: 1100px) { 185 min-width: 400px; 186 margin-bottom: 20px; 187 188 .icon-wrapper { 189 .line { 190 display: none; 191 } 192 } 193 194 .desc { 195 max-width: 400px; 196 } 197 .text-wrapper { 198 text-align: left; 199 label { 200 min-height: auto; 201 } 202 } 203 } 204 @media all and (max-width: 1100px) { 205 flex-direction: row; 206 margin-bottom: 40px; 207 .text-wrapper { 208 margin-left: 15px; 209 } 210 } 211 212 @media all and (max-width: 450px) { 213 flex-direction: column; 214 min-width: auto; 215 .text-wrapper { 216 margin-left: 0px; 217 } 218 img { 219 width: 46px; 220 } 221 } 222 } 223 224 @media all and (max-width: 1100px) { 225 max-width: 600px; 226 margin-left: auto; 227 margin-right: auto; 228 margin-bottom: 50px; 229 } 230 @media all and (max-width: 450px) { 231 flex-direction: column; 232 padding: 15px; 233 } 234 } 235 } 236 237 .index-page__cta-section { 238 padding-top: 100px; 239 padding-bottom: 100px; 240 position: relative; 241 margin-bottom: 120px; 242 243 .btn { 244 z-index: 1; 245 position: relative; 246 } 247 .left-img { 248 position: absolute; 249 left: 0; 250 top: -208px; 251 } 252 253 .right-img { 254 position: absolute; 255 right: 100px; 256 top: -220px; 257 } 258 259 @media all and (max-width: 991px) { 260 margin-bottom: 30px; 261 262 .right-img { 263 width: 300px; 264 top: -180px; 265 right: 5%; 266 } 267 .left-img { 268 width: 300px; 269 top: -100px; 270 } 271 } 272 273 @media all and (max-width: 600px) { 274 .right-img { 275 display: none; 276 } 277 .left-img { 278 width: 80%; 279 top: -100px; 280 } 281 } 282 283 @media all and (max-width: 450px) { 284 .hide-on-cxs { display: none; } 285 } 286 287 } 288 289 .code-mark { 290 display: absolute; 291 right: 0px; 292 width: 200px; 293 height: 200px; 294 background: red; 295 } 296 297 .index-page__watch { 298 max-width: 1200px; 299 margin-left: auto; 300 margin-right: auto; 301 padding-top: 100px; 302 303 .title-label { 304 color: $primary-color; 305 font-weight: bold; 306 display: block; 307 margin-bottom: 30px; 308 font-size: 22px; 309 } 310 311 h2 { 312 font-size: 34px; 313 } 314 .btn-sm { 315 margin-right: 10px; 316 } 317 318 @media all and (max-width: 991px) { 319 .row.flex { 320 flex-direction: column; 321 & > .col-xs-12:first-child { 322 margin-bottom: 50px; 323 max-width: 800px; 324 margin-left: auto; 325 margin-right: auto; 326 } 327 .col-xs-12 { 328 align-items: center; 329 justify-content: center; 330 331 } 332 } 333 } 334 } 335 336 .index-page__built-by { 337 text-align: center; 338 position: relative; 339 overflow-x: hidden; 340 margin-bottom: 30px; 341 padding-bottom: 80px; 342 343 .subtitle { 344 font-size: 22px; 345 } 346 347 .bg-image { 348 position: absolute; 349 z-index: -1; 350 width: 1440px; 351 bottom: 0; 352 left: 50%; 353 transform: translateX(-50%); 354 } 355 } 356 } 357 358 @media all and (max-width: 1600px) { 359 body.index-page { 360 .index-page__header .img-container .header-shapes-hero { 361 left: 15px; 362 } 363 } 364 } 365 366 @media all and (max-width: 1310px) { 367 body.index-page { 368 .header-shapes-bottom { 369 display: none; 370 } 371 372 .index-page__header .img-container .header-shapes-hero { 373 left: 5vw; 374 right: auto; 375 height: 120%; 376 max-height: 440px; 377 } 378 } 379 } 380 381 @media all and (max-width: 1200px) { 382 body.index-page { 383 .index-page__header .img-container .header-shapes-hero { 384 right: 5vw; 385 left: auto; 386 } 387 388 .index-page__header .text-container .subtitle { 389 font-size: 20px; 390 } 391 } 392 } 393 394 @media all and (max-width: 991px) { 395 body.index-page { 396 .header-shapes-bottom { 397 display: none; 398 } 399 400 .index-page__header { 401 justify-content: center; 402 403 .img-container { 404 display: none; 405 } 406 407 .text-container { 408 text-align: center; 409 max-width: 700px; 410 411 .subtitle { 412 font-size: 16px; 413 } 414 } 415 } 416 417 .index-page__key-features .index-page__key-feature { 418 text-align: center; 419 max-width: 700px; 420 421 .subtitle { 422 max-width: 100%; 423 font-size: 16px; 424 } 425 426 img { 427 &.custom-width, &.custom-width-2 { 428 display: none; 429 } 430 } 431 432 .custom-width-3 { 433 display: block; 434 margin: auto; 435 margin-bottom: 20px; 436 } 437 438 .code-snippet { 439 font-size: 10px; 440 441 pre { 442 max-width: 600px; 443 margin: 0 auto 30px auto; 444 } 445 } 446 } 447 } 448 } 449 450 @media all and (max-width: 768px) { 451 body.index-page { 452 .index-page__key-features .index-page__key-feature h3 { 453 margin-top: 5px; 454 } 455 456 hr.short { 457 margin: 10px auto; 458 } 459 } 460 } 461 462 @media all and (max-width: 480px) { 463 body.index-page .index-page__key-features .index-page__key-feature .code-snippet pre { 464 font-size: 10px; 465 } 466 }