github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/components/case-study-carousel/style.css (about)

     1  .g-case-carousel {
     2    display: flex;
     3    flex-direction: column;
     4    align-items: center;
     5    position: relative;
     6    padding-top: 0 !important;
     7    padding-bottom: 0 !important;
     8  
     9    & h2 {
    10      margin-top: 128px;
    11      margin-bottom: 30px;
    12      max-width: 600px;
    13      text-align: center;
    14      white-space: pre-wrap;
    15  
    16      @media (max-width: 800px) {
    17        margin-top: 64px;
    18        white-space: initial;
    19        margin-left: 24px;
    20        margin-right: 24px;
    21      }
    22    }
    23  
    24    &::after {
    25      content: '';
    26      background: var(--gray-7);
    27      width: 100%;
    28      height: 500px;
    29      position: absolute;
    30      bottom: 0;
    31      z-index: -1;
    32    }
    33  
    34    & .background-section {
    35      width: 100%;
    36      background: var(--gray-7);
    37      & .mono-logos {
    38        display: flex;
    39        justify-content: center;
    40        max-width: 750px;
    41        margin: 0 auto;
    42        margin-top: 70px;
    43        flex-wrap: wrap;
    44  
    45        & img {
    46          max-height: 40px;
    47          width: 33.33%;
    48          padding: 0 30px;
    49          margin: 24px 0;
    50  
    51          @media (max-width: 800px) {
    52            padding: 0 20px;
    53            max-height: 28px;
    54          }
    55        }
    56      }
    57    }
    58  
    59    & .slider-control-bottomcenter {
    60      bottom: -35px !important;
    61    }
    62  
    63    /* Begin `nuka-carousel` styles */
    64    & .slider {
    65      max-width: 1200px;
    66  
    67      &:focus {
    68        outline: none !important;
    69      }
    70  
    71      @media (max-width: 800px) {
    72        width: calc(100% - 48px) !important;
    73      }
    74  
    75      & .slider-list {
    76        margin-bottom: 50px !important;
    77  
    78        @media (max-width: 800px) {
    79          margin-bottom: 30px !important;
    80        }
    81      }
    82  
    83      & .slider-frame:focus {
    84        outline: none !important;
    85      }
    86  
    87      & .slider-slide:focus {
    88        outline: none !important;
    89      }
    90    }
    91  
    92    /* End `nuka-carousel` styles  */
    93  
    94    & .side-control {
    95      border: none;
    96      background: none;
    97      margin: 20px;
    98  
    99      &:focus {
   100        outline: none;
   101      }
   102  
   103      &:hover:not([disabled]) {
   104        cursor: pointer;
   105      }
   106  
   107      @media (max-width: 991px) {
   108        display: none;
   109      }
   110  
   111      & svg path {
   112        stroke: var(--gray-2);
   113      }
   114  
   115      &:disabled svg path {
   116        stroke: var(--gray-5);
   117      }
   118    }
   119  
   120    & .case-slide {
   121      display: flex;
   122      flex-wrap: wrap;
   123      width: 100%;
   124      background: var(--white);
   125      padding: 64px;
   126      box-shadow: 0 8px 22px #dedede;
   127  
   128      @media (max-width: 800px) {
   129        box-shadow: none;
   130        border: 1px solid var(--gray-6);
   131        padding: 48px;
   132      }
   133  
   134      @media (--medium-up) {
   135        max-width: 750px;
   136      }
   137  
   138      & button {
   139        margin-top: 24px;
   140      }
   141  
   142      & .quotes {
   143        display: flex;
   144        margin-bottom: 24px;
   145      }
   146  
   147      & h4 {
   148        margin: 0;
   149  
   150        &.case {
   151          min-height: 130px;
   152          margin-bottom: 24px;
   153          color: var(--gray-2);
   154  
   155          @media (max-width: 800px) {
   156            min-height: 155px;
   157            font-size: 22px;
   158          }
   159  
   160          @media (max-width: 650px) {
   161            min-height: 190px;
   162          }
   163  
   164          @media (max-width: 550px) {
   165            font-size: 20px;
   166          }
   167  
   168          @media (max-width: 400px) {
   169            font-size: 18px;
   170            line-height: 28px;
   171          }
   172        }
   173      }
   174  
   175      & p {
   176        margin: 0;
   177      }
   178  
   179      & a {
   180        margin-top: 24px;
   181      }
   182  
   183      & .case-content {
   184        display: flex;
   185        justify-content: space-between;
   186        width: 100%;
   187        align-items: center;
   188      }
   189  
   190      & .person-container {
   191        display: flex;
   192        align-items: center;
   193  
   194        & picture {
   195          display: flex;
   196        }
   197  
   198        & .person-photo {
   199          border-radius: 50%;
   200          max-height: 72px;
   201          margin-right: 24px;
   202        }
   203  
   204        & .person-name {
   205          & h5 {
   206            margin: 0;
   207  
   208            @media (max-width: 400px) {
   209              font-size: 16px;
   210            }
   211          }
   212  
   213          @media (max-width: 400px) {
   214            & p {
   215              font-size: 15px;
   216            }
   217          }
   218        }
   219      }
   220  
   221      & .company-logo {
   222        max-height: 40px;
   223        max-width: 180px;
   224  
   225        @media (max-width: 800px) {
   226          display: none;
   227        }
   228      }
   229  
   230      & .case {
   231        color: var(--gray-5);
   232        font-size: 24px;
   233        line-height: 31px; /* Called for within the design, no custom property seemed appropriate */
   234      }
   235    }
   236  
   237    & .carousel-controls {
   238      width: 100%;
   239      display: flex;
   240      flex-wrap: nowrap;
   241      justify-content: center;
   242  
   243      & .carousel-controls-button {
   244        height: 20px;
   245        background: transparent;
   246        box-shadow: none;
   247        cursor: pointer;
   248        border: none;
   249      }
   250    }
   251  }