Commit graph

94 commits

Author SHA1 Message Date
Maggie
f907e7dfe6
remove unneeded styles for post template (#4809) 2021-11-10 11:52:09 -05:00
Ben Dwyer
211fbcf20a
Blockbase: Remove unnecessary normalize code (#4802) 2021-11-10 11:51:51 -05:00
Jason Crist
8c91028c92
Refactor Paragraph margin rules for consistent, non block-gap values (#4908) 2021-10-27 11:59:29 +01:00
Maggie
508e6866e9
Blockbase: search block font size (#4865)
* defined a font size for search block
* added line-height control and removed it from the CSS
* rebuilt children
2021-10-21 14:36:41 -04:00
Maggie
a025027975
Blockbase: make post meta icons optional (#4891)
* move blockbase post meta icons to block styles

* refactored geologist, removed unneeded css coming from Quadrat

* added meta icons to russell

* seedlet, zoologist refactored like geologist

* refactored Quadrat

* more unnecesary css

* applied to Mayland

* removed CSS from videomaker

* built mayland

* refactored Skatepark

* correct icon and size for Skatepark
2021-10-21 16:30:06 +02:00
Sarah Norris
46f1ed11a0
Videomaker: Navigation styles (#4876)
* Videomaker: center nav items

* Videomaker: remove uppercase from nav block

* Videomaker: center social links

* Videomaker: add current-menu-item styles

* Videomaker: add underline to parent menu item

* Videomaker: increase nav spacing

* Videomaker: tweak spacing again

* Videomaker: style current menu item

* Videomaker: fix submenu centering

* Videomaker: make all pattern navs uppercase

* Blockbase: Remove ! important rules from navigation CSS

* Always show submenu items

* Remove another ! important

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-10-20 14:18:22 +01:00
Jason Crist
0d08de6d60
Adjusted menu CSS to match recent changes in the block (#4822)
* Adjusted menu CSS to match recent changes in the block

* Adjusted mobile menu styling to fit recent changes to navigation block

* Style social nav on mobile only

* Made the same menu changes in Geologist as in Quadrat

* Corrected blockbase classes due to recent changes to navigation block

* Adjusted skatepark's navigation classes

* corrected videomaker classes

* Improved mobile navigation alignment for Seedlet Blocks

* Further addressed Seedlet's mobile stylings.  Better addressed Blockbase mobile submenu spacing.

* Remove the margins on the social links block when in the nav

* Add a block style for 'clean mobile navigation block' and cleaned up base navigation block styles polyfill

* moved social menu location of styled mobile menu

* Renamed block style to improved responsive navigation

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-10-15 08:27:27 +01:00
Jason Crist
ade84abb2d
Removed unnecessary top padding for seach block. Fixes #4843 (#4846) 2021-10-15 08:26:28 +01:00
Jason Crist
a0c8030981
Removed paragraph margin gap styles. They no longer seem to be needed. (#4845)
* Removed paragraph margin gap styles.  They no longer seem to be needed.

* Add back needed paragraph styles

* add back missing file

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-10-15 08:24:50 +01:00
Ben Dwyer
f33d548de1
Videomaker: Add block patterns (#4701)
* Videomaker: Add block patterns

* Remove autoplay, loop and muted

* Match post meta to the comps

* Add more translations to the patterns

* Set the site title CSS in the theme.json

* Reset the header

* Update patterns - add video controls and update the source video
2021-10-14 12:22:12 +01:00
Ben Dwyer
accc739da9
Blockbase: Remove CSS for HTML block (#4572) 2021-10-14 12:15:46 +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
Daniel Dudzic
86db86ac34
Blockbase: Fix custom link color. Closes #4776 (#4814)
Co-authored-by: @mikachan
2021-10-11 16:04:24 -04:00
Maggie
5a3f522684
Blockbase: remove unneeded margin rules (#4808) 2021-10-11 16:02:33 -04:00
Ben Dwyer
04508853b6
Blockbase: Rebuild all blockbase children (#4804) 2021-10-08 17:26:20 +02:00
Jason Crist
21ef6ad1d5
Added font color and size styles to form input placeholder (#4667)
* Added font color and size styles to form input placeholder

* Update quadrat/sass/elements/_forms.scss

* Quadrat: Fix search form placeholder color in the editor

* Quadrat: Remove accidental theme.json changes

* Move fix to blockbase

Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Daniel Dudzic <daniel.dudzic@automattic.com>
2021-10-07 09:39:44 +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
Ben Dwyer
52540cc33f
Blockbase: Update the space around the cookie consent label (#4788)
* Blockbase: Update the space around the cookie consent label

* Update blockbase/assets/ponyfill.css

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

* Update blockbase/sass/blocks/_post-comments.scss

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

Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>
2021-10-06 13:48:04 +01:00
Ben Dwyer
487d9f61bc
Geologist: Update header spacing (#4773)
* Geologist: Update header spacing

* Make the margin 30px

* Remove spacing around tagline in geologist

* add missing {
2021-10-05 14:14:40 +01:00
Ben Dwyer
a928e4f770
Blockbase: Remove CSS to bring up the page content and instead remove the bottom margin from post titles (#4738)
* Blockbase: Remove CSS to bring up the page content and instead remove the bottom margin from post titles

* Change the paragraph spacing to use block gap

* Remove extra space on the figure.

* spaces to tabs.

* Change gap baseline to 15px.

* Reset paragraph margins.

* Add specific selectors to target paragraphs in the editor

* Add a comment to point to the GB issue

* Increase specificity of paragraph override.

* Ensure we provide a default paragraph margin too.

* Comment related Gutenberg issue.

Co-authored-by: Jeff Ong <jonger4@gmail.com>
Co-authored-by: Kjell Reigstad <kjell@kjellr.com>
2021-10-01 10:03:21 +01:00
Jeff Ong
dbdecf073f
Blockbase: hide no comments message (#4753)
* Hide no comments message.

* Comment why this line is needed.
2021-09-30 11:12:55 -04:00
Jeff Ong
2967740651
Add a utility class to remove margin top. (#4742) 2021-09-30 09:16:25 -04:00
Jeff Ong
c7291cd78d
Remove generic has-background padding. (#4743) 2021-09-29 22:18:17 +01:00
Jeff Ong
540e644645
Make spacing between post title and content match the spacing between content and meta. (#4733) 2021-09-28 16:43:05 -04:00
Jeffrey Pearce
138a23f1ef
Merge pull request #4732 from Automattic/fix/4723-blockbase-fix-navigation-position
Fixes navigation justification.
2021-09-28 21:51:05 +02:00
Jeffrey Pearce
cac85e3a19 Fixes navigation justification
Fixes #4723
2021-09-28 21:16:42 +02:00
Ben Dwyer
4c192fefb1
Blockbase: Make the top margins consistent (#4726)
* Blockbase: Make the top margins consistent

* import post-template partial
2021-09-28 14:51:39 -04:00
Maggie
5383798185
fix justify-self (#4723) 2021-09-28 17:49:25 +01:00
Daniel Dudzic
dace170d9a
Blockbase: Remove padding from the separator (#4712) 2021-09-27 14:32:24 -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
Sarah Norris
9b09573d60
Blockbase: Add more styles to .aligncenter (#4675)
* Blockbae: add more styles to .aligncenter

This now supports image alignment as well as the site-logo block alignment

* Blockbase: replace spaces with tabs
2021-09-24 14:28:02 +01:00
Sarah Norris
b5475761f2
Blockbase: add scroll overflow to pre tags (#4674) 2021-09-24 14:26:57 +01:00
Ben Dwyer
802475c209
Blockbase: Add focus styles (#4684) 2021-09-23 13:12:47 +01:00
Ben Dwyer
77d82b6dbd
Blockbase: Fix alignmemts in the Query Pagination block (#4673) 2021-09-22 16:00:35 +01:00
Daniel Dudzic
0dae37c01c
Blockbase: Fix padding for the Group block with a background (#4629)
* Blockbase: Fix padding for the Group block with a background. Closes #4617

* Blockbase: Make sure Group spacing uses correct variables

* Add a general rule for has-background padding

* Remove the margin from the last child in a block with background color

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-09-22 11:27:10 +01:00
Sarah Norris
d8926ce8ed
Blockbase: Add post-meta template part (#4565)
* Blockbase: add post-meta template part

* Blockbase: add post-tag icon

* Blockbase: remove tags from post meta

* Blockbase: add post tags to post meta

* Blockbase: add post tag SVG from Seedlet

* Blockbase: remove separator from post meta

* Blockbase: add spacer above post comments block

* Seedlet Blocks: add post tags to post meta

* Blockbase: enable blockGap & set gap size for all children

* Blockbase children: sync up child-theme.json files

They were all using --wp--custom--margin--vertical instead of --wp--custom--gap--vertical

* Blockbase children: change gap size to GB default of 0.5em

* Blockbase & co: use gap baseline across BB & all children

* Blockbase: add row-gap value to post-meta

* Skatepark: remove gap value

This is now applied via theme.json (as the same value)

* Blockbase: add comment next to use of !important

* Blockbase: add link to GB issue around block gaps
2021-09-20 09:51:18 +01:00
Maggie
a8485fb5a9 Blockbase + Quadrat: remap quadrat colors, refactor selection to tertiary (#4570)
* remap quadrat colors, refactor selection to tertiary

* Refactored color customizations to exclusively use THEME provided values as the basis for colors to configure rather than optionally using USER provided values.

* Changed blockbase's tertiary color to match blank-canvas
* Changed seedlet-blocks tertiary color to match seedlet's

* Eliminated any text selection styling for Blockbase and children (with the exception of Skatepark)

Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-09-13 17:21:42 -04:00
Ben Dwyer
d01df558f1 Blockbase: Remove code block CSS (#4562) 2021-09-13 17:21:42 -04:00
Jason Crist
09577d5e08 Simplify Custom margin (#4556)
* Eliminated post-content margin custom CSS variable and used custom-gap-horizontal throughout instead

* refactored references from custom post-content padding to custom-margin in child themes

* refactored and simplified styles that were leveraging custom-post-content padding values

* Remove unused custom variables.

Co-authored-by: Jeff Ong <jonger4@gmail.com>
2021-09-13 17:21:42 -04:00
Ben Dwyer
d8948a3a9e
Revert "Blockbase: Remove wpcom specific CSS file (#4548)" (#4549)
This reverts commit 463aafcee7.
2021-09-08 13:50:59 +01:00
Ben Dwyer
463aafcee7
Blockbase: Remove wpcom specific CSS file (#4548) 2021-09-08 12:09:48 +01:00
Maggie
9acd573ee5 changed reply link font size and hover effect 2021-09-08 09:34:51 +02:00
Maggie
da8726abb3 cleaned up Seedlet blocks 2021-09-08 09:34:21 +02:00
Maggie
b46a9d57aa removed unused CSS from Blockbase children 2021-09-08 09:34:10 +02: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
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
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
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
f8ca35d142 improved spacing for skatepark, refactored headings spacings on BB 2021-08-20 17:36:09 +02:00
Maggie
9270aacf38 prefixes for mask for safari 2021-08-20 17:19:37 +02:00