content.css
268 lines
| 1 | /** |
| 2 | * Strong Testimonials Bold template |
| 3 | */ |
| 4 | /* Clears |
| 5 | -----------------------------------------------*/ |
| 6 | .clear { |
| 7 | clear: both; |
| 8 | } |
| 9 | |
| 10 | /** |
| 11 | Minimum paragraph width means no short words in skinny space next to image |
| 12 | in columns or small screens. |
| 13 | |
| 14 | This workaround is needed until we can use flexbox properly |
| 15 | or CSS offers container queries. |
| 16 | |
| 17 | Thanks https://css-tricks.com/minimum-paragraph-widths/ |
| 18 | */ |
| 19 | .maybe-clear { |
| 20 | content: ""; |
| 21 | /* this value seems to work well in both responsive and Masonry */ |
| 22 | width: 6em; |
| 23 | display: block; |
| 24 | overflow: hidden; |
| 25 | } |
| 26 | |
| 27 | /* Base |
| 28 | -----------------------------------------------*/ |
| 29 | .strong-view.wpmtst-bold { |
| 30 | display: block; |
| 31 | width: 100%; |
| 32 | } |
| 33 | .strong-view.wpmtst-bold div { |
| 34 | box-sizing: border-box; |
| 35 | } |
| 36 | .strong-view.wpmtst-bold .wpmtst-testimonial { |
| 37 | max-height: none; |
| 38 | max-width: none; |
| 39 | padding: 0; |
| 40 | width: 100%; |
| 41 | } |
| 42 | .strong-view.wpmtst-bold .wpmtst-testimonial.t-slide { |
| 43 | margin-top: 0; |
| 44 | margin-bottom: 0; |
| 45 | } |
| 46 | |
| 47 | .strong-view.wpmtst-bold .wpmtst-testimonial-inner { |
| 48 | display: block; |
| 49 | width: 100%; |
| 50 | height: 100%; |
| 51 | } |
| 52 | .strong-view.wpmtst-bold .wpmtst-testimonial-image { |
| 53 | max-width: 100%; |
| 54 | } |
| 55 | .strong-view.wpmtst-bold .wpmtst-testimonial-field-before { |
| 56 | margin-right: 0.5em; |
| 57 | } |
| 58 | .strong-view.wpmtst-bold a.readmore, |
| 59 | .strong-view.wpmtst-bold a.readmore-toggle { |
| 60 | white-space: nowrap; |
| 61 | z-index: 100; |
| 62 | } |
| 63 | .strong-view.wpmtst-bold a.readmore-toggle:hover { |
| 64 | cursor: pointer; |
| 65 | } |
| 66 | |
| 67 | .strong-view.slider-container { |
| 68 | opacity: 1; |
| 69 | } |
| 70 | .strong-view .screen-reader-text { |
| 71 | clip: rect(1px, 1px, 1px, 1px); |
| 72 | height: 1px; |
| 73 | overflow: hidden; |
| 74 | position: absolute !important; |
| 75 | width: 1px; |
| 76 | word-wrap: normal !important; |
| 77 | } |
| 78 | |
| 79 | .strong-view.wpmtst-bold { |
| 80 | margin-bottom: 1em; |
| 81 | } |
| 82 | .strong-view.wpmtst-bold .wpmtst-testimonial { |
| 83 | margin-bottom: 1em; |
| 84 | text-align: center; |
| 85 | } |
| 86 | .strong-view.wpmtst-bold .wpmtst-testimonial:first-child { |
| 87 | margin-top: 0; |
| 88 | |
| 89 | } |
| 90 | .strong-view.wpmtst-bold .wpmtst-testimonial:last-child { |
| 91 | margin-bottom: 0; |
| 92 | } |
| 93 | .strong-view.wpmtst-bold .wpmtst-testimonial-inner { |
| 94 | padding: 20px; |
| 95 | border-radius: 3px; |
| 96 | } |
| 97 | .strong-view.wpmtst-bold .wpmtst-testimonial-inner > *:not(:nth-last-child(2)):not(:last-child) { |
| 98 | margin-bottom: 5px; |
| 99 | } |
| 100 | .strong-view.wpmtst-bold .wpmtst-testimonial-content { |
| 101 | background: inherit; |
| 102 | font-size: 2em; |
| 103 | line-height: 1.3; |
| 104 | padding: 0; |
| 105 | } |
| 106 | .strong-view.wpmtst-bold .wpmtst-testimonial-content p:first-of-type { |
| 107 | margin-top: 0; |
| 108 | padding-top: 0; |
| 109 | } |
| 110 | .strong-view.wpmtst-bold .wpmtst-testimonial-content p:last-of-type { |
| 111 | margin-bottom: 0; |
| 112 | padding-bottom: 0; |
| 113 | } |
| 114 | .strong-view.wpmtst-bold .wpmtst-testimonial-image { |
| 115 | margin: 0 auto 20px; |
| 116 | } |
| 117 | .strong-view.wpmtst-bold .wpmtst-testimonial-image img { |
| 118 | border-radius: 3px; |
| 119 | box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4); |
| 120 | } |
| 121 | .strong-view.wpmtst-bold .wpmtst-testimonial-image a { |
| 122 | text-decoration: none; |
| 123 | box-shadow: none; |
| 124 | } |
| 125 | .strong-view.wpmtst-bold .wpmtst-testimonial-image .initials { |
| 126 | text-align: center; |
| 127 | font-size: 42px; |
| 128 | font-weight: bold; |
| 129 | background-color: #f9f9f9; |
| 130 | border-radius: 3px; |
| 131 | box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4); |
| 132 | display: table-cell; |
| 133 | vertical-align: middle; |
| 134 | } |
| 135 | .strong-view.wpmtst-bold .wpmtst-testimonial-field { |
| 136 | font-size: 1.2em; |
| 137 | } |
| 138 | .strong-view.wpmtst-bold .wpmtst-testimonial-name { |
| 139 | font-weight: 700; |
| 140 | } |
| 141 | .strong-view.wpmtst-bold .readmore a { |
| 142 | background: rgba(255, 255, 255, 0.3); |
| 143 | border-radius: 3px; |
| 144 | font-size: 1.2em; |
| 145 | padding: 0.5em; |
| 146 | display: block; |
| 147 | } |
| 148 | .strong-view.wpmtst-bold .readmore-page { |
| 149 | font-size: 1.2em; |
| 150 | border-radius: 3px; |
| 151 | padding: 1em; |
| 152 | text-align: center; |
| 153 | } |
| 154 | |
| 155 | /* Pagination |
| 156 | -----------------------------------------------*/ |
| 157 | /* Simple pagination |
| 158 | -----------------------------------------------*/ |
| 159 | .strong-view.wpmtst-bold.strong-pager { |
| 160 | display: none; |
| 161 | } |
| 162 | |
| 163 | .simplePagerList { |
| 164 | /* match .strong-content container */ |
| 165 | margin: 20px auto; |
| 166 | text-align: center; |
| 167 | } |
| 168 | |
| 169 | .strong-view ul.simplePagerNav { |
| 170 | margin: 0 auto; |
| 171 | padding: 0; |
| 172 | display: inline-block; |
| 173 | } |
| 174 | .strong-view ul.simplePagerNav li { |
| 175 | display: inline; |
| 176 | list-style: none; |
| 177 | margin: 0; |
| 178 | padding: 0; |
| 179 | } |
| 180 | .strong-view ul.simplePagerNav li a { |
| 181 | margin: 0 0.2em; |
| 182 | padding: 0.1em 0.3em; |
| 183 | outline: none; |
| 184 | text-decoration: none; |
| 185 | transition: background 0.2s ease; |
| 186 | } |
| 187 | .strong-view ul.simplePagerNav li a:hover { |
| 188 | background: #BBB; |
| 189 | color: #FFF; |
| 190 | } |
| 191 | .strong-view ul.simplePagerNav li.currentPage a { |
| 192 | text-decoration: none; |
| 193 | background: #999; |
| 194 | color: #FFF; |
| 195 | } |
| 196 | |
| 197 | .strong-view.rtl ul.simplePagerNav li { |
| 198 | float: right; |
| 199 | } |
| 200 | |
| 201 | /* Standard pagination |
| 202 | -----------------------------------------------*/ |
| 203 | .strong-view .nav-links { |
| 204 | margin: 20px auto; |
| 205 | text-align: center; |
| 206 | } |
| 207 | .strong-view .nav-links a, .strong-view .nav-links span { |
| 208 | display: inline-block; |
| 209 | line-height: 1.5; |
| 210 | margin: 0 0.2em; |
| 211 | padding: 0.1em 0.3em; |
| 212 | transition: background 0.2s ease; |
| 213 | } |
| 214 | .strong-view .nav-links a.current, .strong-view .nav-links span.current { |
| 215 | background: #999; |
| 216 | color: #FFF; |
| 217 | } |
| 218 | .strong-view .nav-links a { |
| 219 | outline: none; |
| 220 | text-decoration: none; |
| 221 | } |
| 222 | .strong-view .nav-links a:hover, |
| 223 | .strong-view .nav-links a.prev:hover, |
| 224 | .strong-view .nav-links a.next:hover, |
| 225 | .strong-view .nav-links span:hover { |
| 226 | background: #BBB; |
| 227 | color: #FFF; |
| 228 | } |
| 229 | |
| 230 | /* Slideshow |
| 231 | -----------------------------------------------*/ |
| 232 | .strong-view.wpmtst-bold.slider-container .strong-content { |
| 233 | margin: 0 auto; |
| 234 | } |
| 235 | .strong-view.wpmtst-bold.slider-container .wpmtst-testimonial:not(:first-child) { |
| 236 | display: none; |
| 237 | } |
| 238 | .strong-view.wpmtst-bold.nav-position-inside .wpmtst-testimonial-inner { |
| 239 | padding-bottom: 60px; |
| 240 | } |
| 241 | .strong-view.wpmtst-bold.controls-type-sides .wpmtst-testimonial-inner { |
| 242 | padding-left: 50px; |
| 243 | padding-right: 50px; |
| 244 | } |
| 245 | |
| 246 | /* Responsive |
| 247 | -----------------------------------------------*/ |
| 248 | @media only screen and (max-width: 640px) { |
| 249 | .strong-view.wpmtst-bold .wpmtst-testimonial-content { |
| 250 | font-size: 1.5em; |
| 251 | line-height: 1.2; |
| 252 | } |
| 253 | } |
| 254 | |
| 255 | .strong-view.wpmtst-bold .disabled { |
| 256 | display: none!important; |
| 257 | } |
| 258 | |
| 259 | .wpmslider-controls.disabled { |
| 260 | display: block !important; |
| 261 | } |
| 262 | |
| 263 | /* Compatibility with metaslider pro layers display |
| 264 | ----------------------------------------------------*/ |
| 265 | |
| 266 | .msHtmlOverlay .layer .disabled { |
| 267 | display: block !important; |
| 268 | } |