content.css
240 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.bold { |
| 30 | display: block; |
| 31 | width: 100%; |
| 32 | } |
| 33 | .strong-view.bold div { |
| 34 | box-sizing: border-box; |
| 35 | } |
| 36 | .strong-view.bold .testimonial { |
| 37 | max-height: none; |
| 38 | max-width: none; |
| 39 | padding: 0; |
| 40 | width: 100%; |
| 41 | } |
| 42 | .strong-view.bold .testimonial.t-slide { |
| 43 | margin-top: 0; |
| 44 | margin-bottom: 0; |
| 45 | } |
| 46 | .strong-view.bold .testimonial-inner { |
| 47 | display: block; |
| 48 | width: 100%; |
| 49 | height: 100%; |
| 50 | } |
| 51 | .strong-view.bold .testimonial-image { |
| 52 | max-width: 100%; |
| 53 | } |
| 54 | .strong-view.bold .testimonial-field-before { |
| 55 | margin-right: 0.5em; |
| 56 | } |
| 57 | .strong-view.bold a.readmore, |
| 58 | .strong-view.bold a.readmore-toggle { |
| 59 | white-space: nowrap; |
| 60 | z-index: 100; |
| 61 | } |
| 62 | .strong-view.bold a.readmore-toggle:hover { |
| 63 | cursor: pointer; |
| 64 | } |
| 65 | |
| 66 | .strong-view.slider-container { |
| 67 | opacity: 1; |
| 68 | } |
| 69 | .strong-view .screen-reader-text { |
| 70 | clip: rect(1px, 1px, 1px, 1px); |
| 71 | height: 1px; |
| 72 | overflow: hidden; |
| 73 | position: absolute !important; |
| 74 | width: 1px; |
| 75 | word-wrap: normal !important; |
| 76 | } |
| 77 | |
| 78 | .strong-view.bold { |
| 79 | margin-bottom: 1em; |
| 80 | } |
| 81 | .strong-view.bold .testimonial { |
| 82 | margin-bottom: 1em; |
| 83 | text-align: center; |
| 84 | } |
| 85 | .strong-view.bold .testimonial:first-child { |
| 86 | margin-top: 0; |
| 87 | } |
| 88 | .strong-view.bold .testimonial:last-child { |
| 89 | margin-bottom: 0; |
| 90 | } |
| 91 | .strong-view.bold .testimonial-inner { |
| 92 | padding: 20px; |
| 93 | border-radius: 3px; |
| 94 | } |
| 95 | .strong-view.bold .testimonial-content { |
| 96 | background: inherit; |
| 97 | font-size: 2em; |
| 98 | line-height: 1.3; |
| 99 | padding: 0; |
| 100 | } |
| 101 | .strong-view.bold .testimonial-content p:first-of-type { |
| 102 | margin-top: 0; |
| 103 | padding-top: 0; |
| 104 | } |
| 105 | .strong-view.bold .testimonial-content p:last-of-type { |
| 106 | margin-bottom: 0; |
| 107 | padding-bottom: 0; |
| 108 | } |
| 109 | .strong-view.bold .testimonial-image { |
| 110 | margin: 0 auto 20px; |
| 111 | } |
| 112 | .strong-view.bold .testimonial-image img { |
| 113 | border-radius: 3px; |
| 114 | box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4); |
| 115 | } |
| 116 | .strong-view.bold .testimonial-image a { |
| 117 | text-decoration: none; |
| 118 | box-shadow: none; |
| 119 | } |
| 120 | .strong-view.bold .testimonial-client { |
| 121 | font-size: 1.2em; |
| 122 | margin-top: 1em; |
| 123 | } |
| 124 | .strong-view.bold .testimonial-name { |
| 125 | font-weight: 700; |
| 126 | } |
| 127 | .strong-view.bold .readmore a { |
| 128 | background: rgba(255, 255, 255, 0.3); |
| 129 | border-radius: 3px; |
| 130 | font-size: 1.2em; |
| 131 | padding: 0.5em; |
| 132 | display: block; |
| 133 | } |
| 134 | .strong-view.bold .readmore-page { |
| 135 | font-size: 1.2em; |
| 136 | border-radius: 3px; |
| 137 | padding: 1em; |
| 138 | text-align: center; |
| 139 | } |
| 140 | |
| 141 | /* Pagination |
| 142 | -----------------------------------------------*/ |
| 143 | /* Simple pagination |
| 144 | -----------------------------------------------*/ |
| 145 | .strong-view.bold.strong-pager { |
| 146 | display: none; |
| 147 | } |
| 148 | |
| 149 | .simplePagerList { |
| 150 | /* match .strong-content container */ |
| 151 | margin: 20px auto; |
| 152 | text-align: center; |
| 153 | } |
| 154 | |
| 155 | .strong-view ul.simplePagerNav { |
| 156 | margin: 0 auto; |
| 157 | padding: 0; |
| 158 | display: inline-block; |
| 159 | } |
| 160 | .strong-view ul.simplePagerNav li { |
| 161 | display: inline; |
| 162 | list-style: none; |
| 163 | margin: 0; |
| 164 | padding: 0; |
| 165 | } |
| 166 | .strong-view ul.simplePagerNav li a { |
| 167 | margin: 0 0.2em; |
| 168 | padding: 0.1em 0.3em; |
| 169 | outline: none; |
| 170 | text-decoration: none; |
| 171 | transition: background 0.2s ease; |
| 172 | } |
| 173 | .strong-view ul.simplePagerNav li a:hover { |
| 174 | background: #BBB; |
| 175 | color: #FFF; |
| 176 | } |
| 177 | .strong-view ul.simplePagerNav li.currentPage a { |
| 178 | text-decoration: none; |
| 179 | background: #999; |
| 180 | color: #FFF; |
| 181 | } |
| 182 | |
| 183 | .strong-view.rtl ul.simplePagerNav li { |
| 184 | float: right; |
| 185 | } |
| 186 | |
| 187 | /* Standard pagination |
| 188 | -----------------------------------------------*/ |
| 189 | .strong-view .nav-links { |
| 190 | margin: 20px auto; |
| 191 | text-align: center; |
| 192 | } |
| 193 | .strong-view .nav-links a, .strong-view .nav-links span { |
| 194 | display: inline-block; |
| 195 | line-height: 1.5; |
| 196 | margin: 0 0.2em; |
| 197 | padding: 0.1em 0.3em; |
| 198 | transition: background 0.2s ease; |
| 199 | } |
| 200 | .strong-view .nav-links a.current, .strong-view .nav-links span.current { |
| 201 | background: #999; |
| 202 | color: #FFF; |
| 203 | } |
| 204 | .strong-view .nav-links a { |
| 205 | outline: none; |
| 206 | text-decoration: none; |
| 207 | } |
| 208 | .strong-view .nav-links a:hover, |
| 209 | .strong-view .nav-links a.prev:hover, |
| 210 | .strong-view .nav-links a.next:hover, |
| 211 | .strong-view .nav-links span:hover { |
| 212 | background: #BBB; |
| 213 | color: #FFF; |
| 214 | } |
| 215 | |
| 216 | /* Slideshow |
| 217 | -----------------------------------------------*/ |
| 218 | .strong-view.bold.slider-container .strong-content { |
| 219 | margin: 0 auto; |
| 220 | } |
| 221 | .strong-view.bold.slider-container .testimonial:not(:first-child) { |
| 222 | display: none; |
| 223 | } |
| 224 | .strong-view.bold.nav-position-inside .testimonial-inner { |
| 225 | padding-bottom: 60px; |
| 226 | } |
| 227 | .strong-view.bold.controls-type-sides .testimonial-inner { |
| 228 | padding-left: 50px; |
| 229 | padding-right: 50px; |
| 230 | } |
| 231 | |
| 232 | /* Responsive |
| 233 | -----------------------------------------------*/ |
| 234 | @media only screen and (max-width: 640px) { |
| 235 | .strong-view.bold .testimonial-content { |
| 236 | font-size: 1.5em; |
| 237 | line-height: 1.2; |
| 238 | } |
| 239 | } |
| 240 |