style.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /*
  2. Theme Name: Negai
  3. Theme URI: https://wordpress.com/theme/negai/
  4. Author: Automattic
  5. Author URI: https://automattic.com/
  6. Description: Negai is a bold blogging theme with large post titles and interesting colour schemes
  7. Requires at least: 6.0
  8. Tested up to: 6.4
  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: negai
  14. Tags: blog, one-column, block-patterns, block-styles, featured-images, full-site-editing, rtl-language-support, style-variations, threaded-comments, translation-ready, wide-blocks
  15. */
  16. /*
  17. * Control the hover stylings of outline block style.
  18. * Unnecessary once block styles are configurable via theme.json
  19. * https://github.com/WordPress/gutenberg/issues/42794
  20. */
  21. .wp-block-button.is-style-outline >.wp-block-button__link:not(.has-background):hover {
  22. background-color: var(--wp--preset--color--primary);
  23. border-color: var(--wp--preset--color--primary);
  24. color: var(--wp--preset--color--base);
  25. }
  26. /*
  27. * Link styles
  28. * https://github.com/WordPress/gutenberg/issues/42319
  29. */
  30. a {
  31. text-decoration-thickness: 0.5px !important;
  32. text-underline-offset: .1em;
  33. }
  34. /*
  35. * Form field styles
  36. * https://github.com/WordPress/gutenberg/issues/42319
  37. */
  38. ::placeholder {
  39. color: var(--wp--preset--color--contrast);
  40. opacity: 1; /* Firefox */
  41. }
  42. input:not([type="submit"]):not([type="checkbox"]),
  43. textarea,
  44. .wp-block-post-comments-form input:not([type=submit]),
  45. .wp-block-post-comments-form textarea {
  46. background-color: var(--wp--preset--color--base);
  47. border-color: var(--wp--preset--color--contrast);
  48. color: var(--wp--preset--color--contrast);
  49. }
  50. input:not([type="submit"]):not([type="checkbox"]):focus,
  51. textarea:focus {
  52. outline-style: solid;
  53. outline-color: var(--wp--preset--color--contrast);
  54. }
  55. /*
  56. * Navigation Block
  57. * Reset the padding from List block
  58. * https://github.com/WordPress/gutenberg/issues/50486
  59. */
  60. .wp-block-navigation ul {
  61. padding: unset;
  62. }
  63. /*
  64. * Pull quote Block
  65. * Reset the browser default margins for blockquote element
  66. * https://github.com/WordPress/gutenberg/issues/44129
  67. */
  68. .wp-block-pullquote blockquote,
  69. .wp-block-pullquote p {
  70. margin: 0;
  71. }