style.css 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. Theme Name: Optimismo
  3. Theme URI: https://wordpress.com/theme/optimismo/
  4. Author: Automattic
  5. Author URI: https://automattic.com/
  6. Description: Optimismo is a bold blog theme that allows you to have a big bold message at the front.
  7. Requires at least: 5.8
  8. Tested up to: 6.1.1
  9. Requires PHP: 5.7
  10. Version: 1.0.1
  11. License: GNU General Public License v2 or later
  12. License URI: http://www.gnu.org/licenses/gpl-2.0.html
  13. Template:
  14. Text Domain: optimismo
  15. Tags: blog, news, one-column, wide-blocks, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, template-editing, theme-options, threaded-comments, translation-ready
  16. */
  17. /*
  18. * Control the hover stylings of outline block style.
  19. * Unnecessary once block styles are configurable via theme.json
  20. * https://github.com/WordPress/gutenberg/issues/42794
  21. */
  22. .wp-block-button.is-style-outline >.wp-block-button__link:not(.has-background):hover {
  23. background-color: var(--wp--preset--color--primary);
  24. border-color: var(--wp--preset--color--primary);
  25. color: var(--wp--preset--color--base);
  26. }
  27. /*
  28. * Link styles
  29. * https://github.com/WordPress/gutenberg/issues/42319
  30. */
  31. a {
  32. text-decoration-thickness: 1px !important;
  33. text-underline-offset: 1.5px;
  34. }
  35. /*
  36. * Avatar Block
  37. * Fix border radius setting for the avatar block
  38. * https://github.com/WordPress/gutenberg/issues/48253
  39. */
  40. .wp-block-avatar a,
  41. .wp-block-avatar img {
  42. border-radius: inherit;
  43. }
  44. /*
  45. * Pull quote Block
  46. * Reset the browser default margins for blockquote element
  47. * https://github.com/WordPress/gutenberg/issues/44129
  48. */
  49. .wp-block-pullquote blockquote {
  50. margin: 0;
  51. }