Commit Graph

49 Commits

Author SHA1 Message Date
laurelfulford 83e19085a3 Twenty Thirteen: Add styles for the new Group block.
Add styles for the new Group block to the theme, to make sure nested blocks display correctly when using the wide and full alignments. 

Props @kjellr.
Fixes #46778.


Built from https://develop.svn.wordpress.org/trunk@45606


git-svn-id: http://core.svn.wordpress.org/trunk@45417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-07 20:49:55 +00:00
laurelfulford 30c7257aad Bundled Themes: Make sure button blocks respect settings.
When the original block editor styles were added to the existing default themes, the button blocks were styled to match how each theme styled the `button` tag. 

However, the styles should respect the block editor's default style, "Rounded", and allow switching to the other styles, like "Outlined" and "Square".

Fixes #45541.


Built from https://develop.svn.wordpress.org/trunk@44381


git-svn-id: http://core.svn.wordpress.org/trunk@44211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-02 03:53:53 +00:00
desrosj 4aa38f2193 Bundled Themes: Replace “Gutenberg” in code comments and classes.
This update replaces the term “Gutenberg” in the themes code comments and classes with something more future-friendly.

Props laurelfulford.

Merges [44213] into trunk.

Fixes #45452.
Built from https://develop.svn.wordpress.org/trunk@44313


git-svn-id: http://core.svn.wordpress.org/trunk@44143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:30:41 +00:00
desrosj 6ab27f50a6 Bundled Themes: Update default block appender selector.
The markup for the default block appender changed from a text input to a text area in the editor; this update makes the same change in the default theme styles.

Props laurelfulford.

Merges [44212] into trunk.

Fixes #45450.
Built from https://develop.svn.wordpress.org/trunk@44312


git-svn-id: http://core.svn.wordpress.org/trunk@44142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:29:51 +00:00
desrosj 7cbba801e2 Twenty Thirteen: Fix button block custom colors.
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.

Also make sure the button’s gradient is not applied when a custom background color is added, since it will hide it.

Props laurelfulford.

Merges [44195] into trunk.

Fixes #45431.
Built from https://develop.svn.wordpress.org/trunk@44304


git-svn-id: http://core.svn.wordpress.org/trunk@44134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:23:21 +00:00
desrosj 4d3f9732b1 Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.

Props pento, davidakennedy, laurelfulford.

Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.

Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152


git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 02:55:39 +00:00
desrosj 76c23f00ff Twenty Thirteen: Add styles and support for the new block-based editor.
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Thirteen.

These are the specific changes made to this theme:

- Add `blocks.css`, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
- Add `editor-blocks.css` to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
- Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
- Add theme support for `wp-block-styles`, to load the default block styles on the front end.
- Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.
- Add theme support and styles for `align-wide`, to allow wide and full alignment styles on the blocks. 

Props laurelfulford, ianbelanger, davidkennedy.

Merges [43796] to trunk.

Fixes #45041.
Built from https://develop.svn.wordpress.org/trunk@44142


git-svn-id: http://core.svn.wordpress.org/trunk@43972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 01:59:38 +00:00
Ella Iseulde Van Dorpe 19dc4bb13a Revert [31849] and [33351]
Also set the max-width of images in themes to 100%, not in pixels.

See #33022 and #31250.

Built from https://develop.svn.wordpress.org/trunk@33418


git-svn-id: http://core.svn.wordpress.org/trunk@33386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-25 23:00:24 +00:00
Lance Willett a7eedc5f23 Bundled themes: update editor styles to better display images and captions in small screens.
Props jacklenox, see #31250.
Built from https://develop.svn.wordpress.org/trunk@31849


git-svn-id: http://core.svn.wordpress.org/trunk@31828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 16:35:28 +00:00
Lance Willett 52e5bc2eee Bundled themes: update CSS rules for `.screen-reader-text` to be consistent with current accessibility guidelines. Fixes #31279.
Built from https://develop.svn.wordpress.org/trunk@31464


git-svn-id: http://core.svn.wordpress.org/trunk@31445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-14 17:29:29 +00:00
Lance Willett a9a3ee7e23 Twenty Thirteen: fix non-responsive layout in IE8. Props phpmypython, fixes #24194.
Built from https://develop.svn.wordpress.org/trunk@30386


