github.com/swisspost/terratest@v0.0.0-20230214120104-7ec6de2e1ae0/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          @media all and (max-width: 450px) {
   212            flex-direction: column;
   213            min-width: auto;
   214            .text-wrapper {
   215              margin-left: 0px;
   216            }
   217            img {
   218              width: 46px;
   219            }
   220          }
   221        }
   222  
   223        @media all and (max-width: 1100px) {
   224          max-width: 600px;
   225          margin-left: auto;
   226          margin-right: auto;
   227          margin-bottom: 50px;
   228        }
   229        @media all and (max-width: 450px) {
   230          flex-direction: column;
   231          padding: 15px;
   232        }
   233      }
   234    }
   235  
   236    .index-page__cta-section {
   237      padding-top: 100px;
   238      padding-bottom: 100px;
   239      position: relative;
   240      margin-bottom: 120px;
   241  
   242      .btn {
   243        z-index: 1;
   244        position: relative;
   245      }
   246      .left-img {
   247        position: absolute;
   248        left: 0;
   249        top: -208px;
   250      }
   251  
   252      .right-img {
   253        position: absolute;
   254        right: 100px;
   255        top: -220px;
   256      }
   257  
   258      @media all and (max-width: 991px) {
   259        margin-bottom: 30px;
   260  
   261        .right-img {
   262          width: 300px;
   263          top: -180px;
   264          right: 5%;
   265        }
   266        .left-img {
   267          width: 300px;
   268          top: -100px;
   269        }
   270      }
   271  
   272      @media all and (max-width: 600px) {
   273        .right-img {
   274          display: none;
   275        }
   276        .left-img {
   277          width: 80%;
   278          top: -100px;
   279        }
   280      }
   281  
   282      @media all and (max-width: 450px) {
   283        .hide-on-cxs {
   284          display: none;
   285        }
   286      }
   287  
   288    }
   289  
   290    .code-mark {
   291      display: absolute;
   292      right: 0px;
   293      width: 200px;
   294      height: 200px;
   295      background: red;
   296    }
   297  
   298    .index-page__watch {
   299      max-width: 1200px;
   300      margin-left: auto;
   301      margin-right: auto;
   302      padding-top: 100px;
   303  
   304      .title-label {
   305        color: $primary-color;
   306        font-weight: bold;
   307        display: block;
   308        margin-bottom: 30px;
   309        font-size: 22px;
   310      }
   311  
   312      h2 {
   313        font-size: 34px;
   314      }
   315      .btn-sm {
   316        margin-right: 10px;
   317      }
   318  
   319      @media all and (max-width: 991px) {
   320        .row.flex {
   321          flex-direction: column;
   322          &>.col-xs-12:first-child {
   323            margin-bottom: 50px;
   324            max-width: 800px;
   325            margin-left: auto;
   326            margin-right: auto;
   327          }
   328          .col-xs-12 {
   329            align-items: center;
   330            justify-content: center;
   331  
   332          }
   333        }
   334      }
   335    }
   336  
   337    .index-page__built-by {
   338      text-align: center;
   339      position: relative;
   340      overflow-x: hidden;
   341      margin-bottom: 30px;
   342      padding-bottom: 80px;
   343  
   344      .subtitle {
   345        font-size: 22px;
   346      }
   347  
   348      .bg-image {
   349        position: absolute;
   350        z-index: -1;
   351        width: 1440px;
   352        bottom: 0;
   353        left: 50%;
   354        transform: translateX(-50%);
   355      }
   356    }
   357  }
   358  
   359  @media all and (max-width: 1600px) {
   360    body.index-page {
   361      .index-page__header .img-container .header-shapes-hero {
   362        left: 15px;
   363      }
   364    }
   365  }
   366  
   367  @media all and (max-width: 1310px) {
   368    body.index-page {
   369      .header-shapes-bottom {
   370        display: none;
   371      }
   372  
   373      .index-page__header .img-container .header-shapes-hero {
   374        left: 5vw;
   375        right: auto;
   376        height: 120%;
   377        max-height: 440px;
   378      }
   379    }
   380  }
   381  
   382  @media all and (max-width: 1200px) {
   383    body.index-page {
   384      .index-page__header .img-container .header-shapes-hero {
   385        right: 5vw;
   386        left: auto;
   387      }
   388  
   389      .index-page__header .text-container .subtitle {
   390        font-size: 20px;
   391      }
   392    }
   393  }
   394  
   395  @media all and (max-width: 991px) {
   396    body.index-page {
   397      .header-shapes-bottom {
   398        display: none;
   399      }
   400  
   401      .index-page__header {
   402        justify-content: center;
   403  
   404        .img-container {
   405          display: none;
   406        }
   407  
   408        .text-container {
   409          text-align: center;
   410          max-width: 700px;
   411  
   412          .subtitle {
   413            font-size: 16px;
   414          }
   415        }
   416      }
   417  
   418      .index-page__key-features .index-page__key-feature {
   419        text-align: center;
   420        max-width: 700px;
   421  
   422        .subtitle {
   423          max-width: 100%;
   424          font-size: 16px;
   425        }
   426  
   427        img {
   428          &.custom-width, &.custom-width-2 {
   429            display: none;
   430          }
   431        }
   432  
   433        .custom-width-3 {
   434          display: block;
   435          margin: auto;
   436          margin-bottom: 20px;
   437        }
   438  
   439        .code-snippet {
   440          font-size: 10px;
   441  
   442          pre {
   443            max-width: 600px;
   444            margin: 0 auto 30px auto;
   445          }
   446        }
   447      }
   448    }
   449  }
   450  
   451  @media all and (max-width: 768px) {
   452    body.index-page {
   453      .index-page__key-features .index-page__key-feature h3 {
   454        margin-top: 5px;
   455      }
   456  
   457      hr.short {
   458        margin: 10px auto;
   459      }
   460    }
   461  }
   462  
   463  @media all and (max-width: 480px) {
   464    body.index-page .index-page__key-features .index-page__key-feature .code-snippet pre {
   465      font-size: 10px;
   466    }
   467  }