Commit Graph

38 Commits

Author SHA1 Message Date
ryelle
5f56591fe5 Bundled Themes: Fix alignment and styles for quote, verse, and code blocks.
Updates older themes to fix alignment, spacing, and font issues to better match the frontend display. Applies to themes: Twenty Eleven, Twenty Thirteen, Twenty Fourteen, Twenty Sixteen, Twenty Seventeen, and Twenty Twenty.

Props burnuser, talldanwp, cristinasoponar, poena, kjellr
Fixes #52009.


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


git-svn-id: http://core.svn.wordpress.org/trunk@49969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 18:59:04 +00:00
ryelle
0e7386521b Bundled Themes: Support font size option for code block.
Adds font-size support to Twenty Fourteen, Twenty Sixteen, and Twenty Seventeen.

Props poena, paaljoachim, peterwilsoncc.
Fixes #52431.


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


git-svn-id: http://core.svn.wordpress.org/trunk@49958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-15 18:56:04 +00:00
Sergey Biryukov
3f7d705cfe Bundled Themes: Correct list block alignment in editor styles.
Additionally:
* Indent nested lists in list and category blocks.
* Match ordered and unordered indentation for the classic block's lists.

This applies to:
* Twenty Ten
* Twenty Eleven
* Twenty Thirteen
* Twenty Fourteen
* Twenty Fifteen
* Twenty Sixteen
* Twenty Seventeen

Props sabernhardt, amolv, kjellr, audrasjb, francina.
Fixes #51157.
Built from https://develop.svn.wordpress.org/trunk@49511


git-svn-id: http://core.svn.wordpress.org/trunk@49266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-06 11:53:05 +00:00
whyisjake
f83664c487 Bundled Themes: Add custom color pallettes for block editor.
Gutenberg 7.9 added support for themes to bundle their own custom styles in to the editor. These changes have been added to 2010 - 2016.

See #50120. 

Props kjellr, sabernhardt, ianbelanger. 


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


git-svn-id: http://core.svn.wordpress.org/trunk@48228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-13 17:08:03 +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
laurelfulford
1d2efe8fa7 Twenty Fourteen: Correct video play button position.
A change to the MediaElement.js caused Twenty Fourteen's custom video play button to display in the top corner, rather than centered. This update returns it to its correct position. 

Props mmaumio, celloexpressions.
Fixes #44664.


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


git-svn-id: http://core.svn.wordpress.org/trunk@44210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-02 01:47:51 +00:00
laurelfulford
7b44d484ea Twenty Fourteen: Remove text decoration from button block.
The button block in Twenty Fourteen was incorrectly inheriting a text underline from the theme's link styles.

Props bobbingwide.
Fixes #45732.


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


git-svn-id: http://core.svn.wordpress.org/trunk@44208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-01 17:40:54 +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
608eb55335 Bundled Themes: Fix button block custom colors on front end.
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.

This fix is applied to Twenty Sixteen, Twenty Fifteen and Twenty Fourteen. 

Props laurelfulford.

Merges [44197-44198] and [44200] into trunk.

Fixes #45428, #45429.
Built from https://develop.svn.wordpress.org/trunk@44306


git-svn-id: http://core.svn.wordpress.org/trunk@44136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:24:59 +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
f6fafb8f3c Twenty Fourteen: 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 Fourteen.

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. 

Props laurelfulford, crunnells, ianbelanger, davidkennedy.

Merges [43797] to trunk.

Fixes #45042.
Built from https://develop.svn.wordpress.org/trunk@44144


git-svn-id: http://core.svn.wordpress.org/trunk@43974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 02:04:37 +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
2c4b63826a Twenty Fourteen: update editor styles to better account for adaptive images in small screens.
Fixes #31934, props iamtakashi.
Built from https://develop.svn.wordpress.org/trunk@32094


git-svn-id: http://core.svn.wordpress.org/trunk@32073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 23:29:25 +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
df455aa106 Twenty Fourteen: update table styles in editor CSS file for new TinyMCE class names.
Props slobodanmanic, fixes #28703.

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


git-svn-id: http://core.svn.wordpress.org/trunk@30147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-01 03:47:21 +00:00
Lance Willett
22997677e0 Twenty Fourteen: improve styles for media "play" button. Props iamtakashi, closes #26469.
Built from https://develop.svn.wordpress.org/trunk@29168


git-svn-id: http://core.svn.wordpress.org/trunk@28952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-14 17:48:15 +00:00
Lance Willett
5579f03783 Twenty Fourteen: fix a display issue in screen sizes over 846 pixels where a post's featured image covers the post meta of the post above.
Props kraftbj and obenland, fixes #28649.
Built from https://develop.svn.wordpress.org/trunk@29101


git-svn-id: http://core.svn.wordpress.org/trunk@28887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-11 19:24:15 +00:00
Lance Willett
f409bd9516 Twenty Fourteen: more graceful handling of super-long site titles in small screens: add an ellipsis and adjust max-width more carefully.
Props celloexpressions, schoenwaldnils, and obenland -- fixes #28237.
Built from https://develop.svn.wordpress.org/trunk@29096


git-svn-id: http://core.svn.wordpress.org/trunk@28882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-11 18:01:14 +00:00
Sergey Biryukov
3705febc40 Twenty Fourteen: Fix display of center-aligned images with captions in TinyMCE.
props RDall.
fixes #28048.
Built from https://develop.svn.wordpress.org/trunk@28941


