style.css 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /*
  2. Theme Name: Block Canvas
  3. Theme URI: https://github.com/Automattic/themes/tree/trunk/block-canvas
  4. Author: Automattic
  5. Author URI: https://automattic.com/
  6. 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.
  7. Requires at least: 6.0
  8. Tested up to: 6.0
  9. Requires PHP: 5.7
  10. Version: 0.0.23
  11. License: GNU General Public License v2 or later
  12. License URI: http://www.gnu.org/licenses/gpl-2.0.html
  13. Text Domain: block-canvas
  14. 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
  15. Block Canvas WordPress Theme, (C) 2022 Automattic, Inc.
  16. Block Canvas is distributed under the terms of the GNU GPL.
  17. This program is free software: you can redistribute it and/or modify
  18. it under the terms of the GNU General Public License as published by
  19. the Free Software Foundation, either version 2 of the License, or
  20. (at your option) any later version.
  21. This program is distributed in the hope that it will be useful,
  22. but WITHOUT ANY WARRANTY; without even the implied warranty of
  23. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  24. GNU General Public License for more details.
  25. */
  26. /*
  27. * Control the hover stylings of outline block style.
  28. * Unnecessary once block styles are configurable via theme.json
  29. * https://github.com/WordPress/gutenberg/issues/42794
  30. */
  31. .wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
  32. background-color: var(--wp--preset--color--secondary);
  33. color: var(--wp--preset--color--background);
  34. border-color: var(--wp--preset--color--secondary);
  35. }
  36. /**
  37. * Currently table styles are only available with 'wp-block-styles'
  38. * theme support (block css) thus the following needs to be included
  39. * since 'wp-block-styles' aren't used for this theme.
  40. * https://github.com/WordPress/gutenberg/issues/45065
  41. */
  42. .wp-block-table thead {
  43. border-bottom: 3px solid;
  44. }
  45. .wp-block-table tfoot {
  46. border-top: 3px solid;
  47. }
  48. .wp-block-table td,
  49. .wp-block-table th {
  50. padding: var(--wp--preset--spacing--30);
  51. border: 1px solid;
  52. word-break: normal;
  53. }
  54. .wp-block-table figcaption {
  55. font-size: var(--wp--preset--font-size--small);
  56. text-align: center;
  57. }
  58. /*
  59. * Link styles
  60. * https://github.com/WordPress/gutenberg/issues/42319
  61. */
  62. a {
  63. text-decoration-thickness: .0625em !important;
  64. text-underline-offset: .15em;
  65. }