git-svn-id: http://core.svn.wordpress.org/trunk@30383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-19 18:07:22 +00:00
Lance Willett a450512b7b Twenty Thirteen and Fourteen: implement HTML5 markup for galleries (see #26697) and captions (see #26642). Props obenland, closes #27502.
Built from https://develop.svn.wordpress.org/trunk@27763


git-svn-id: http://core.svn.wordpress.org/trunk@27600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 00:06:28 +00:00
Lance Willett 753ea17e53 Twenty Thirteen: add Audio, Video, and Gallery Styles to editor styles. Props celloexpressions, see #27462.
Built from https://develop.svn.wordpress.org/trunk@27638


git-svn-id: http://core.svn.wordpress.org/trunk@27481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 04:41:14 +00:00
Lance Willett 5d05c757b3 Twenty Thirteen: improve menu navigation for keyboard and voice-over interactions by properly focusing on submenu items when they are open. Closes #24839, props dannydehaan, joedolson, lancewillett, Frank Klein.
Built from https://develop.svn.wordpress.org/trunk@27607


git-svn-id: http://core.svn.wordpress.org/trunk@27450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 05:29:29 +00:00
Lance Willett 5f962bfbab Twenty Thirteen: better display for lists next to left-aligned captions. Props rdall for initial patches, closes #24797.
git-svn-id: http://core.svn.wordpress.org/trunk@24785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-23 21:45:01 +00:00
Lance Willett 5ace80e7d6 Twenty Thirteen: CSS fixes for visual post editor styles. Props celloexpressions and obenland, see #24308.
git-svn-id: http://core.svn.wordpress.org/trunk@24706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-15 16:52:14 +00:00
Andrew Nacin 08314efe48 Twenty Thirteen: Use the child selector when styling paragraphs in a status post. props celloexpressions, fixes #24676.
git-svn-id: http://core.svn.wordpress.org/trunk@24657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-11 01:01:38 +00:00
Lance Willett 6be5522081 Twenty Thirteen: minor CSS cleanup for navigation, props gorgoglionemeister. Closes #24651.
git-svn-id: http://core.svn.wordpress.org/trunk@24542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-02 23:02:02 +00:00
Lance Willett c63d6d84f0 Twenty Thirteen: update IE styles to match changes in r24524. See #23850.
git-svn-id: http://core.svn.wordpress.org/trunk@24540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 18:30:57 +00:00
Andrew Nacin 6d96d25340 Twenty Thirteen: Update comment form selectors with new classes added in r24525.
props obenland.
fixes #23851.



git-svn-id: http://core.svn.wordpress.org/trunk@24526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-27 21:19:02 +00:00
Lance Willett 0edc3b8ad2 Twenty Thirteen: add editor styles for post formats back in. Props celloexpressions, closes #24308.
git-svn-id: http://core.svn.wordpress.org/trunk@24512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 21:10:37 +00:00
Lance Willett d778fdf863 Twenty Thirteen: clean up RTL styles per changes in r24391, see #24469.
git-svn-id: http://core.svn.wordpress.org/trunk@24404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-03 22:17:09 +00:00
Lance Willett ff9e60e3e6 Twenty Thirteen: remove all `post_format_*()` and `the_remaining_content()` function calls, reverting to `the_content()`. Simplify functions.php, JS, and CSS files accordingly. Props obenland for starter patch, fixes #24469 and #24407. See #24452.
git-svn-id: http://core.svn.wordpress.org/trunk@24391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-31 17:45:00 +00:00
Lance Willett 58f2a1d4ec Twenty Thirteen: polish up RTL for editor styles, fixing blockquote and status entries. Fixes #24298.
git-svn-id: http://core.svn.wordpress.org/trunk@24347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-24 18:58:21 +00:00
Lance Willett 10977c290c Twenty Thirteen: fix up Quote styles for the visual editor, see #24308.
git-svn-id: http://core.svn.wordpress.org/trunk@24343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-23 23:48:56 +00:00
Lance Willett d1ba0654c9 Twenty Thirteen: first pass to add RTL for editor styles, see #24298. Props obenland for starter patch. Adds table of contents to this file and fixes spelling in style.css ToC.
git-svn-id: http://core.svn.wordpress.org/trunk@24309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 22:35:08 +00:00
Lance Willett 908a7b5368 Twenty Thirteen: first pass to add post format visual styles to visual editor. Props celloexpressions and obenland, see #24308 and #24298.
git-svn-id: http://core.svn.wordpress.org/trunk@24308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 22:18:09 +00:00
Lance Willett 8471b20a11 Twenty Thirteen: revert unintended space change from r24239.
git-svn-id: http://core.svn.wordpress.org/trunk@24287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-17 19:25:50 +00:00
Lance Willett a251b69906 Twenty Thirteen: minor CSS fixes for comment spacing and property ordering.
git-svn-id: http://core.svn.wordpress.org/trunk@24239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 21:38:48 +00:00
Lance Willett 0e09ca8a7b Twenty Thirteen: clean up RTL and Genericons styles. Props SergeyBiryukov for the comment moderation bits, fixes #24287.
git-svn-id: http://core.svn.wordpress.org/trunk@24223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 20:08:39 +00:00
Lance Willett a32b397f42 Twenty Thirteen: fix comment author styles to only add star icon to the post author's comment(s). Fixes #24281.
git-svn-id: http://core.svn.wordpress.org/trunk@24197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 15:09:34 +00:00
Lance Willett 892822fd23 Twenty Thirteen: more specificity for `.reply` selectors, props johnjamesjacoby for starter patch. Fixes #24268.
git-svn-id: http://core.svn.wordpress.org/trunk@24193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-07 21:35:09 +00:00
Lance Willett cb9bf04530 Twenty Thirteen: improve Quote post format styles to look more like quotes. Fixes #24176.
git-svn-id: http://core.svn.wordpress.org/trunk@24172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-03 20:47:28 +00:00
Lance Willett ea2f6e75cf Twenty Thirteen: avoid hyphenating post and page titles (and other unintended consequences) by moving word-breaking and hyphenation rules to only apply specifically to post/page content and widgets. Fixes #24231.
git-svn-id: http://core.svn.wordpress.org/trunk@24153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-01 17:50:55 +00:00
Lance Willett f0b0996673 Twenty Thirteen: account for `alignnone` images that are inserted into a post on the same line. Give 'em a bit of space. Closes #24238.
git-svn-id: http://core.svn.wordpress.org/trunk@24152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-01 17:44:34 +00:00
Lance Willett 8492d3b680 Twenty Thirteen: remove `hgroup` from the theme markup structure since it's been dropped from HTML5 spec. Props obenland for the starter patch. Fixes #24114.
git-svn-id: http://core.svn.wordpress.org/trunk@24072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-23 17:55:55 +00:00
Lance Willett 8794b1ceb0 Twenty Thirteen: search form fixes for IE7, and add fallback search type selector to RTL stylesheet, see r23961. Closes #23997.
git-svn-id: http://core.svn.wordpress.org/trunk@24035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 21:24:38 +00:00
Lance Willett fd39862cad Twenty Thirteen: improve gallery styles for IE7 and IE8, props kovshenin and obenland. Fixes #23996.
git-svn-id: http://core.svn.wordpress.org/trunk@23963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 15:59:52 +00:00
Lance Willett fb3387b1d4 Twenty Thirteen: display gallery captions correctly in IE7 and IE8. Props celloexpressions and kovshenin, fixes #23996.
git-svn-id: http://core.svn.wordpress.org/trunk@23959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 22:44:29 +00:00
Lance Willett ede1d0ccef Twenty Thirteen: avoid galleries not being displayed on single in IE8, props obenland. See #23996.
git-svn-id: http://core.svn.wordpress.org/trunk@23943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 21:34:03 +00:00
Lance Willett 9f005d14fb Twenty Thirteen: pinking shears
git-svn-id: http://core.svn.wordpress.org/trunk@23780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 17:19:55 +00:00
Lance Willett 0eaa363b8e Twenty Thirteen: adjust header max-width value for older IE browsers. Props jvisick77, see #23732.
git-svn-id: http://core.svn.wordpress.org/trunk@23688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 17:48:46 +00:00
Lance Willett 2c38199fd2 Twenty Thirteen: improve header area padding to ensure stable layout at any size screen. Props jvisick77, fixes #23732. (Small props also to Google TV for revealing the bug.)
git-svn-id: http://core.svn.wordpress.org/trunk@23678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 22:41:58 +00:00
Lance Willett 9e4ce0a952 Twenty Thirteen: remove searchform.php template once core search form accepts HTML5 argument. Props obenland, fixes #23701.
git-svn-id: http://core.svn.wordpress.org/trunk@23673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 17:44:27 +00:00
Lance Willett 76f2325439 Twenty Thirteen: first pass at editor styles. Props Frank Klein and obenland. See #23551.
git-svn-id: http://core.svn.wordpress.org/trunk@23672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 17:27:24 +00:00
Lance Willett 399da0f9ae Twenty Thirteen: move IE-specific properties out of main stylesheet. Props obenland, see #23507.
git-svn-id: http://core.svn.wordpress.org/trunk@23611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-04 22:51:27 +00:00
Lance Willett 69fb0e379c Twenty Thirteen: fix text overflow with sidebar in IE8, props obenland. Fixes #23579.
git-svn-id: http://core.svn.wordpress.org/trunk@23610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-04 22:46:44 +00:00
Lance Willett 33034aff5f Twenty Thirteen: fix incorrect CSS selector in ie.css, props FStop. Fixes #23548.
git-svn-id: http://core.svn.wordpress.org/trunk@23459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-20 04:22:02 +00:00
Mark Jaquith d1d3076d5a Introduce the Twenty Thirteen theme.
props matt, joen, obenland, lancewillett. see #23504

git-svn-id: http://core.svn.wordpress.org/trunk@23452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-18 23:08:56 +00:00