style.css 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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: 5.7
  8. Tested up to: 5.9
  9. Requires PHP: 5.7
  10. Version: 0.0.16
  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) 2021 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. * Font smoothing
  28. */
  29. body {
  30. -moz-osx-font-smoothing: grayscale;
  31. -webkit-font-smoothing: antialiased;
  32. }
  33. /*
  34. * Responsive menu container padding.
  35. * This ensures the responsive container inherits the same
  36. * spacing defined above. This behavior may be built into
  37. * the Block Editor in the future.
  38. */
  39. .wp-block-navigation__responsive-container.is-menu-open {
  40. padding-top: var(--wp--preset--spacing--50);
  41. padding-bottom: var(--wp--preset--spacing--50);
  42. padding-right: var(--wp--preset--spacing--50);
  43. padding-left: var(--wp--preset--spacing--50);
  44. }
  45. /*
  46. * Control the hover stylings of outline block style.
  47. * Unnecessary once block styles are configurable via theme.json
  48. */
  49. .wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
  50. background-color: var(--wp--preset--color--secondary);
  51. color: var(--wp--preset--color--background);
  52. border-color: var(--wp--preset--color--secondary);
  53. }
  54. /**
  55. * Currently table styles are only available with 'wp-block-styles' theme support (block css) thus the following needs to be included
  56. * since 'wp-block-styles' aren't used for this theme.
  57. */
  58. .wp-block-table thead {
  59. border-bottom: 3px solid;
  60. }
  61. .wp-block-table tfoot {
  62. border-top: 3px solid;
  63. }
  64. .wp-block-table td,
  65. .wp-block-table th {
  66. padding: var(--wp--preset--spacing--30);
  67. border: 1px solid;
  68. word-break: normal;
  69. }
  70. .wp-block-table figcaption {
  71. font-size: var(--wp--preset--font-size--small);
  72. text-align: center;
  73. }