gutenberg.css (7925B)
1 /*-------------------------------------------------------------- 2 >>> TABLE OF CONTENTS: 3 ---------------------------------------------------------------- 4 # Gutenberg Default Style 5 # Block Color Palette Colors 6 7 --------------------------------------------------------------*/ 8 /*-------------------------------------------------------------- 9 # Gutenberg Default Style 10 --------------------------------------------------------------*/ 11 .single-post-details-item .entry-content > .alignwide { 12 max-width: 1100px; 13 } 14 15 .single-post-details-item .entry-content > .alignfull { 16 margin: 1.5em 0; 17 max-width: 100%; 18 } 19 20 .wp-block-video video { 21 max-width: 636px; 22 } 23 24 .wp-block-image img { 25 display: block; 26 } 27 28 .wp-block-image.alignleft, 29 .wp-block-image.alignright { 30 width: 100%; 31 } 32 33 .wp-block-image.alignfull img { 34 width: 100vw; 35 } 36 37 .wp-block-gallery:not(.components-placeholder) { 38 margin: 1.5em auto; 39 } 40 41 .wp-block-cover-text p { 42 padding: 1.5em 14px; 43 } 44 45 ul.wp-block-latest-posts.alignwide, 46 ul.wp-block-latest-posts.alignfull, 47 ul.wp-block-latest-posts.is-grid.alignwide, 48 ul.wp-block-latest-posts.is-grid.alignwide { 49 padding: 0 14px; 50 } 51 52 .wp-block-table { 53 display: block; 54 overflow-x: auto; 55 } 56 57 .wp-block-table table { 58 border-collapse: collapse; 59 width: 100%; 60 } 61 62 .wp-block-table td, .wp-block-table th { 63 padding: .5em; 64 } 65 66 .wp-block-embed.type-video > .wp-block-embed__wrapper { 67 position: relative; 68 width: 100%; 69 height: 0; 70 padding-top: 56.25%; 71 } 72 73 .wp-block-embed.type-video > .wp-block-embed__wrapper > iframe { 74 position: absolute; 75 width: 100%; 76 height: 100%; 77 top: 0; 78 left: 0; 79 bottom: 0; 80 right: 0; 81 } 82 83 .wp-block-quote.is-large { 84 margin: 0 auto 16px; 85 } 86 87 .wp-block-pullquote > p:first-child { 88 margin-top: 0; 89 } 90 91 .wp-block-separator { 92 margin: 3em auto; 93 padding: 0; 94 } 95 96 @media screen and (min-width: 768px) { 97 .wp-block-cover-text p { 98 padding: 1.5em 0; 99 } 100 } 101 102 .wp-block-image img { 103 display: block; 104 } 105 106 .wp-block-image.alignleft, 107 .wp-block-image.alignright { 108 width: 100%; 109 } 110 111 .wp-block-image.alignfull img { 112 width: 100vw; 113 } 114 115 .wp-block-gallery:not(.components-placeholder) { 116 margin: 1.5em auto; 117 } 118 119 .wp-block-cover-text p { 120 padding: 1.5em 14px; 121 } 122 123 ul.wp-block-latest-posts.alignwide, 124 ul.wp-block-latest-posts.alignfull, 125 ul.wp-block-latest-posts.is-grid.alignwide, 126 ul.wp-block-latest-posts.is-grid.alignwide { 127 padding: 0 14px; 128 } 129 130 .wp-block-table { 131 display: block; 132 overflow-x: auto; 133 } 134 135 .wp-block-table table { 136 border-collapse: collapse; 137 width: 100%; 138 } 139 140 .wp-block-table td, .wp-block-table th { 141 padding: .5em; 142 } 143 144 .wp-block-embed.type-video > .wp-block-embed__wrapper { 145 position: relative; 146 width: 100%; 147 height: 0; 148 padding-top: 56.25%; 149 } 150 151 .wp-block-embed.type-video > .wp-block-embed__wrapper > iframe { 152 position: absolute; 153 width: 100%; 154 height: 100%; 155 top: 0; 156 left: 0; 157 bottom: 0; 158 right: 0; 159 } 160 161 .wp-block-quote.is-large { 162 margin: 0 auto 16px; 163 } 164 165 .wp-block-pullquote > p:first-child { 166 margin-top: 0; 167 } 168 169 .wp-block-quote:not(.is-large):not(.is-style-large) { 170 border-left: 4px solid #000; 171 padding-left: 1em; 172 } 173 174 .wp-block-separator { 175 margin: 3em auto; 176 padding: 0; 177 } 178 179 @media screen and (min-width: 768px) { 180 .wp-block-cover-text p { 181 padding: 1.5em 0; 182 } 183 } 184 185 .wp-block-pullquote { 186 border-top: 4px solid #555d66; 187 border-bottom: 4px solid #555d66; 188 color: #40464d; 189 } 190 .wp-block-button__link { 191 background-color: var(--main-color-one); 192 border: none; 193 border-radius: 28px; 194 box-shadow: none; 195 color: inherit; 196 cursor: pointer; 197 display: inline-block; 198 font-size: 16px; 199 margin: 0; 200 padding: 12px 24px; 201 text-align: center; 202 text-decoration: none; 203 overflow-wrap: break-word; 204 color: #fff !important; 205 transition: all 500ms; 206 } 207 .wp-block-button__link:hover{ 208 background-color: var(--secondary-color); 209 } 210 .has-small-font-size{ 211 font-size: 12px; 212 line-height: 22px; 213 } 214 .has-regular-font-size{ 215 font-size: 16px; 216 line-height: 26px; 217 } 218 .has-large-font-size{ 219 font-size: 20px; 220 line-height: 30px; 221 } 222 .wp-block-gallery:not(.components-placeholder) { 223 margin-right: 20px; 224 } 225 .wp-block-spacer { 226 clear: both; 227 } 228 /*-------------------------------------------------------------- 229 ## Block Color Palette Colors 230 --------------------------------------------------------------*/ 231 .has-strong-blue-color { 232 color: #0073aa; 233 } 234 235 .has-strong-blue-background-color { 236 background-color: #0073aa; 237 } 238 239 .has-lighter-blue-color { 240 color: #229fd8; 241 } 242 243 .has-lighter-blue-background-color { 244 background-color: #229fd8; 245 } 246 247 .has-very-light-gray-color { 248 color: #eee; 249 } 250 251 .has-very-light-gray-background-color { 252 background-color: #eee; 253 } 254 255 .has-very-dark-gray-color { 256 color: #444; 257 } 258 259 .has-very-dark-gray-background-color { 260 background-color: #444; 261 } 262 .has-pale-pink-background-color { 263 background-color: #f78da7; 264 } 265 .has-blue-background-color { 266 background-color: rgb(89, 186, 204); 267 } 268 269 .has-green-background-color { 270 background-color: rgb(88, 173, 105); 271 } 272 .has-orange-background-color { 273 background-color: rgb(255, 188, 73); 274 } 275 .has-red-background-color { 276 background-color: rgb(226, 87, 76); 277 } 278 279 .wp-block-quote.is-style-large { 280 padding-left: 80px; 281 border-left: 5px solid var(--main-color-one) !important; 282 } 283 284 .is-style-large.wp-block-quote:before { 285 position: absolute; 286 top: 50px; 287 left: 20px; 288 } 289 290 .wp-block-quote.is-style-large cite{ 291 text-align: left; 292 } 293 .wp-block-quote[style*="text-align:right"], 294 .wp-block-quote[style*="text-align: right"]{ 295 border-left: 1px solid #f1f1f1 !important; 296 border-right: 5px solid var(--main-color-one) !important; 297 } 298 .wp-block-quote[style*="text-align:right"]:before, 299 .wp-block-quote[style*="text-align: right"]:before { 300 position: absolute; 301 right: 10px; 302 top: 30px; 303 font-family: 'fontawesome'; 304 content: "\f10e"; 305 font-size: 35px; 306 line-height: 1; 307 display: inline-block; 308 float: left; 309 margin-right: 20px; 310 color: var(--main-color-one); 311 z-index: -1; 312 313 } 314 .wp-block-quote[style*="text-align:right"], 315 .wp-block-quote[style*="text-align: right"] { 316 padding-right: 90px; 317 } 318 319 .wp-block-latest-comments { 320 margin: 0; 321 padding: 0; 322 list-style: none; 323 } 324 325 .wp-block-latest-comments li:before { 326 display: none; 327 } 328 .wp-block-latest-posts { 329 margin: 0; 330 padding: 0; 331 list-style: none; 332 } 333 334 .wp-block-latest-posts li a { 335 font-size: 18px; 336 line-height: 28px; 337 color: var(--heading-color); 338 } 339 340 .wp-block-latest-posts li+li { 341 margin-top: 15px; 342 } 343 344 .wp-block-archives.wp-block-archives-list, 345 .wp-block-archives.wp-block-archives-dropdown, 346 .wp-block-categories.wp-block-categories-list, 347 .wp-block-latest-comments, 348 .wp-block-latest-posts 349 { 350 margin-bottom: 30px; 351 } 352 .wp-block-pullquote blockquote:after, 353 .single-post-details-item .entry-content blockquote:not([class]):after, 354 .appside-page-content-area blockquote:not([class]):after { 355 display: none !important; 356 } 357 358 .wp-block-pullquote blockquote { 359 border-left: none; 360 } 361 362 .single-post-details-item .entry-content .wp-block-pullquote blockquote:not([class]), 363 .appside-page-content-area .wp-block-pullquote blockquote:not([class]){ 364 border-left: none; 365 } 366 .wp-block-pullquote p { 367 font-style: normal; 368 } 369 370 ul li { 371 line-height: 1.8; 372 } 373 dl dd { 374 margin-left: 20px; 375 } 376 dl{ 377 padding-left: 0px; 378 } 379 .wp-block-quote p { 380 font-weight: 400; 381 } 382 383 .is-style-outline .wp-block-button__link { 384 background-color: transparent; 385 border: 1px solid; 386 color: #000 !important; 387 } 388 .is-style-outline .wp-block-button__link:hover{ 389 background-color:var(--main-color-one); 390 color: #fff !important; 391 } 392 .wp-block-button{ 393 margin-bottom: 20px; 394 } 395 .wp-block-cover{ 396 color: #fff; 397 margin-bottom: 20px; 398 } 399 .wp-block-quote.is-style-large cite { 400 margin-left: 0; 401 padding-bottom: 30px; 402 }