| | 1 | /* |
| | 2 | Theme Name: Twenty Seventeen |
| | 3 | Description: Used to style Gutenberg Blocks in the editor. |
| | 4 | */ |
| | 5 | |
| | 6 | /*-------------------------------------------------------------- |
| | 7 | >>> TABLE OF CONTENTS: |
| | 8 | ---------------------------------------------------------------- |
| | 9 | 1.0 General Typography |
| | 10 | 2.0 General Block Settings |
| | 11 | 3.0 Blocks - Common Blocks |
| | 12 | 4.0 Blocks - Formatting |
| | 13 | 5.0 Blocks - Layout Elements |
| | 14 | 6.0 Blocks - Widgets |
| | 15 | |
| | 16 | --------------------------------------------------------------*/ |
| | 17 | |
| | 18 | /*-------------------------------------------------------------- |
| | 19 | 1.0 General Typography |
| | 20 | --------------------------------------------------------------*/ |
| | 21 | |
| | 22 | .edit-post-visual-editor .editor-block-list__block, |
| | 23 | .editor-default-block-appender input[type="text"].editor-default-block-appender__content { |
| | 24 | font-size: 15px; |
| | 25 | font-size: 0.9375rem; |
| | 26 | } |
| | 27 | |
| | 28 | .edit-post-visual-editor .editor-block-list__block { |
| | 29 | color: #333; |
| | 30 | } |
| | 31 | |
| | 32 | .editor-post-title__block .editor-post-title__input { |
| | 33 | color: #333; |
| | 34 | font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; |
| | 35 | font-size: 20px; |
| | 36 | font-size: 1.25rem; |
| | 37 | font-weight: 300; |
| | 38 | } |
| | 39 | |
| | 40 | @media screen and (min-width: 30em) { |
| | 41 | |
| | 42 | .edit-post-visual-editor .editor-block-list__block { |
| | 43 | font-size: 18px; |
| | 44 | font-size: 1.125rem; |
| | 45 | } |
| | 46 | |
| | 47 | .editor-post-title__block .editor-post-title__input { |
| | 48 | font-size: 26px; |
| | 49 | font-size: 1.625rem; |
| | 50 | } |
| | 51 | |
| | 52 | .edit-post-visual-editor .editor-block-list__block h1 { |
| | 53 | font-size: 30px; |
| | 54 | font-size: 1.875rem; |
| | 55 | } |
| | 56 | |
| | 57 | .edit-post-visual-editor .editor-block-list__block h2 { |
| | 58 | font-size: 26px; |
| | 59 | font-size: 1.625rem; |
| | 60 | } |
| | 61 | |
| | 62 | .edit-post-visual-editor .editor-block-list__block h3 { |
| | 63 | font-size: 22px; |
| | 64 | font-size: 1.375rem; |
| | 65 | } |
| | 66 | |
| | 67 | .edit-post-visual-editor .editor-block-list__block h4 { |
| | 68 | font-size: 18px; |
| | 69 | font-size: 1.125rem; |
| | 70 | } |
| | 71 | |
| | 72 | .edit-post-visual-editor .editor-block-list__block h5 { |
| | 73 | font-size: 13px; |
| | 74 | font-size: 0.8125rem; |
| | 75 | } |
| | 76 | |
| | 77 | .edit-post-visual-editor .editor-block-list__block h6 { |
| | 78 | font-size: 16px; |
| | 79 | font-size: 1rem; |
| | 80 | } |
| | 81 | } |
| | 82 | |
| | 83 | @media screen and (min-width: 48em) { |
| | 84 | |
| | 85 | .edit-post-visual-editor .editor-block-list__block { |
| | 86 | font-size: 16px; |
| | 87 | font-size: 1rem; |
| | 88 | } |
| | 89 | |
| | 90 | .editor-rich-text__tinymce.mce-content-body { |
| | 91 | line-height: 1.5; |
| | 92 | } |
| | 93 | } |
| | 94 | |
| | 95 | /* Typography for Arabic Font */ |
| | 96 | |
| | 97 | html[lang="ar"] .edit-post-visual-editor .editor-block-list__block, |
| | 98 | html[lang="ary"] .edit-post-visual-editor .editor-block-list__block, |
| | 99 | html[lang="azb"] .edit-post-visual-editor .editor-block-list__block, |
| | 100 | html[lang="fa-IR"] .edit-post-visual-editor .editor-block-list__block, |
| | 101 | html[lang="haz"] .edit-post-visual-editor .editor-block-list__block, |
| | 102 | html[lang="ps"] .edit-post-visual-editor .editor-block-list__block, |
| | 103 | html[lang="ur"] .edit-post-visual-editor .editor-block-list__block { |
| | 104 | font-family: Tahoma, Arial, sans-serif; |
| | 105 | } |
| | 106 | |
| | 107 | html[lang="ar"] .edit-post-visual-editor h1, |
| | 108 | html[lang="ar"] .edit-post-visual-editor h2, |
| | 109 | html[lang="ar"] .edit-post-visual-editor h3, |
| | 110 | html[lang="ar"] .edit-post-visual-editor h4, |
| | 111 | html[lang="ar"] .edit-post-visual-editor h5, |
| | 112 | html[lang="ar"] .edit-post-visual-editor h6, |
| | 113 | html[lang="ary"] .edit-post-visual-editor h1, |
| | 114 | html[lang="ary"] .edit-post-visual-editor h2, |
| | 115 | html[lang="ary"] .edit-post-visual-editor h3, |
| | 116 | html[lang="ary"] .edit-post-visual-editor h4, |
| | 117 | html[lang="ary"] .edit-post-visual-editor h5, |
| | 118 | html[lang="ary"] .edit-post-visual-editor h6, |
| | 119 | html[lang="azb"] .edit-post-visual-editor h1, |
| | 120 | html[lang="azb"] .edit-post-visual-editor h2, |
| | 121 | html[lang="azb"] .edit-post-visual-editor h3, |
| | 122 | html[lang="azb"] .edit-post-visual-editor h4, |
| | 123 | html[lang="azb"] .edit-post-visual-editor h5, |
| | 124 | html[lang="azb"] .edit-post-visual-editor h6, |
| | 125 | html[lang="fa-IR"] .edit-post-visual-editor h1, |
| | 126 | html[lang="fa-IR"] .edit-post-visual-editor h2, |
| | 127 | html[lang="fa-IR"] .edit-post-visual-editor h3, |
| | 128 | html[lang="fa-IR"] .edit-post-visual-editor h4, |
| | 129 | html[lang="fa-IR"] .edit-post-visual-editor h5, |
| | 130 | html[lang="fa-IR"] .edit-post-visual-editor h6, |
| | 131 | html[lang="haz"] .edit-post-visual-editor h1, |
| | 132 | html[lang="haz"] .edit-post-visual-editor h2, |
| | 133 | html[lang="haz"] .edit-post-visual-editor h3, |
| | 134 | html[lang="haz"] .edit-post-visual-editor h4, |
| | 135 | html[lang="haz"] .edit-post-visual-editor h5, |
| | 136 | html[lang="haz"] .edit-post-visual-editor h6, |
| | 137 | html[lang="ps"] .edit-post-visual-editor h1, |
| | 138 | html[lang="ps"] .edit-post-visual-editor h2, |
| | 139 | html[lang="ps"] .edit-post-visual-editor h3, |
| | 140 | html[lang="ps"] .edit-post-visual-editor h4, |
| | 141 | html[lang="ps"] .edit-post-visual-editor h5, |
| | 142 | html[lang="ps"] .edit-post-visual-editor h6, |
| | 143 | html[lang="ur"] .edit-post-visual-editor h1, |
| | 144 | html[lang="ur"] .edit-post-visual-editor h2, |
| | 145 | html[lang="ur"] .edit-post-visual-editor h3, |
| | 146 | html[lang="ur"] .edit-post-visual-editor h4, |
| | 147 | html[lang="ur"] .edit-post-visual-editor h5, |
| | 148 | html[lang="ur"] .edit-post-visual-editor h6 { |
| | 149 | font-weight: 700; |
| | 150 | } |
| | 151 | |
| | 152 | /* Typography for Chinese Font */ |
| | 153 | |
| | 154 | html[lang^="zh-"] .edit-post-visual-editor .editor-block-list__block, |
| | 155 | html[lang="zh-CN"] .edit-post-visual-editor .editor-block-list__block { |
| | 156 | font-family: "PingFang TC", "Helvetica Neue", Helvetica, STHeitiTC-Light, Arial, sans-serif; |
| | 157 | } |
| | 158 | |
| | 159 | html[lang^="zh-"] .edit-post-visual-editor h1, |
| | 160 | html[lang^="zh-"] .edit-post-visual-editor h2, |
| | 161 | html[lang^="zh-"] .edit-post-visual-editor h3, |
| | 162 | html[lang^="zh-"] .edit-post-visual-editor h4, |
| | 163 | html[lang^="zh-"] .edit-post-visual-editor h5, |
| | 164 | html[lang^="zh-"] .edit-post-visual-editor h6 { |
| | 165 | font-weight: 700; |
| | 166 | } |
| | 167 | |
| | 168 | /* Typography for Cyrillic Font */ |
| | 169 | |
| | 170 | html[lang="bg-BG"] .edit-post-visual-editor .editor-block-list__block, |
| | 171 | html[lang="ru-RU"] .edit-post-visual-editor .editor-block-list__block, |
| | 172 | html[lang="uk"] .edit-post-visual-editor .editor-block-list__block { |
| | 173 | font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif; |
| | 174 | } |
| | 175 | |
| | 176 | html[lang="bg-BG"] .edit-post-visual-editor h1, |
| | 177 | html[lang="bg-BG"] .edit-post-visual-editor h2, |
| | 178 | html[lang="bg-BG"] .edit-post-visual-editor h3, |
| | 179 | html[lang="bg-BG"] .edit-post-visual-editor h4, |
| | 180 | html[lang="bg-BG"] .edit-post-visual-editor h5, |
| | 181 | html[lang="bg-BG"] .edit-post-visual-editor h6, |
| | 182 | html[lang="ru-RU"] .edit-post-visual-editor h1, |
| | 183 | html[lang="ru-RU"] .edit-post-visual-editor h2, |
| | 184 | html[lang="ru-RU"] .edit-post-visual-editor h3, |
| | 185 | html[lang="ru-RU"] .edit-post-visual-editor h4, |
| | 186 | html[lang="ru-RU"] .edit-post-visual-editor h5, |
| | 187 | html[lang="ru-RU"] .edit-post-visual-editor h6, |
| | 188 | html[lang="uk"] .edit-post-visual-editor h1, |
| | 189 | html[lang="uk"] .edit-post-visual-editor h2, |
| | 190 | html[lang="uk"] .edit-post-visual-editor h3, |
| | 191 | html[lang="uk"] .edit-post-visual-editor h4, |
| | 192 | html[lang="uk"] .edit-post-visual-editor h5, |
| | 193 | html[lang="uk"] .edit-post-visual-editor h6 { |
| | 194 | font-weight: 700; |
| | 195 | line-height: 1.2; |
| | 196 | } |
| | 197 | |
| | 198 | /* Typography for Devanagari Font */ |
| | 199 | |
| | 200 | html[lang="bn-BD"] .edit-post-visual-editor .editor-block-list__block, |
| | 201 | html[lang="hi-IN"] .edit-post-visual-editor .editor-block-list__block, |
| | 202 | html[lang="mr-IN"] .edit-post-visual-editor .editor-block-list__block { |
| | 203 | font-family: Arial, sans-serif; |
| | 204 | } |
| | 205 | |
| | 206 | html[lang="bn-BD"] .edit-post-visual-editor h1, |
| | 207 | html[lang="bn-BD"] .edit-post-visual-editor h2, |
| | 208 | html[lang="bn-BD"] .edit-post-visual-editor h3, |
| | 209 | html[lang="bn-BD"] .edit-post-visual-editor h4, |
| | 210 | html[lang="bn-BD"] .edit-post-visual-editor h5, |
| | 211 | html[lang="bn-BD"] .edit-post-visual-editor h6, |
| | 212 | html[lang="hi-IN"] .edit-post-visual-editor h1, |
| | 213 | html[lang="hi-IN"] .edit-post-visual-editor h2, |
| | 214 | html[lang="hi-IN"] .edit-post-visual-editor h3, |
| | 215 | html[lang="hi-IN"] .edit-post-visual-editor h4, |
| | 216 | html[lang="hi-IN"] .edit-post-visual-editor h5, |
| | 217 | html[lang="hi-IN"] .edit-post-visual-editor h6, |
| | 218 | html[lang="mr-IN"] .edit-post-visual-editor h1, |
| | 219 | html[lang="mr-IN"] .edit-post-visual-editor h2, |
| | 220 | html[lang="mr-IN"] .edit-post-visual-editor h3, |
| | 221 | html[lang="mr-IN"] .edit-post-visual-editor h4, |
| | 222 | html[lang="mr-IN"] .edit-post-visual-editor h5, |
| | 223 | html[lang="mr-IN"] .edit-post-visual-editor h6 { |
| | 224 | font-weight: 700; |
| | 225 | } |
| | 226 | |
| | 227 | /* Typography for Greek Font */ |
| | 228 | |
| | 229 | html[lang="el"] .edit-post-visual-editor .editor-block-list__block { |
| | 230 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
| | 231 | } |
| | 232 | |
| | 233 | html[lang="el"] .edit-post-visual-editor h1, |
| | 234 | html[lang="el"] .edit-post-visual-editor h2, |
| | 235 | html[lang="el"] .edit-post-visual-editor h3, |
| | 236 | html[lang="el"] .edit-post-visual-editor h4, |
| | 237 | html[lang="el"] .edit-post-visual-editor h5, |
| | 238 | html[lang="el"] .edit-post-visual-editor h6 { |
| | 239 | font-weight: 700; |
| | 240 | line-height: 1.3; |
| | 241 | } |
| | 242 | |
| | 243 | /* Typography for Gujarati Font */ |
| | 244 | |
| | 245 | html[lang="gu-IN"] .edit-post-visual-editor .editor-block-list__block { |
| | 246 | font-family: Arial, sans-serif; |
| | 247 | } |
| | 248 | |
| | 249 | html[lang="gu-IN"] .edit-post-visual-editor h1, |
| | 250 | html[lang="gu-IN"] .edit-post-visual-editor h2, |
| | 251 | html[lang="gu-IN"] .edit-post-visual-editor h3, |
| | 252 | html[lang="gu-IN"] .edit-post-visual-editor h4, |
| | 253 | html[lang="gu-IN"] .edit-post-visual-editor h5, |
| | 254 | html[lang="gu-IN"] .edit-post-visual-editor h6 { |
| | 255 | font-weight: 700; |
| | 256 | } |
| | 257 | |
| | 258 | /* Typography for Hebrew Font */ |
| | 259 | |
| | 260 | html[lang="he-IL"] .edit-post-visual-editor .editor-block-list__block { |
| | 261 | font-family: "Arial Hebrew", Arial, sans-serif; |
| | 262 | } |
| | 263 | |
| | 264 | html[lang="he-IL"] .edit-post-visual-editor h1, |
| | 265 | html[lang="he-IL"] .edit-post-visual-editor h2, |
| | 266 | html[lang="he-IL"] .edit-post-visual-editor h3, |
| | 267 | html[lang="he-IL"] .edit-post-visual-editor h4, |
| | 268 | html[lang="he-IL"] .edit-post-visual-editor h5, |
| | 269 | html[lang="he-IL"] .edit-post-visual-editor h6 { |
| | 270 | font-weight: 700; |
| | 271 | } |
| | 272 | |
| | 273 | /* Typography for Japanese Font */ |
| | 274 | |
| | 275 | html[lang="ja"] .edit-post-visual-editor .editor-block-list__block { |
| | 276 | font-family: "Hiragino Kaku Gothic Pro", Meiryo, sans-serif; |
| | 277 | } |
| | 278 | |
| | 279 | html[lang="ja"] .edit-post-visual-editor h1, |
| | 280 | html[lang="ja"] .edit-post-visual-editor h2, |
| | 281 | html[lang="ja"] .edit-post-visual-editor h3, |
| | 282 | html[lang="ja"] .edit-post-visual-editor h4, |
| | 283 | html[lang="ja"] .edit-post-visual-editor h5, |
| | 284 | html[lang="ja"] .edit-post-visual-editor h6 { |
| | 285 | font-weight: 700; |
| | 286 | } |
| | 287 | |
| | 288 | /* Typography for Korean font */ |
| | 289 | |
| | 290 | html[lang="ko-KR"] .edit-post-visual-editor .editor-block-list__block { |
| | 291 | font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", Dotum, sans-serif; |
| | 292 | } |
| | 293 | |
| | 294 | html[lang="ko-KR"] .edit-post-visual-editor h1, |
| | 295 | html[lang="ko-KR"] .edit-post-visual-editor h2, |
| | 296 | html[lang="ko-KR"] .edit-post-visual-editor h3, |
| | 297 | html[lang="ko-KR"] .edit-post-visual-editor h4, |
| | 298 | html[lang="ko-KR"] .edit-post-visual-editor h5, |
| | 299 | html[lang="ko-KR"] .edit-post-visual-editor h6 { |
| | 300 | font-weight: 600; |
| | 301 | } |
| | 302 | |
| | 303 | /* Typography for Thai Font */ |
| | 304 | |
| | 305 | html[lang="th"] .edit-post-visual-editor .editor-block-list__block { |
| | 306 | line-height: 1.8; |
| | 307 | font-family: "Sukhumvit Set", "Helvetica Neue", Helvetica, Arial, sans-serif; |
| | 308 | } |
| | 309 | |
| | 310 | html[lang="th"] .edit-post-visual-editor h1, |
| | 311 | html[lang="th"] .edit-post-visual-editor h2, |
| | 312 | html[lang="th"] .edit-post-visual-editor h3, |
| | 313 | html[lang="th"] .edit-post-visual-editor h4, |
| | 314 | html[lang="th"] .edit-post-visual-editor h5, |
| | 315 | html[lang="th"] .edit-post-visual-editor h6 { |
| | 316 | line-height: 1.65; |
| | 317 | font-family: "Sukhumvit Set", "Helvetica Neue", Helvetica, Arial, sans-serif; |
| | 318 | } |
| | 319 | |
| | 320 | /* Remove letter-spacing for all non-latin alphabets */ |
| | 321 | |
| | 322 | html[lang="ar"] .edit-post-visual-editor *, |
| | 323 | html[lang="ary"] .edit-post-visual-editor *, |
| | 324 | html[lang="azb"] .edit-post-visual-editor *, |
| | 325 | html[lang="haz"] .edit-post-visual-editor *, |
| | 326 | html[lang="ps"] .edit-post-visual-editor *, |
| | 327 | html[lang^="zh-"] .edit-post-visual-editor *, |
| | 328 | html[lang="bg-BG"] .edit-post-visual-editor *, |
| | 329 | html[lang="ru-RU"] .edit-post-visual-editor *, |
| | 330 | html[lang="uk"] .edit-post-visual-editor *, |
| | 331 | html[lang="bn-BD"] .edit-post-visual-editor *, |
| | 332 | html[lang="hi-IN"] .edit-post-visual-editor *, |
| | 333 | html[lang="mr-IN"] .edit-post-visual-editor *, |
| | 334 | html[lang="el"] .edit-post-visual-editor *, |
| | 335 | html[lang="gu-IN"] .edit-post-visual-editor *, |
| | 336 | html[lang="he-IL"] .edit-post-visual-editor *, |
| | 337 | html[lang="ja"] .edit-post-visual-editor *, |
| | 338 | html[lang="ko-KR"] .edit-post-visual-editor *, |
| | 339 | html[lang="th"] .edit-post-visual-editor * { |
| | 340 | letter-spacing: 0 !important; |
| | 341 | } |
| | 342 | |
| | 343 | /*-------------------------------------------------------------- |
| | 344 | 2.0 General Block Settings |
| | 345 | --------------------------------------------------------------*/ |
| | 346 | |
| | 347 | /* Main column width */ |
| | 348 | |
| | 349 | body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block, |
| | 350 | body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender, |
| | 351 | body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block { |
| | 352 | max-width: 740px; |
| | 353 | } |
| | 354 | |
| | 355 | /* Background color */ |
| | 356 | |
| | 357 | .gutenberg-editor-page .editor-block-list__block { |
| | 358 | background-color: transparent; |
| | 359 | } |
| | 360 | |
| | 361 | /* Alignments */ |
| | 362 | |
| | 363 | .edit-post-visual-editor .alignleft { |
| | 364 | margin-right: 1.5em; |
| | 365 | } |
| | 366 | |
| | 367 | .edit-post-visual-editor .alignright { |
| | 368 | margin-left: 1.5em; |
| | 369 | } |
| | 370 | |
| | 371 | /* Link styles */ |
| | 372 | |
| | 373 | .edit-post-visual-editor a, |
| | 374 | .editor-block-list__block a, |
| | 375 | .wp-block-freeform.block-library-rich-text__tinymce a { |
| | 376 | color: #222; |
| | 377 | } |
| | 378 | |
| | 379 | /* List styles */ |
| | 380 | |
| | 381 | .edit-post-visual-editor ul:not(.wp-block-gallery), |
| | 382 | .editor-block-list__block ul:not(.wp-block-gallery), |
| | 383 | .block-library-list ul, |
| | 384 | .edit-post-visual-editor ol, |
| | 385 | .editor-block-list__block ol, |
| | 386 | .block-library-list ol, |
| | 387 | .block-library-list .editor-rich-text__tinymce { |
| | 388 | margin: 0 0 1.5em 1.5em; |
| | 389 | padding: 0; |
| | 390 | } |
| | 391 | |
| | 392 | .edit-post-visual-editor ul:not(.wp-block-gallery), |
| | 393 | .editor-block-list__block ul:not(.wp-block-gallery), |
| | 394 | .block-library-list ul { |
| | 395 | list-style: disc; |
| | 396 | } |
| | 397 | |
| | 398 | .edit-post-visual-editor ol, |
| | 399 | .editor-block-list__block ol, |
| | 400 | .block-library-list ol { |
| | 401 | list-style: decimal; |
| | 402 | } |
| | 403 | |
| | 404 | .edit-post-visual-editor li > ul:not(.wp-block-gallery), |
| | 405 | .editor-block-list__block li > ul:not(.wp-block-gallery), |
| | 406 | .block-library-list li > ul:not(.wp-block-gallery), |
| | 407 | .edit-post-visual-editor li > ol, |
| | 408 | .editor-block-list__block li > ol, |
| | 409 | .block-library-list li > ol { |
| | 410 | margin-bottom: 0; |
| | 411 | margin-left: 1.5em; |
| | 412 | } |
| | 413 | |
| | 414 | .edit-post-visual-editor li, |
| | 415 | .editor-block-list__block li, |
| | 416 | .block-library-list li { |
| | 417 | margin: 0; |
| | 418 | } |
| | 419 | |
| | 420 | .rtl .edit-post-visual-editor ul:not(.wp-block-gallery), |
| | 421 | .rtl .editor-block-list__block ul:not(.wp-block-gallery), |
| | 422 | .rtl .block-library-list ul, |
| | 423 | .rtl .edit-post-visual-editor ol, |
| | 424 | .rtl .editor-block-list__block ol, |
| | 425 | .rtl .block-library-list ol, |
| | 426 | .rtl .block-library-list .editor-rich-text__tinymce, |
| | 427 | .rtl .edit-post-visual-editor li > ul:not(.wp-block-gallery), |
| | 428 | .rtl .editor-block-list__block li > ul:not(.wp-block-gallery), |
| | 429 | .rtl .block-library-list li > ul:not(.wp-block-gallery), |
| | 430 | .rtl .edit-post-visual-editor li > ol, |
| | 431 | .rtl .editor-block-list__block li > ol, |
| | 432 | .rtl .block-library-list li > ol { |
| | 433 | margin-left: 1.5em; |
| | 434 | margin-right: 1.5em; |
| | 435 | } |
| | 436 | |
| | 437 | /* Quote styles */ |
| | 438 | |
| | 439 | .editor-block-list__block blockquote p { |
| | 440 | font-size: 18px; |
| | 441 | font-size: 1.125rem; |
| | 442 | } |
| | 443 | |
| | 444 | .editor-block-list__block blockquote.alignright p, |
| | 445 | .editor-block-list__block blockquote.alignleft p { |
| | 446 | font-size: 13px; |
| | 447 | font-size: 0.8125rem; |
| | 448 | } |
| | 449 | |
| | 450 | .editor-block-list__block blockquote cite { |
| | 451 | display: block; |
| | 452 | font-style: normal; |
| | 453 | font-weight: 600; |
| | 454 | margin-top: 0.5em; |
| | 455 | } |
| | 456 | |
| | 457 | /* Caption styles*/ |
| | 458 | |
| | 459 | [class^="wp-block-"]:not(.wp-block-gallery) figcaption { |
| | 460 | font-style: italic; |
| | 461 | margin-bottom: 1.5em; |
| | 462 | text-align: left; |
| | 463 | } |
| | 464 | |
| | 465 | .rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption { |
| | 466 | text-align: right; |
| | 467 | } |
| | 468 | |
| | 469 | /* Code styles */ |
| | 470 | |
| | 471 | .wp-block-freeform.block-library-rich-text__tinymce code { |
| | 472 | background: transparent; |
| | 473 | } |
| | 474 | |
| | 475 | /* Table styles */ |
| | 476 | |
| | 477 | .rtl .editor-block-list__block th { |
| | 478 | text-align: right; |
| | 479 | } |
| | 480 | |
| | 481 | /*-------------------------------------------------------------- |
| | 482 | 3.0 Blocks - Common Blocks |
| | 483 | --------------------------------------------------------------*/ |
| | 484 | |
| | 485 | /* Paragraph */ |
| | 486 | |
| | 487 | .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter { |
| | 488 | font-size: 5em; |
| | 489 | margin-top: 0.075em; |
| | 490 | } |
| | 491 | |
| | 492 | /* Gallery */ |
| | 493 | |
| | 494 | .wp-block-gallery figcaption { |
| | 495 | font-style: italic; |
| | 496 | } |
| | 497 | |
| | 498 | /* Quote */ |
| | 499 | |
| | 500 | .wp-block-quote { |
| | 501 | color: #666; |
| | 502 | font-size: 18px; |
| | 503 | font-size: 1.125rem; |
| | 504 | font-style: italic; |
| | 505 | line-height: 1.7; |
| | 506 | } |
| | 507 | |
| | 508 | .wp-block-quote:not(.is-large):not(.is-style-large) { |
| | 509 | border: 0; |
| | 510 | padding: 0; |
| | 511 | } |
| | 512 | |
| | 513 | .editor-block-list__block .wp-block-quote .wp-block-quote__citation { |
| | 514 | color: inherit; |
| | 515 | display: block; |
| | 516 | font-size: inherit; |
| | 517 | font-style: normal; |
| | 518 | font-weight: 600; |
| | 519 | margin-top: 0.5em; |
| | 520 | } |
| | 521 | |
| | 522 | .wp-block-quote.alignleft, |
| | 523 | .wp-block-quote.alignright { |
| | 524 | color: #666; |
| | 525 | width: 48%; |
| | 526 | } |
| | 527 | |
| | 528 | .editor-block-list__block .wp-block-quote.alignleft p, |
| | 529 | .editor-block-list__block .wp-block-quote.alignright p, |
| | 530 | .editor-block-list__block .wp-block-quote.alignleft .wp-block-quote__citation, |
| | 531 | .editor-block-list__block .wp-block-quote.alignright .wp-block-quote__citation { |
| | 532 | font-size: 13px; |
| | 533 | font-size: 0.8125rem; |
| | 534 | } |
| | 535 | |
| | 536 | .editor-block-list__block .wp-block-quote.alignleft p:last-of-type, |
| | 537 | .editor-block-list__block .wp-block-quote.alignright p:last-of-type { |
| | 538 | margin-bottom: 0; |
| | 539 | } |
| | 540 | |
| | 541 | @media screen and (min-width: 30em) { |
| | 542 | .editor-block-list__block .wp-block-quote.alignleft p, |
| | 543 | .editor-block-list__block .wp-block-quote.alignright p, |
| | 544 | .editor-block-list__block .wp-block-quote.alignleft .wp-block-quote__citation, |
| | 545 | .editor-block-list__block .wp-block-quote.alignright .wp-block-quote__citation, |
| | 546 | .editor-block-list__block .wp-block-quote footer { |
| | 547 | font-size: 14px; |
| | 548 | font-size: 0.875rem; |
| | 549 | } |
| | 550 | } |
| | 551 | |
| | 552 | @media screen and (min-width: 48em) { |
| | 553 | .editor-block-list__block .wp-block-quote.alignleft p, |
| | 554 | .editor-block-list__block .wp-block-quote.alignright p, |
| | 555 | .editor-block-list__block .wp-block-quote.alignleft .wp-block-quote__citation, |
| | 556 | .editor-block-list__block .wp-block-quote.alignright .wp-block-quote__citation { |
| | 557 | font-size: 13px; |
| | 558 | font-size: 0.8125rem; |
| | 559 | } |
| | 560 | |
| | 561 | .editor-block-list__block .wp-block-quote.alignleft { |
| | 562 | margin-left: -17.5%; |
| | 563 | width: 48%; |
| | 564 | } |
| | 565 | |
| | 566 | .editor-block-list__block .wp-block-quote.alignright { |
| | 567 | margin-right: -17.5%; |
| | 568 | width: 48%; |
| | 569 | } |
| | 570 | } |
| | 571 | |
| | 572 | /* File */ |
| | 573 | |
| | 574 | .wp-block-file .wp-block-file__textlink { |
| | 575 | -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 1px 0 rgba(0, 0, 0, 1); |
| | 576 | box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 1px 0 rgba(0, 0, 0, 1); |
| | 577 | } |
| | 578 | |
| | 579 | .wp-block-file .wp-block-file__button { |
| | 580 | background-color: #222; |
| | 581 | -webkit-border-radius: 2px; |
| | 582 | border-radius: 2px; |
| | 583 | -webkit-box-shadow: none; |
| | 584 | box-shadow: none; |
| | 585 | color: #fff; |
| | 586 | display: inline-block; |
| | 587 | font-size: 14px; |
| | 588 | font-size: 0.875rem; |
| | 589 | font-weight: 800; |
| | 590 | padding: 0.7em 2em; |
| | 591 | -webkit-transition: background-color 0.2s ease-in-out; |
| | 592 | transition: background-color 0.2s ease-in-out; |
| | 593 | white-space: nowrap; |
| | 594 | } |
| | 595 | |
| | 596 | /*-------------------------------------------------------------- |
| | 597 | 4.0 Blocks - Formatting |
| | 598 | --------------------------------------------------------------*/ |
| | 599 | |
| | 600 | /* Code */ |
| | 601 | |
| | 602 | .wp-block-code { |
| | 603 | border: 0; |
| | 604 | padding: 0; |
| | 605 | } |
| | 606 | |
| | 607 | /* Classic */ |
| | 608 | |
| | 609 | .wp-block-freeform.block-library-rich-text__tinymce li, |
| | 610 | .wp-block-freeform.block-library-rich-text__tinymce p { |
| | 611 | line-height: 1.5; |
| | 612 | } |
| | 613 | |
| | 614 | .wp-block-freeform.block-library-rich-text__tinymce blockquote { |
| | 615 | border: 0; |
| | 616 | padding: 0; |
| | 617 | } |
| | 618 | |
| | 619 | /* Custom HTML */ |
| | 620 | |
| | 621 | .wp-block-html .CodeMirror-lines pre { |
| | 622 | background-color: inherit; |
| | 623 | border: inherit; |
| | 624 | font-size: inherit; |
| | 625 | line-height: inherit; |
| | 626 | margin-bottom: inherit; |
| | 627 | padding: inherit; |
| | 628 | } |
| | 629 | |
| | 630 | /* Pullquote */ |
| | 631 | |
| | 632 | .wp-block-pullquote { |
| | 633 | border: 0; |
| | 634 | } |
| | 635 | |
| | 636 | .wp-block-pullquote .wp-block-pullquote__citation { |
| | 637 | font-size: inherit; |
| | 638 | font-weight: 600; |
| | 639 | text-transform: none; |
| | 640 | } |
| | 641 | |
| | 642 | /* Table */ |
| | 643 | |
| | 644 | table.wp-block-table { |
| | 645 | border-collapse: collapse; |
| | 646 | margin: 0 0 1.5em; |
| | 647 | width: 100%; |
| | 648 | } |
| | 649 | |
| | 650 | table.wp-block-table thead th { |
| | 651 | border: 0; |
| | 652 | border-bottom: 2px solid #bbb; |
| | 653 | padding-bottom: 0.5em; |
| | 654 | } |
| | 655 | |
| | 656 | table.wp-block-table th { |
| | 657 | padding: 0.4em; |
| | 658 | text-align: left; |
| | 659 | } |
| | 660 | |
| | 661 | table.wp-block-table tr { |
| | 662 | border-bottom: 1px solid #eee; |
| | 663 | } |
| | 664 | |
| | 665 | table.wp-block-table td { |
| | 666 | border: 0; |
| | 667 | padding: 0.4em; |
| | 668 | } |
| | 669 | |
| | 670 | table.wp-block-table th:first-child, |
| | 671 | table.wp-block-table td:first-child { |
| | 672 | padding-left: 0; |
| | 673 | } |
| | 674 | |
| | 675 | table.wp-block-table th:last-child, |
| | 676 | table.wp-block-table td:last-child { |
| | 677 | padding-right: 0; |
| | 678 | } |
| | 679 | |
| | 680 | .wp-block-table__cell-content { |
| | 681 | padding: 0; |
| | 682 | } |
| | 683 | |
| | 684 | .rtl table.wp-block-table th, |
| | 685 | .rtl table.wp-block-table td { |
| | 686 | text-align: right; |
| | 687 | } |
| | 688 | |
| | 689 | /*-------------------------------------------------------------- |
| | 690 | 5.0 Blocks - Layout Elements |
| | 691 | --------------------------------------------------------------*/ |
| | 692 | |
| | 693 | /* Separators */ |
| | 694 | |
| | 695 | .edit-post-visual-editor .wp-block-separator { |
| | 696 | border: 0; |
| | 697 | } |
| | 698 | |
| | 699 | /* Buttons */ |
| | 700 | |
| | 701 | .wp-block-button .wp-block-button__link { |
| | 702 | background-color: #222; |
| | 703 | -webkit-border-radius: 2px; |
| | 704 | border-radius: 2px; |
| | 705 | -webkit-box-shadow: none; |
| | 706 | box-shadow: none; |
| | 707 | color: #fff; |
| | 708 | display: inline-block; |
| | 709 | font-size: 14px; |
| | 710 | font-size: 0.875rem; |
| | 711 | font-weight: 800; |
| | 712 | line-height: 1.66; |
| | 713 | margin-top: 2em; |
| | 714 | padding: 0.7em 2em; |
| | 715 | -webkit-transition: background-color 0.2s ease-in-out; |
| | 716 | transition: background-color 0.2s ease-in-out; |
| | 717 | white-space: nowrap; |
| | 718 | } |
| | 719 | /*-------------------------------------------------------------- |
| | 720 | 6.0 Blocks - Widgets |
| | 721 | --------------------------------------------------------------*/ |
| | 722 | |
| | 723 | /* Comments */ |
| | 724 | |
| | 725 | .editor-block-list__block ol.wp-block-latest-comments > li:before { |
| | 726 | content: ''; |
| | 727 | } |
| | 728 | |
| | 729 | .wp-block-latest-comments article { |
| | 730 | margin-bottom: 4em; |
| | 731 | } |
| | 732 | |
| | 733 | .wp-block-latest-comments .avatar, |
| | 734 | .wp-block-latest-comments__comment-avatar { |
| | 735 | border-radius: 0; |
| | 736 | } |
| | 737 | |
| | 738 | .wp-block-latest-comments__comment-meta { |
| | 739 | font-size: 16px; |
| | 740 | font-size: 1rem; |
| | 741 | margin-bottom: 0.4em; |
| | 742 | } |
| | 743 | |
| | 744 | .editor-block-list__block .wp-block-latest-comments__comment-meta a { |
| | 745 | -webkit-box-shadow: none; |
| | 746 | box-shadow: none; |
| | 747 | font-weight: 700; |
| | 748 | } |
| | 749 | |
| | 750 | .wp-block-latest-comments__comment-date { |
| | 751 | color: #767676; |
| | 752 | font-size: 10px; |
| | 753 | font-size: 0.625rem; |
| | 754 | font-weight: 800; |
| | 755 | letter-spacing: 0.1818em; |
| | 756 | margin-top: 0.4em; |
| | 757 | text-transform: uppercase; |
| | 758 | } |
| | 759 | |
| | 760 | .editor-block-list__block .wp-block-latest-comments__comment-excerpt p { |
| | 761 | font-size: 14px; |
| | 762 | font-size: 0.875rem; |
| | 763 | } |