themes-wordpress/block-canvas/style.css
Jason Crist 38d4fda596
Create/decibel (#6542)
* Update Block Canvas settings to be a more generic starting point. Eliminated custom gap values (replaced with --preset--spacing), eliminated redundant (and some opinionated) block settings

* Added Decibel as a (for NOW) child theme of Block Canvas with (only a few) style opinions added
2022-09-13 11:25:55 -04:00

52 lines
1.9 KiB
CSS

/*
Theme Name: Block Canvas
Theme URI: https://github.com/Automattic/themes/tree/trunk/block-canvas
Author: Automattic
Author URI: https://automattic.com/
Description: Block canvas is a simple theme that supports full-site editing. It comes with a set of minimal templates and design settings that can be manipulated through Global Styles. Use it to build something beautiful.
Requires at least: 5.7
Tested up to: 5.9
Requires PHP: 5.7
Version: 0.0.14
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: block-canvas
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks, auto-loading-homepage
Block canvas WordPress Theme, (C) 2021 Automattic, Inc.
Block canvas is distributed under the terms of the GNU GPL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/*
* Font smoothing
*/
body {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}
/*
* Responsive menu container padding.
* This ensures the responsive container inherits the same
* spacing defined above. This behavior may be built into
* the Block Editor in the future.
*/
.wp-block-navigation__responsive-container.is-menu-open {
padding-top: var(--wp--preset--spacing--50);
padding-bottom: var(--wp--preset--spacing--50);
padding-right: var(--wp--preset--spacing--50);
padding-left: var(--wp--preset--spacing--50);
}