git-svn-id: http://core.svn.wordpress.org/trunk@28739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 16:41:15 +00:00
Lance Willett
c54618ab9c Twenty Fourteen: first pass at better Audio/Video player styling with genericons. Props celloexpressions, see #26469.
Built from https://develop.svn.wordpress.org/trunk@28694


git-svn-id: http://core.svn.wordpress.org/trunk@28512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-06 18:57:14 +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
33d61b07f8 Twenty Fourteen: improved gallery styles in visual editor, props celloexpressions. Fixes #27462.
Built from https://develop.svn.wordpress.org/trunk@27641


git-svn-id: http://core.svn.wordpress.org/trunk@27484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 17:21:14 +00:00
Lance Willett
989fd79bd9 Twenty Fourteen: add Audio, Video, and Gallery Styles to editor styles. Props celloexpressions, see #27462.
Built from https://develop.svn.wordpress.org/trunk@27637


git-svn-id: http://core.svn.wordpress.org/trunk@27480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 04:27:16 +00:00
Lance Willett
ab9e603c00 Twenty Fourteen: fix gap above static pages, props SergeyBiryukov. Fixes #26694.
Built from https://develop.svn.wordpress.org/trunk@27117


git-svn-id: http://core.svn.wordpress.org/trunk@26984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 17:11:12 +00:00
Lance Willett
3dc744d0cb Twenty Fourteen: minor spacing and CSS formatting fixes. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26810


git-svn-id: http://core.svn.wordpress.org/trunk@26697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 23:11:10 +00:00
Lance Willett
63c82dd11d Twenty Fourteen: remove invalid rel attributes from post thumbnail output, and fix a CSS typo. See #25946 and #25325.
Built from https://develop.svn.wordpress.org/trunk@26694


git-svn-id: http://core.svn.wordpress.org/trunk@26584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:09:10 +00:00
Lance Willett
8e352c8187 Twenty Fourteen: remove unneeded !important declarations, and comment the ones we absolutely need to keep around. Fixes #26444.
Built from https://develop.svn.wordpress.org/trunk@26689


git-svn-id: http://core.svn.wordpress.org/trunk@26579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:03:11 +00:00
Lance Willett
ae33743f4c Twenty Fourteen: partial revert of r26558 to avoid blocking access to the Menu Toggle in IE when in small viewports. See #26189 and #26379.
Built from https://develop.svn.wordpress.org/trunk@26661


git-svn-id: http://core.svn.wordpress.org/trunk@26551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 06:13:10 +00:00
Lance Willett
05200ae863 Twenty Fourteen: minor code cleanup in Customizer file, props obenland. Fixes #26414.
Built from https://develop.svn.wordpress.org/trunk@26643


git-svn-id: http://core.svn.wordpress.org/trunk@26533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 22:09:11 +00:00
Lance Willett
0c9132c942 Twenty Fourteen: fix editor style discrepancies for mark and ins. Props sixhours, fixes #26413.
Built from https://develop.svn.wordpress.org/trunk@26639


git-svn-id: http://core.svn.wordpress.org/trunk@26529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 21:47:11 +00:00
Lance Willett
3ca9da5974 Twenty Fourteen: fix broken selector, props celloexpressions. See #26212. [This IE browser no le gusta chile, ese.]
Built from https://develop.svn.wordpress.org/trunk@26609


git-svn-id: http://core.svn.wordpress.org/trunk@26499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 16:39:09 +00:00
Lance Willett
1e703f63a9 Twenty Fourteen: update editor stylesheet to reflect recent changes made in the main stylesheet. Props iamtakashi, see #25946.
Built from https://develop.svn.wordpress.org/trunk@26561


git-svn-id: http://core.svn.wordpress.org/trunk@26452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:30:11 +00:00
Lance Willett
187d2fa1ff Twenty Fourteen: make sure non-breaking title in .nav-links doesn't overflow, and make sure the menu toggle text is hidden. Props iamtakashi, closes #26189.
Built from https://develop.svn.wordpress.org/trunk@26558


git-svn-id: http://core.svn.wordpress.org/trunk@26449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:15:10 +00:00
Sergey Biryukov
b5ce3e6c96 Twenty Fourteen: use a more specific selector for tag links.
props iamtakashi.
fixes #26358.
Built from https://develop.svn.wordpress.org/trunk@26545


git-svn-id: http://core.svn.wordpress.org/trunk@26437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 23:15:10 +00:00
Lance Willett
96526c7c0c Twenty Fourteen: fix image alignment in editor styles, props azaozz and RDall. Fixes #26108.
Built from https://develop.svn.wordpress.org/trunk@26409


git-svn-id: http://core.svn.wordpress.org/trunk@26309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:38:11 +00:00
Lance Willett
7a70414640 Twenty Fourteen: enhanced styles for logged-out comment form "required" mark and comment moderation text. Props iamtakashi, fixes #25932.
Built from https://develop.svn.wordpress.org/trunk@26117


git-svn-id: http://core.svn.wordpress.org/trunk@26029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:51:09 +00:00
Lance Willett
369044f9a5 Twenty Fourteen: move CSS files except for rtl.css and style.css into new css directory. See #25929.
Built from https://develop.svn.wordpress.org/trunk@26104


git-svn-id: http://core.svn.wordpress.org/trunk@26019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 18:57:09 +00:00