| | 1 | /* |
| | 2 | Theme Name: Twenty Thirteen |
| | 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 Styles |
| | 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 | 1.0 General Typography |
| | 19 | --------------------------------------------------------------*/ |
| | 20 | |
| | 21 | .edit-post-visual-editor .editor-block-list__block, |
| | 22 | .edit-post-visual-editor .editor-block-list__block p, |
| | 23 | .editor-default-block-appender input[type="text"].editor-default-block-appender__content { |
| | 24 | font-family: "Source Sans Pro", Helvetica, sans-serif; |
| | 25 | font-size: 16px; |
| | 26 | font-weight: 400; |
| | 27 | line-height: 1.5; |
| | 28 | } |
| | 29 | |
| | 30 | .edit-post-visual-editor .editor-block-list__block { |
| | 31 | color: #141412; |
| | 32 | } |
| | 33 | |
| | 34 | .editor-post-title__block .editor-post-title__input { |
| | 35 | font-family: Bitter, Georgia, serif; |
| | 36 | font-size: 48px; |
| | 37 | font-weight: 300; |
| | 38 | line-height: 1.0909090909; |
| | 39 | margin-bottom: 12px; |
| | 40 | margin: 0 0 12px 0; |
| | 41 | } |
| | 42 | |
| | 43 | /*-------------------------------------------------------------- |
| | 44 | 2.0 General Block Styles |
| | 45 | --------------------------------------------------------------*/ |
| | 46 | |
| | 47 | /* Main column width */ |
| | 48 | |
| | 49 | body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block, |
| | 50 | body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender, |
| | 51 | body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block { |
| | 52 | width: 634px; |
| | 53 | } |
| | 54 | |
| | 55 | body.gutenberg-editor-page .edit-post-visual-editor .wp-block-columns .editor-block-list__block { |
| | 56 | width: auto; |
| | 57 | } |
| | 58 | |
| | 59 | /* Link styles */ |
| | 60 | |
| | 61 | .edit-post-visual-editor a, |
| | 62 | .editor-block-list__block a, |
| | 63 | .wp-block-freeform.block-library-rich-text__tinymce a { |
| | 64 | color: #bc360a; |
| | 65 | |
| | 66 | } |
| | 67 | |
| | 68 | /* List styles */ |
| | 69 | |
| | 70 | .edit-post-visual-editor ul:not(.wp-block-gallery), |
| | 71 | .editor-block-list__block ul:not(.wp-block-gallery), |
| | 72 | .block-library-list ul, |
| | 73 | .edit-post-visual-editor ol, |
| | 74 | .editor-block-list__block ol, |
| | 75 | .block-library-list ol { |
| | 76 | margin: 16px 0; |
| | 77 | padding: 0 0 0 40px; |
| | 78 | } |
| | 79 | |
| | 80 | .block-library-list .editor-rich-text__tinymce { |
| | 81 | padding: 0 0 0 40px; |
| | 82 | } |
| | 83 | |
| | 84 | .edit-post-visual-editor ul:not(.wp-block-gallery), |
| | 85 | .edit-post-visual-editor .editor-block-list__block ul:not(.wp-block-gallery), |
| | 86 | .block-library-list ul { |
| | 87 | list-style-type: square; |
| | 88 | } |
| | 89 | |
| | 90 | .edit-post-visual-editor ol, |
| | 91 | .editor-block-list__block ol, |
| | 92 | .block-library-list ol { |
| | 93 | list-style: decimal; |
| | 94 | } |
| | 95 | |
| | 96 | .edit-post-visual-editor ul:not(.wp-block-gallery) li > ul, |
| | 97 | .editor-block-list__block ul:not(.wp-block-gallery) li > ul, |
| | 98 | .block-library-list li > ul, |
| | 99 | .edit-post-visual-editor li > ol, |
| | 100 | .editor-block-list__block li > ol, |
| | 101 | .block-library-list li > ol { |
| | 102 | margin: 0; |
| | 103 | } |
| | 104 | |
| | 105 | .edit-post-visual-editor ul:not(.wp-block-gallery) li, |
| | 106 | .editor-block-list__block ul:not(.wp-block-gallery) li, |
| | 107 | .edit-post-visual-editor ol li, |
| | 108 | .editor-block-list__block ol li, |
| | 109 | .block-library-list li { |
| | 110 | margin-bottom: 0; |
| | 111 | } |
| | 112 | |
| | 113 | /* Quote */ |
| | 114 | |
| | 115 | .wp-block-freeform.block-library-rich-text__tinymce blockquote { |
| | 116 | border-left: 0; |
| | 117 | font-style: italic; |
| | 118 | margin: 24px 40px; |
| | 119 | padding-left: 0; |
| | 120 | } |
| | 121 | |
| | 122 | .wp-block-freeform.block-library-rich-text__tinymce blockquote p { |
| | 123 | font-size: 24px; |
| | 124 | font-weight: 300; |
| | 125 | } |
| | 126 | |
| | 127 | /* Code */ |
| | 128 | |
| | 129 | .wp-block-freeform.block-library-rich-text__tinymce code { |
| | 130 | background: transparent; |
| | 131 | } |
| | 132 | |
| | 133 | /* Captions */ |
| | 134 | |
| | 135 | [class^="wp-block-"] figcaption, |
| | 136 | [class^="wp-block-"] figcaption.editor-rich-text__tinymce.mce-content-body { |
| | 137 | color: #220e10; |
| | 138 | font-size: 18px; |
| | 139 | font-style: italic; |
| | 140 | font-weight: 300; |
| | 141 | line-height: 1.5; |
| | 142 | margin: 0 0 24px; |
| | 143 | } |
| | 144 | |
| | 145 | /*-------------------------------------------------------------- |
| | 146 | 3.0 Blocks - Common Blocks |
| | 147 | --------------------------------------------------------------*/ |
| | 148 | |
| | 149 | /* Paragraph */ |
| | 150 | |
| | 151 | p.has-drop-cap:not(:focus)::first-letter { |
| | 152 | font-size: 5em; |
| | 153 | } |
| | 154 | |
| | 155 | /* Gallery */ |
| | 156 | |
| | 157 | .edit-post-visual-editor .wp-block-gallery { |
| | 158 | margin-bottom: 24px; |
| | 159 | padding: 0; |
| | 160 | } |
| | 161 | |
| | 162 | .wp-block-gallery figcaption, |
| | 163 | .wp-block-gallery figcaption.editor-rich-text__tinymce.mce-content-body { |
| | 164 | color: #fff; |
| | 165 | font-size: 13px; |
| | 166 | margin-bottom: 0; |
| | 167 | } |
| | 168 | |
| | 169 | /* Quote */ |
| | 170 | |
| | 171 | .wp-block-quote { |
| | 172 | font-style: italic; |
| | 173 | margin: 24px 40px; |
| | 174 | padding: 0; |
| | 175 | } |
| | 176 | |
| | 177 | .editor-block-list__block .wp-block-quote p { |
| | 178 | font-size: 24px; |
| | 179 | font-weight: 300; |
| | 180 | } |
| | 181 | |
| | 182 | .wp-block-quote:not(.is-large):not(.is-style-large) { |
| | 183 | border-left: 0; |
| | 184 | padding-left: 0; |
| | 185 | } |
| | 186 | |
| | 187 | .wp-block-quote .wp-block-quote__citation.editor-rich-text__tinymce.mce-content-body { |
| | 188 | color: inherit; |
| | 189 | font-size: 16px; |
| | 190 | font-style: italic; |
| | 191 | text-transform: uppercase; |
| | 192 | } |
| | 193 | |
| | 194 | /* Cover Image */ |
| | 195 | |
| | 196 | .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-image-text { |
| | 197 | font-size: 32px; |
| | 198 | line-height: 1.25; |
| | 199 | } |
| | 200 | |
| | 201 | /* File */ |
| | 202 | |
| | 203 | .wp-block-file .wp-block-file__textlink { |
| | 204 | color: #bc360a; |
| | 205 | } |
| | 206 | |
| | 207 | .wp-block-file .wp-block-file__button { |
| | 208 | background: #e05d22; /* Old browsers */ |
| | 209 | background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%); /* Chrome 10+, Safari 5.1+ */ |
| | 210 | background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */ |
| | 211 | border: none; |
| | 212 | border-bottom: 3px solid #b93207; |
| | 213 | border-radius: 2px; |
| | 214 | color: #fff; |
| | 215 | display: inline-block; |
| | 216 | font-size: 16px; |
| | 217 | line-height: 24px; |
| | 218 | padding: 11px 24px 10px; |
| | 219 | text-decoration: none; |
| | 220 | } |
| | 221 | |
| | 222 | /*-------------------------------------------------------------- |
| | 223 | 4.0 Blocks - Formatting |
| | 224 | --------------------------------------------------------------*/ |
| | 225 | |
| | 226 | /* Code */ |
| | 227 | |
| | 228 | .wp-block-code { |
| | 229 | border: 0; |
| | 230 | padding: 0; |
| | 231 | } |
| | 232 | |
| | 233 | /* Custom HTML */ |
| | 234 | |
| | 235 | .wp-block-html .CodeMirror-lines pre { |
| | 236 | background-color: inherit; |
| | 237 | border: inherit; |
| | 238 | font-size: inherit; |
| | 239 | line-height: inherit; |
| | 240 | margin: inherit; |
| | 241 | padding: inherit; |
| | 242 | } |
| | 243 | |
| | 244 | /* Pullquote */ |
| | 245 | |
| | 246 | .edit-post-visual-editor .wp-block-pullquote { |
| | 247 | border: 0; |
| | 248 | padding: 0.5em 0; |
| | 249 | } |
| | 250 | |
| | 251 | .edit-post-visual-editor .editor-block-list__block .wp-block-pullquote p { |
| | 252 | font-weight: 300; |
| | 253 | } |
| | 254 | |
| | 255 | .edit-post-visual-editor .wp-block-pullquote__citation, |
| | 256 | .edit-post-visual-editor .wp-block-pullquote cite, |
| | 257 | .edit-post-visual-editor .wp-block-pullquote footer { |
| | 258 | color: #141412; |
| | 259 | font-size: 16px; |
| | 260 | } |
| | 261 | |
| | 262 | /* Table */ |
| | 263 | |
| | 264 | .wp-block-table { |
| | 265 | border-bottom: 1px solid #ededed; |
| | 266 | border-collapse: collapse; |
| | 267 | border-spacing: 0; |
| | 268 | font-size: 14px; |
| | 269 | line-height: 2; |
| | 270 | margin: 0 0 20px; |
| | 271 | width: 100%; |
| | 272 | } |
| | 273 | |
| | 274 | .wp-block-table th { |
| | 275 | border: 0; |
| | 276 | font-weight: bold; |
| | 277 | text-transform: uppercase; |
| | 278 | } |
| | 279 | |
| | 280 | .editor-block-list__block .wp-block-table td { |
| | 281 | border: 0; |
| | 282 | border-top: 1px solid #ededed; |
| | 283 | padding: 0; |
| | 284 | } |
| | 285 | |
| | 286 | |
| | 287 | /*-------------------------------------------------------------- |
| | 288 | 5.0 Blocks - Layout Elements |
| | 289 | --------------------------------------------------------------*/ |
| | 290 | |
| | 291 | /* Buttons */ |
| | 292 | |
| | 293 | .wp-block-button .wp-block-button__link { |
| | 294 | background: #e05d22; /* Old browsers */ |
| | 295 | background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%); /* Chrome 10+, Safari 5.1+ */ |
| | 296 | background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */ |
| | 297 | border: none; |
| | 298 | border-bottom: 3px solid #b93207; |
| | 299 | border-radius: 2px; |
| | 300 | color: #fff; |
| | 301 | display: inline-block; |
| | 302 | font-size: 16px; |
| | 303 | line-height: 24px; |
| | 304 | padding: 11px 24px 10px; |
| | 305 | text-decoration: none; |
| | 306 | } |
| | 307 | |
| | 308 | /* Separator */ |
| | 309 | |
| | 310 | .editor-block-list__block hr.wp-block-separator { |
| | 311 | margin-left: auto; |
| | 312 | margin-right: auto; |
| | 313 | } |
| | 314 | |
| | 315 | /*-------------------------------------------------------------- |
| | 316 | 6.0 Blocks - Widgets |
| | 317 | --------------------------------------------------------------*/ |
| | 318 | |
| | 319 | /* Comments */ |
| | 320 | |
| | 321 | .editor-block-list__block .wp-block-latest-comments { |
| | 322 | margin: 0; |
| | 323 | padding: 0; |
| | 324 | } |
| | 325 | |
| | 326 | .wp-block-latest-comments .avatar, |
| | 327 | .wp-block-latest-comments__comment-avatar { |
| | 328 | border-radius: 0; |
| | 329 | } |
| | 330 | |
| | 331 | .wp-block-latest-comments__comment, |
| | 332 | .wp-block-latest-comments__comment-excerpt, |
| | 333 | .wp-block-latest-comments__comment-excerpt p { |
| | 334 | font-size: 16px; |
| | 335 | } |
| | 336 | |
| | 337 | .wp-block-latest-comments__comment-excerpt p:last-child { |
| | 338 | margin-bottom: 0; |
| | 339 | } |
| | 340 | |
| | 341 | .wp-block-latest-comments__comment-date { |
| | 342 | font-size: 16px; |
| | 343 | } |
| | 344 | |
| | 345 | .wp-block-latest-comments .wp-block-latest-comments__comment { |
| | 346 | background: url(../images/dotted-line.png) repeat-x left top; |
| | 347 | margin-bottom: 0; |
| | 348 | padding: 24px 0; |
| | 349 | } |