github.com/uchennaokeke444/nomad@v0.11.8/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: 0px; 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 0px; 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 /* End `nuka-carousel` styles */ 92 93 & .side-control { 94 border: none; 95 background: none; 96 margin: 20px; 97 98 &:focus { 99 outline: none; 100 } 101 102 &:hover:not([disabled]) { 103 cursor: pointer; 104 } 105 106 @media (max-width: 991px) { 107 display: none; 108 } 109 110 & svg path { 111 stroke: var(--gray-2); 112 } 113 114 &:disabled svg path { 115 stroke: var(--gray-5); 116 } 117 } 118 119 & .case-slide { 120 display: flex; 121 flex-wrap: wrap; 122 width: 100%; 123 background: var(--white); 124 padding: 64px; 125 box-shadow: 0px 8px 22px #dedede; 126 127 @media (max-width: 800px) { 128 box-shadow: none; 129 border: 1px solid var(--gray-6); 130 padding: 48px; 131 } 132 133 @media (--medium-up) { 134 max-width: 750px; 135 } 136 137 & button { 138 margin-top: 24px; 139 } 140 141 & .quotes { 142 display: flex; 143 margin-bottom: 24px; 144 } 145 146 & h4 { 147 margin: 0; 148 149 &.case { 150 min-height: 130px; 151 margin-bottom: 24px; 152 color: var(--gray-2); 153 154 @media (max-width: 800px) { 155 min-height: 155px; 156 font-size: 22px; 157 } 158 159 @media (max-width: 650px) { 160 min-height: 190px; 161 } 162 163 @media (max-width: 550px) { 164 font-size: 20px; 165 } 166 167 @media (max-width: 400px) { 168 font-size: 18px; 169 line-height: 28px; 170 } 171 } 172 } 173 174 & p { 175 margin: 0; 176 } 177 178 & a { 179 margin-top: 24px; 180 } 181 182 & .case-content { 183 display: flex; 184 justify-content: space-between; 185 width: 100%; 186 align-items: center; 187 } 188 189 & .person-container { 190 display: flex; 191 align-items: center; 192 193 & picture { 194 display: flex; 195 } 196 197 & .person-photo { 198 border-radius: 50%; 199 max-height: 72px; 200 margin-right: 24px; 201 } 202 203 & .person-name { 204 & h5 { 205 margin: 0; 206 } 207 208 @media (max-width: 400px) { 209 & h5 { 210 font-size: 16px; 211 } 212 & p { 213 font-size: 15px; 214 } 215 } 216 } 217 } 218 219 & .company-logo { 220 max-height: 40px; 221 max-width: 180px; 222 223 @media (max-width: 800px) { 224 display: none; 225 } 226 } 227 228 & .case { 229 color: var(--gray-5); 230 font-size: 24px; 231 line-height: 31px; /* Called for within the design, no custom property seemed appropriate*/ 232 } 233 } 234 235 & .carousel-controls { 236 width: 100%; 237 display: flex; 238 flex-wrap: nowrap; 239 justify-content: center; 240 241 & .carousel-controls-button { 242 height: 20px; 243 background: transparent; 244 box-shadow: none; 245 cursor: pointer; 246 border: none; 247 } 248 } 249 }