Commit graph

37 commits

Author SHA1 Message Date
Jason Crist
ad9d522178
Reverting the mess caused renaming template folders (#5317) 2022-01-13 15:38:55 -05:00
Jason Crist
e2644501a6 Ran script moving template resources 2022-01-13 11:38:42 -05:00
Maggie
ff859ba69a
Blockbase: refactor footers to patterns (#5245) 2022-01-13 11:27:18 -05:00
Maggie
7e736f185b
Blockbase: converted headers to patterns (#5238)
* converted headers to patterns
* Import headers as both Template Parts AND Block Patterns

Co-authored-by: Jason Crist <jcrist@pbking.com>
2022-01-13 11:24:01 -05:00
Jason Crist
1b61f3c876
Try/consolidate headers (#5145)
* consolidate header styles designed for child themes into Blockbase which child themes can use as header/footer options.
* Refactor header spacing mechanism to use a spacer in a template part
* Refactor header layouts to allow for full-width background colors.
* Tweak navigation styles leveraged by headers to align with design intentions
* Various other header and navigation tweaks.
* Affects all Blockbase children

Co-authored-by: Maggie <maggie.cabrera@automattic.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-12-09 10:22:50 -05:00
Sarah Norris
d781e55307
Update all navigation blocks to new markup (#5038)
* Update all vertical nav blocks to new markup

* Update Videomaker header nav

* Update Arbutus header nav

* Update Blockbase header nav

* Update Geologist nav blocks

* Update Kerr nav block

* Update Mayland Blocks nav blocks

* Update Payton nav block

* Update Quadrat nav block

* Update Russell nav block

* Update Seedlet Blocks nav block

* Update Skatepark header nav block

* Update Videomaker pattern nav blocks

* Update Zoologist nav block

* Fix Blockbase menu

* Add missing setCascadingProperties prop

* Reset top margin on header navigation
2021-11-19 09:14:43 +00:00
Ben Dwyer
f45132b8c2
Blockbase: Use new attributes for navigation block (#4832)
* Use new attributes for navigation block
2021-11-10 12:09:10 -05:00
Ben Dwyer
57b196bc77
Revert the header change for Quadrat, Geologist and Zoologist (#4955) 2021-10-29 16:39:05 -04:00
Ben Dwyer
05b8d89712
Blockbase: Update the stacking of site title and tagline in Blockbase and co (#4928) 2021-10-29 08:21:54 +01:00
Ben Dwyer
c23cac3067
Blockbase: Add social navigation to blockbase themes (#4482)
* Blockbase: Add social navigation to blockbase themes

* Add social navigation links to primary navigation

* move to a different file

* add missing file

* suppress warnings for HTML5 elements

* only append social links to a navigation block if the block opts in

* Fix fatal

* Removed requirement to have social parent container be primary menu (or even have content)

* Fix layout for social nav

* Update the structure of the social links when appended to match the way that the navigation block works

Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-10-12 14:58:21 +01:00
Maggie
23b783238a
Blockbase + co: Fix navigation alignment (#4795)
* fix navigation block alignment

* remove unused css
2021-10-06 17:12:42 +02:00
Daniel Dudzic
30ee449139
Quadrat: Fix post meta offset (#4752)
* Quadrat: Fix post meta offset

* Remove padding on site tagline.

* Remove inline spacing rules on site tagline.

* Use content: none to hide icon and add comment about configuring in Blockbase.

* Fix comment typo.

Co-authored-by: Jeff Ong <jonger4@gmail.com>
2021-10-01 09:53:32 +02:00
Ben Dwyer
347903e0f7
Blockbase: Update font size names (#4711)
* Blockbase: Update font size names
* Add overrides to geologist and quadrat
* Add a tiny custom variable to blockbase
* update templates to use new variable
* update block patterns
* update the post-meta font sizes
* Add a medium font size and make huge bigger
* replace font sizes in patterns with explict pixel values

Co-authored-by: Jeffrey Pearce <jeffikus@automattic.com>
2021-09-28 12:40:11 -04:00
Ben Dwyer
290dcac0a4
Blockbase: Add site logo (#4692)
* removed non-gap margins from heading
* Blockbase: Add site logo
* Blockbase: Reduce the default logo size
* Refactored blockbase headers to include all of Quadrat's header design
* Added tagline to mayland blocks
* resized suggested dimensions per reccomendation

Co-authored-by: Jason Crist <jcrist@pbking.com>
Co-authored-by: Daniel Dudzic <daniel.dudzic@automattic.com>
2021-09-27 14:31:07 -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
Sarah Norris
cb357939cb
Quadrat: Sync post title position on single and archive pages (#4195)
* Quadrat: Add spacer to top of index template on desktop

* Quadrat: Add vertical margin to post-template list

* Quadrat: Add padding-top to post meta at mobile

* Quadrat: Reset post title alignment changes

* Quadrat: Remove top padding from single template

* Quadrat: Remove default vertical margins from post-template ul

* Quadrat: Add bottom padding to global header

* Quadrat: Remove top, right and bottom padding from header
2021-07-09 14:46:17 -04:00
Ben Dwyer
9faabc6957
Quadrat: Remove PHP templates (#4187) 2021-07-08 18:59:18 +01:00
Maggie
5845f198fa
added tagline to header templates (#4072)
* added tagline to header templates
* Refactored blockbase (and quadrat) breakpoints to use 'small' instead of 'mobile' to follow navigation blocks's breakpoint usage
Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-07-07 10:20:37 -04:00
Ben Dwyer
3c936623ef
Blockbase + children: Add footer credits that wordpress.com will recognise (#4142) 2021-07-01 11:09:58 +01:00
Jeff Ong
fb44366db4
Quadrat: fix featured images (#4108)
* Revise page and post featured image treatment.

* Simplify post and page headers with featured images.
2021-06-30 08:07:52 -07:00
Jeff Ong
356ed35a6f
Quadrat: fix query block markup (#4107)
* Add post template block markup.

* Try to make the markup more "readable"
2021-06-29 07:05:56 -07:00
Ben Dwyer
157179442c switch to new attribute name 2021-06-18 10:07:04 +01:00
Ben Dwyer
e423258182 Quadrat: Simplify templates 2021-06-17 17:47:47 +01:00
Ben Dwyer
086553f14a
Quadrat: Fix mobile spacing (#3961)
* Quadrat: Fix mobile spacing

* reset indentation

* reset indentation

* move template rules into their own file
2021-05-27 12:17:54 -07:00
Ben Dwyer
eebb4e3957 move the spacer to the CSS so if the block isn't there nothing shows 2021-05-27 13:31:19 +01:00
Ben Dwyer
6aca1c2b8c Quadrat: Update the layout of the query template 2021-05-26 16:26:51 +01:00
Maggie
5c1e93b03a
Quadrat: fix markup for header template part (#3906)
* fix markup for header template part

* Remove nav links.

* Simplify block markup and CSS for the header.

* Fix margins + padding when logo is present.

* Removed theme attribute from block templates

* added isResponsive flag to navigation on header template part

* simplified header template to eliminate 'double header' elements, add responsive default to navigation block and remove unnecessary verbosity from navigation block

* remove index.html file (that I never should have comitted)

Co-authored-by: Jeff Ong <jonger4@gmail.com>
Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-05-26 07:43:09 -07:00
Daniel Dudzic
36df9da75d
Block themes: Update templates to include a Query block wrapper (#3821)
* Block themes: Update templates to include a Query block wrapper (WordPress/gutenberg#30804)
Co-authored-by: Maggie Cabrera <maggie.cabrera@automattic.com>
2021-05-24 16:38:00 -04:00
Maggie Cabrera
8d7b3fe5e0 adapted single post header to fit design for mobile 2021-05-20 10:13:29 +02:00
Maggie Cabrera
164668de4f mobile version 2021-05-19 09:03:01 +02:00
Maggie Cabrera
0e51f23c2e added squares to header and footer 2021-05-19 09:03:00 +02:00
Maggie Cabrera
2b00ab3f99 styles for pagination 2021-05-18 16:27:21 +02:00
Maggie Cabrera
decc718808 added pagination to the query block 2021-05-18 16:26:49 +02:00
Ben Dwyer
66c6ed5e72
Quadrat: Add comment styles (#3800)
* Add comment formm styles for Quadrat

* Remove border on the search button

* Change the order of the commment fields

* Change the order of the commment fields

* Match form styles to the rest of the site

* Comments: Change how we do spacing

* unchecked checkbox style

* checked state

* hide the checkbox accesibly

* undo class change

* updated screen reader mixin, changed checked state of checkbox

* Adjust spacing on the checkbox.

* Move comments below pagination and add spacer.

* Fix responsive spacing.

Co-authored-by: Maggie Cabrera <maggie.cabrera@automattic.com>
Co-authored-by: Jeff Ong <jonger4@gmail.com>
2021-05-14 10:38:40 -07:00
Jeff Ong
0c26b06489
Quadrat: revise post header and meta (#3824)
* Revise post header and meta.

* Reorder CSS

* Use pseudo elementls the dot is rendered.

* Make h1 font size a custom variable.

* Fix missing paren bug.

* Hack to hide the pipe dividers between post tags.

* Revise navigation type size + base type size to use preset.

* Display none to make the pseudo element go away.

* Update quadrat/block-template-parts/single.html

Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>

* Update quadrat/block-template-parts/single.html

Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>

* Update quadrat/block-template-parts/single.html

Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>

Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>
2021-05-11 11:43:52 -07:00
Maggie
5ab21039b4
modified footer spacing to fit design (#3825) 2021-05-11 07:43:56 -07:00
Jeff Ong
b1909b1cfc
Make: Quadrat (#3648)
* Scaffolding a universal theme plus basic typography and color palette.

* fixed do_blocks routes and override index.html from BCB

* added header and footer templates

* changed query to post content block

* commented with the GB issue

* Quadrat: Add new heading sizes and other small misc changes (#3649)

* Quadrat: Add new heading sizes

* Quadrat: Further work on Lists and Quotes

* Quadrat: Remove whitespace

* Quadrat: Add responsive Heading font-sizes

* Fix typo.

* Recompile.

* remove older deploy actions and adding quadrat deploy action (#3655)

* Add the hosts block pattern. (#3662)

* Add the hosts block pattern.

* Fix categories.

* Update img refs.

* Add alt text to media text pattern.

* Revise block pattern names.

* Add text domain.

* Quadrat: override BCB's templates with php ones (#3667)

* override BCB's templates with php ones

* Revert unrelated changes to Seedlet Blocks that are not in trunk.

* Quadrat: Add responsive Paragraph styles and start styling the Code b… (#3663)

* Quadrat: Add responsive Paragraph styles and start styling the Code block

* Quadrat: Remove Code block styling

* Revise heading max vw.

Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Quadrat: Add Latest episodes block pattern (#3665)

* added Latest episodes block pattern

* translatable strings

* staging url for media

* rebased, updated texts and adjusted paddings

* added a group with padding to the blocks

* Body line-height to 1.7.

Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Add menu locations to quadrat

* Remove disconnected changes

* Remove footer menu location

* rebuild theme.json

* Quadrat: Add Quote block styles

* Tightened up the line-height and lessened the space between quote and citation.

* Remove properties that already exist in the parent theme

* Remove quote sass include and rebuild.

* Quadrat: Add list styles

* Removed variable usage for list item style

* Updated list styles to be more correcter

* Try/header template part wrapped (#3714)

* Modified site-title styles to match comps

* Added a navigation rendering function to render the navigation block based on a classic data source, wrap the output in an HTML block to be inserted anywhere blocks are do_block()'ed

* Added a header template part that leverages the rendered navigation block markup

* Replaced usage of navigation block template with new template-part

* Added styles for header for proper layout unachievable with blocks.

* Quadrat: Style the Code block

* Remove unneeded declarations

* Removed font-changing settings on code block

* Quadrat: add cover pattern (#3676)

* Try using svg for block pattern.

* Try mask-image instead.

* move the svg to a before pseudoelement

* refactored the pseudoelements

* fix for the editor interaction when cover block is highlighted

* Add block pattern.

* Use a transparent div instead of svg. Simplify how color of the diamond is set.

* Rotate closer to the design.

* Use background image with svg and mix-blend-mode.

* made block pattern wide aligned

* created exceptions bof black and white

* changes to fit the design, lowered opacity on black and white versions

* Add autoprefixing to Quadrat

* removed error from rebase

* removed unnecessary z-index, linting

* z-index added

* Scope CSS to cover block.

* :: for consistency.

Co-authored-by: Maggie Cabrera <maggie.cabrera@automattic.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>

* removes template hack

* Quadrat: Add Episode block pattern (#3695)

* create episode pattern

* added group wrapper for padding

* correct url for image

* typo

* update to use media and text

* changed the url of the image, added alt content and em tag

* remove unneeded class, added wrapper for bottom padding

* Scope the 0 padding to text content without a background.

* Remove group, add spacer. Fix local image ref.

Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Change colors used in theme.json from descreptive to semantic (#3725)

* Change colors used in theme.json from descreptive to semantic

* semanticizing the color

* formatting

* also changed the child theme.json

* Quadrat: Add table styles (#3719)

* Quadrat: Add styles for tables

* Add tbody for extra specificity

* Add a border to the top of the first row

* Remove text-align.

Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Allowing overflow of group-wrapped navigation (#3732)

* Update screenshot.png (#3735)

* Quadrat: Add page templates (#3721)

* Rebase trunk.

* Revise footer.

* Add CSS for the next/prev links

* Continue rebase.

* remove test code

* used gutenberg_block_template_part to load template parts on php templates

* Remove testing text

* alignment tweaks

* Add separate templates for page and post.

* Restore header wrapper that was accidentally removed in rebase.

* Template tweaks.

* Add page block template.

Co-authored-by: Jeff Ong <jonger4@gmail.com>
Co-authored-by: Maggie Cabrera <maggie.cabrera@automattic.com>

* Make index query inherit query string.

* Update screenshot.png (#3742)

* Quadrat: Add CSS for a featured image

* Quadrat: Headlines and Buttons Block Pattern (#3744)

* created block pattern

* padding rules for mobile

* added new class to all the group blocks

* Remove all padding from text content on mobile.

Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Change hover rules for buttons

* Add hover styles for buttons and links

* Remove background color from buttons. (#3752)

* Quadrat: Add the listen pattern

* refactor patterns to single files

* move utility classes to BCB

* refactor listen to the podcast

* Quadrat: Add a join pattern

* Make the pattern wide

* Check the class exists before calling it

* Make sure the plugin is loaded before adding the pattern

* Move the block pattern CSS to a new file

Co-authored-by: Maggie Cabrera <maggie.cabrera@automattic.com>
Co-authored-by: Daniel Dudzic <daniel.dudzic@automattic.com>
Co-authored-by: Jason Crist <jcrist@pbking.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>
2021-05-06 08:06:23 -07:00