80 lines
2.7 KiB
CSS
80 lines
2.7 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: 6.0
|
|
Tested up to: 6.0
|
|
Requires PHP: 5.7
|
|
Version: 0.0.20
|
|
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) 2022 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
|
|
* https://github.com/WordPress/gutenberg/issues/35934
|
|
*/
|
|
body {
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/*
|
|
* Control the hover stylings of outline block style.
|
|
* Unnecessary once block styles are configurable via theme.json
|
|
* https://github.com/WordPress/gutenberg/issues/42794
|
|
*/
|
|
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
|
|
background-color: var(--wp--preset--color--secondary);
|
|
color: var(--wp--preset--color--background);
|
|
border-color: var(--wp--preset--color--secondary);
|
|
}
|
|
|
|
/**
|
|
* Currently table styles are only available with 'wp-block-styles'
|
|
* theme support (block css) thus the following needs to be included
|
|
* since 'wp-block-styles' aren't used for this theme.
|
|
* https://github.com/WordPress/gutenberg/issues/45065
|
|
*/
|
|
.wp-block-table thead {
|
|
border-bottom: 3px solid;
|
|
}
|
|
.wp-block-table tfoot {
|
|
border-top: 3px solid;
|
|
}
|
|
.wp-block-table td,
|
|
.wp-block-table th {
|
|
padding: var(--wp--preset--spacing--30);
|
|
border: 1px solid;
|
|
word-break: normal;
|
|
}
|
|
.wp-block-table figcaption {
|
|
font-size: var(--wp--preset--font-size--small);
|
|
text-align: center;
|
|
}
|
|
|
|
/*
|
|
* Link styles
|
|
* https://github.com/WordPress/gutenberg/issues/42319
|
|
*/
|
|
a {
|
|
text-decoration-thickness: .0625em !important;
|
|
text-underline-offset: .15em;
|
|
}
|