style.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. Theme Name: Foam
  3. Theme URI: https://github.com/Automattic/themes/tree/trunk/foam
  4. Author: Automattic
  5. Author URI: https://automattic.com/
  6. Description: Foam 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.2
  9. Requires PHP: 5.7
  10. Version: 1.0.3
  11. License: GNU General Public License v2 or later
  12. License URI: http://www.gnu.org/licenses/gpl-2.0.html
  13. Text Domain: foam
  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. Foam WordPress Theme, (C) 2022 Automattic, Inc.
  16. Foam 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--base);
  34. border-color: var(--wp--preset--color--secondary);
  35. }
  36. /*
  37. * Link styles
  38. * https://github.com/WordPress/gutenberg/issues/42319
  39. */
  40. a {
  41. text-decoration-thickness: .0625em !important;
  42. text-underline-offset: .15em;
  43. }