PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.7
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.7
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
post-carousel / src / blocks / section-heading / style.scss

style.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.7, at src/blocks/section-heading/style.scss

362 lines 8.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* section heading css for frontend and editor */
2 .sp-section-heading-wrapper {
3 .sp-section-heading-container {
4 display: block;
5
6 &.section-heading-fifteen,
7 &.section-heading-nine,
8 &.section-heading-eight,
9 &.section-heading-twentyOne {
10 overflow: hidden;
11 }
12 .section-heading-tag h2,
13 .section-heading-tag h3,
14 .section-heading-tag h4,
15 .section-heading-tag h5,
16 .sp-heading-text {
17 margin: 0;
18 padding: 0;
19 }
20
21 &.section-heading-two .section-heading-tag {
22 display: inline-block;
23 // .sp-heading-text {
24 // padding: 8px;
25 // }
26 }
27
28 &.section-heading-four .section-heading-tag .sp-heading-text {
29 display: inline-block;
30 }
31 &.section-heading-five .section-heading-tag {
32 position: relative;
33 &::after {
34 content: "";
35 display: block;
36 position: absolute;
37 width: 100%;
38 }
39 // .sp-heading-text {
40 // padding: 8px;
41 // }
42 }
43 &.section-heading-six .section-heading-tag {
44 position: relative;
45 &::after {
46 content: "";
47 display: block;
48 width: 100%;
49 position: absolute;
50 left: 0;
51 bottom: 0;
52 }
53 }
54 &.section-heading-seven .section-heading-tag {
55 position: relative;
56 display: inline-block;
57 &::after {
58 content: "";
59 display: block;
60 width: 40%;
61 position: absolute;
62 bottom: 0;
63 }
64 }
65 &.section-heading-eight .section-heading-tag {
66 position: relative;
67 display: inline-block;
68 &::after {
69 content: "";
70 display: block;
71 width: 100%;
72 position: absolute;
73 left: 105%;
74 top: 50%;
75 transform: translateY(-50%);
76 }
77 }
78 &.section-heading-nine {
79 text-align: center;
80 }
81 &.section-heading-nine .section-heading-tag {
82 position: relative;
83 display: inline-block;
84 &::before,
85 &::after {
86 content: "";
87 display: block;
88 width: 100%;
89 height: 2px;
90 position: absolute;
91 top: 50%;
92 transform: translateY(-50%);
93 }
94 &::before {
95 left: 105%;
96 }
97 &::after {
98 right: 105%;
99 }
100 }
101 &.section-heading-ten .section-heading-tag {
102 position: relative;
103 display: inline-block;
104 &::after {
105 content: "";
106 display: block;
107 width: 50%;
108 position: absolute;
109 left: 22%;
110 bottom: 0;
111 }
112 }
113 &.section-heading-eleven .section-heading-tag {
114 position: relative;
115 display: inline-block;
116 line-height: 100%;
117 clip-path: polygon(100% 0%, 95% 49%, 100% 100%, 0 99%, 0% 50%, 0 0);
118 max-width: 100%;
119 .sp-heading-text {
120 padding: 5px 40px 5px 20px;
121 }
122 }
123 &.section-heading-twelve .section-heading-tag {
124 position: relative;
125 display: inline-block;
126 line-height: 100%;
127 clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
128 .sp-heading-text {
129 padding: 5px 40px 5px 20px;
130 }
131 }
132 &.section-heading-thirteen .section-heading-tag {
133 position: relative;
134 &::before,
135 &::after {
136 content: "";
137 display: block;
138 width: 100%;
139 position: absolute;
140 left: 0;
141 }
142 &::before {
143 top: 0;
144 }
145 &::after {
146 bottom: 0;
147 opacity: 50%;
148 }
149 }
150 &.section-heading-fourteen .section-heading-tag {
151 position: relative;
152 .sp-heading-text {
153 clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
154 max-width: 100%;
155 }
156 &::after {
157 content: "";
158 display: block;
159 width: 100%;
160 position: absolute;
161 bottom: 0;
162 }
163 .sp-heading-text {
164 padding: 5px 40px 5px 20px;
165 }
166 }
167 &.section-heading-fifteen .section-heading-tag {
168 position: relative;
169 .sp-heading-text {
170 margin-left: 100px;
171 position: relative;
172 &::before {
173 content: "";
174 display: block;
175 width: 100px;
176 position: absolute;
177 left: -110px;
178 bottom: 12px;
179 }
180 }
181 }
182 &.section-heading-sixteen .section-heading-tag {
183 position: relative;
184 &::after {
185 content: "";
186 display: block;
187 width: 100%;
188 position: absolute;
189 left: 0;
190 bottom: 0;
191 }
192 }
193 &.section-heading-seventeen .section-heading-tag .sp-heading-text {
194 position: relative;
195 display: inline-block;
196 &::after {
197 content: "";
198 display: block;
199 width: 50%;
200 position: absolute;
201 transform: translateX(50%);
202 display: inline-block;
203 left: 0;
204 bottom: 0;
205 top: 100%;
206 }
207 }
208 &.section-heading-eightTeen .section-heading-tag .sp-heading-text {
209 position: relative;
210 &::after {
211 content: "";
212 display: block;
213 width: 60%;
214 position: absolute;
215 left: 0;
216 bottom: 0;
217 }
218 }
219 &.section-heading-nineteen .section-heading-tag {
220 display: inline-block;
221 position: relative;
222 svg {
223 display: block;
224 width: 100%;
225 position: absolute;
226 bottom: 0;
227 }
228 }
229 &.section-heading-twenty .section-heading-tag .sp-heading-text {
230 position: relative;
231 display: inline-block;
232 &::after {
233 content: "";
234 display: block;
235 width: 100%;
236 position: absolute;
237 left: 0;
238 bottom: 0;
239 }
240 }
241 &.section-heading-twentyOne {
242 text-align: center !important;
243 }
244 &.section-heading-twentyOne .section-heading-tag {
245 position: relative;
246 text-align: center;
247 display: inline-block;
248 .sp-heading-text {
249 position: relative;
250 display: contents;
251 &::before,
252 &::after {
253 content: "";
254 width: 20px;
255 height: 10px;
256 border-radius: 6px;
257 position: absolute;
258 top: 50%;
259 transform: translateY(-50%);
260 }
261 &::before {
262 left: -45px;
263 }
264 &::after {
265 right: -45px;
266 }
267 }
268 &::after,
269 &::before {
270 content: "";
271 width: 200px;
272 height: 10px;
273 border-radius: 6px;
274 position: absolute;
275 top: 50%;
276 transform: translateY(-50%);
277 }
278 &::before {
279 left: calc(100% + 55px);
280 }
281 &::after {
282 right: calc(100% + 55px);
283 }
284 }
285 &.section-heading-twentyTwo .section-heading-tag {
286 border-style: solid;
287 border-top-width: 2px;
288 border-right-width: 2px;
289 border-bottom-width: 2px;
290 border-left-width: 4px;
291 .sp-heading-text {
292 padding: 8px 8px 8px 16px;
293 }
294 }
295 &.section-heading-twentyThree .section-heading-tag {
296 display: inline-block;
297 text-align: right;
298 max-width: 100%;
299 &::after {
300 content: "";
301 position: absolute;
302 border-width: 15px;
303 border-style: solid;
304 border-color: transparent;
305 bottom: -28px;
306 left: 15px;
307 }
308 .sp-heading-text {
309 padding: 5px 20px;
310 }
311 }
312 &.section-heading-twentyFour .section-heading-tag {
313 position: relative;
314 display: inline-block;
315 clip-path: polygon(0% 0%, 94% 0, 100% 50%, 94% 100%, 0% 100%);
316 text-align: right;
317 .sp-heading-text {
318 padding: 5px 32px 5px 20px;
319 }
320 }
321 }
322 }
323
324 .sp-heading-text {
325 font-weight: 600;
326 font-style: normal;
327 text-transform: none;
328 text-decoration: none;
329 font-size: 32px;
330 line-height: 1.2;
331 }
332 .sp-subheading-text {
333 font-weight: 500;
334 font-style: normal;
335 text-transform: none;
336 text-decoration: none;
337 font-size: 16px;
338 line-height: 1.2;
339 }
340 .sp-section-heading-wrapper {
341 .section-heading-tag {
342 color: var( --smart-post-dark-text );
343 }
344 .section-heading-three .section-heading-tag {
345 padding-left: 12px;
346 }
347 .section-heading-two,
348 .section-heading-five,
349 .section-heading-eleven,
350 .section-heading-twelve,
351 .section-heading-fourteen,
352 .section-heading-twentyThree,
353 .section-heading-twentyFour {
354 .section-heading-tag {
355 .sp-heading-text {
356 color: #FFF;
357 padding: 5px 20px;
358 }
359 }
360 }
361 }
362