Commit graph

6759 commits

Author SHA1 Message Date
Ben Dwyer
646c6a0e56
Move the paragraph indent style to the first paragraph of every container (#4481)
* Move the paragraph indent style to the first paragraph of every container

* removed text-indent css

* build css

* Remove references to indented paragraph class.

Co-authored-by: Maggie <maggie.cabrera@automattic.com>
Co-authored-by: Jeff Ong <jonger4@gmail.com>
2021-09-01 15:07:39 -04:00
Jason Crist
763b67b6ab
Fix unchanged font setting reverting to default (#4510)
* Fix unchanged font setting reverting to default

These changes fix issue #4490

1. use current setting instead of default to fill in missing post data
2. remove unused $google_font_array
3 correct type-o `elemenets` in unset values

* Tweaked original fix and further corrected 'unset' logic

Co-authored-by: Rolf Allard van Hagen <ravanhagen@gmail.com>
2021-08-31 07:19:41 -04:00
Maggie
046f3e2c36
Merge pull request #4471 from Automattic/skatepark-logo-alignment
Skatepark: Logo alignment
2021-08-31 09:32:36 +02:00
Maggie
bbed04b267 reduced the height of the menu container on mobile 2021-08-31 09:30:58 +02:00
Maggie
d7147a0bf3 changed mobile layout 2021-08-31 09:30:58 +02:00
Maggie
fe58c90821 used variables for spacing 2021-08-31 09:30:57 +02:00
Maggie
23e1cfa4f4 used grid to align logo to fit design 2021-08-31 09:30:29 +02:00
Jason Crist
33aac8865d
Removed block attributes from site-title in header as they are set in theme.json (and some of those items removed were incorrect) (#4511) 2021-08-30 18:22:24 -04:00
Ben Dwyer
a5e860f3f1
Blockbase: Update Blockbase and children to use flex (#4468)
* Blockbase: Update post meta to use flex
* move the blockGap config to styles
* Change the site header to use the new flex layout

Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-08-30 15:30:29 -04:00
Rolf Allard van Hagen
474ffbeb3c
Blockbase: Improve blockbase_fonts_url handling (#4489)
This change adresses multiple issues. 
It:
1. prevents the possibility of an "empty" call to fonts.googleapis.com by returning empty instead of `https://fonts.googleapis.com/css2?&display=swap`, see issue #4458
2. prevents a child theme custom Google font to ALWAYS be loaded even if it's is not selected in the user settings
3. prevents duplicate URL parameters when both user body and header fonts are set to the same value with `array_unique`
2021-08-30 15:28:31 -04:00
Jason Crist
1d70a2d7bc
Try/add batch utils (#4478)
Added batch utilities to operate on all theme projects (that have a package.json file)
2021-08-30 14:09:55 -04:00
Jason Crist
4802195cc8
corrected package.json version numbers to match style.css (when lower) (#4479)
* corrected package.json version numbers to match style.css (when lower)

* Returned Skatepark to correct version

* Corrected skatepark style.css version
2021-08-30 13:42:08 -04:00
Maggie
17f8fe2644
Merge pull request #4492 from Automattic/skatepark-readme
Skatepark: readme.txt
2021-08-30 17:08:29 +02:00
Maggie
0b407dae57 updated required version 2021-08-30 17:08:06 +02:00
Maggie
ae920f332f replaced blockbase domain 2021-08-30 13:06:11 +02:00
Maggie
7399923c15 missing slash 2021-08-30 12:59:35 +02:00
Maggie
a92c9048b2 added images to files and credited them 2021-08-30 12:54:24 +02:00
Jeff Ong
e4fd001134
Use variables instead of hard coded values for border and padding (#4484) 2021-08-27 16:05:31 -04:00
Sarah Norris
8f74597bb7
Merge pull request #4483 from Automattic/add/skatepark-title-divider
Skatepark: Add title divider
2021-08-27 16:49:53 +01:00
Sarah Norris
8180735657 Skatepark: Use primary color for divider 2021-08-27 15:36:45 +01:00
Sarah Norris
4f1803cf00 Skatepark: Add border to post title 2021-08-27 14:01:59 +01:00
Sarah Norris
3071cdd468 Skatepark: Add class to body if featured image exists 2021-08-27 13:54:54 +01:00
Maggie
4e133c3d39
Blockbase + co: Universal Social menu (#4467)
* used render_callback to insert social menu from customizer

* return block content early

* change the condition under which we hijack the menu

* Remove extra navigation

* output block markup for the whole menu

* Render the menu at the social location, rather than the one called social

* map the right alignment from the nav block to the social icons block

* move the social nav to skatepark

* Replace any trailing numbers on menu items to better match them to service names

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-08-27 11:48:08 +01:00
Ben Dwyer
bab109c49a
Quadrat: Make the post date a link (#4480)
* Quadrat: Make the post date a link

* Make all post date blocks link to the post
2021-08-27 11:40:29 +01:00
Jeff Ong
dc09d115fb
Skatepark: remove unneeded CSS for mixed media pattern (#4477)
* Remove unneeded margin overrides and make padding consistent.

* Reduce margins for h4 - h6

* JK, leave the heading margins alone.

* Add a spacer.
2021-08-26 15:49:39 -04:00
Mel Choyce
89c0875036
Update readme.txt
Fix typo in Skatepark description
2021-08-26 13:21:08 -04:00
Mel Choyce
be39a4c51f
Update style.css
Update theme description
2021-08-26 13:20:51 -04:00
Mel Choyce
0bfd93eeae
Update readme.txt
Add theme description
2021-08-26 13:20:01 -04:00
Sarah Norris
5f09f9c404
Skatepark: Add columns in container block pattern (#4449)
* Skatepark: Add columns in container pattern

* Skatepark: Fix indentation in block pattern

* Skatepark: Add inherit layout to columns in container

* Skatepark: Change pattern spacing to percentages

* Skatepark: Wrap alt text in esc_html__()

* Skatepark: Shrink internal margins in columns in container pattern

* Skatepark: Match vertical spacers to other patterns

* Skatepark: Increase container top padding

* Skatepark: Make padding consistent for pattern container

* Skatepark: Update css comment

* Skatepark: Override spacing for paragraphs & headings

* Skatepark: Reduce paragraph top & bottom margin

* Skatepark: Remove columns in container scss file

* Skatepark: Add spacers for spacing in container pattern
2021-08-26 13:04:56 -04:00
Maggie
0622d187f4
Merge pull request #4476 from Automattic/skatepark-separator
Skatepark: fix separator color
2021-08-26 16:26:17 +02:00
Maggie
a3653db3af changed rule to only change border-width 2021-08-26 15:19:12 +02:00
Maggie
f4d6bd9cf0 changed color of separator 2021-08-26 15:18:15 +02:00
Jeff Ong
45bb8e35e0
Blockbase: remove margin-top from first descendants of columns and groups (#4436)
* Refactor text styles and add padding to groups w border.

* move group and column margin resets to blockbase

* rebuild

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-08-26 08:58:33 +01:00
Maggie
49d382f9c3
Merge pull request #4444 from Automattic/skatepark-query-block-pattern
Skatepark: query loop block pattern
2021-08-25 11:16:14 +02:00
Maggie
25ff37221f translatable read more text 2021-08-25 11:15:37 +02:00
Maggie
452d5bcccc fixed spacing issues on the query block 2021-08-25 11:15:37 +02:00
Maggie
a29535f59c added link to featured image, fixed indent on read more link 2021-08-25 11:15:37 +02:00
Maggie
6b8398257d query loop block pattern 2021-08-25 11:15:35 +02:00
Jeff Ong
357f0cea44
Skatepark: apply wide width to header (#4464)
* Apply wide width to header.

* Comments.
2021-08-24 14:50:49 -04:00
Jason Crist
4a2a95f8a4
Another attempt at alignments (#4459)
Another attempt at alignments.  With this change alignment rules no longer depend on trying to discern "inherit width" containers and instead installs a gutter on the top-level container.  Any element that is "full width" is "busted out" of those gutters (with negative margins) and if those containers are groups themselves (group block, columns block or template parts) they also express those same gutter margins internally.
2021-08-24 13:25:00 -04:00
Jeremy Yip
c3be92a428
Merge pull request #4446 from Automattic/fix/seedlet-blocks-overriding-site-title-block-global-styles
Seedlet Blocks: Fix block-level global styling for site title block
2021-08-23 17:44:15 -07:00
Jeff Ong
e8829f433a
Skatepark: add mixed media in container pattern (#4403)
* Add basic mixed media pattern.

* Add and refine mixed media in container pattern.

* Increase padding.

* Compress image.
2021-08-23 16:35:10 -04:00
Jeremy Yip
257494b6a4 Remove unnecessary site title hover state styling 2021-08-23 10:57:10 -07:00
Jeff Ong
c9457a9321
Removed color and typography styles from button block (#4439)
Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-08-23 11:20:16 -04:00
Maggie
1ca042362f
Merge pull request #4438 from Automattic/skatepark-single+post-templates
Skatepark: single+post templates
2021-08-20 18:18:00 +02:00
Maggie
85ec994892
Merge pull request #4450 from Automattic/skatepark-screenshot
Skatepark: add screenshot
2021-08-20 18:10:00 +02:00
Jason Crist
72768e1752 Removed unneeded styles on links/site-title to allow globally configured values to filter through correctly. 2021-08-20 11:50:17 -04:00
Maggie
82a49b3d64 add screenshot 2021-08-20 17:49:03 +02:00
Maggie
4fdc234f0e comments spacing 2021-08-20 17:39:48 +02:00
Maggie
f8ca35d142 improved spacing for skatepark, refactored headings spacings on BB 2021-08-20 17:36:09 +02:00