style.css 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /*
  2. Theme Name: Rainfall
  3. Theme URI: TBD
  4. Author: Automattic
  5. Author URI: https://automattic.com
  6. Description: TBD
  7. Requires at least: 5.8
  8. Tested up to: 5.9
  9. Requires PHP: 5.7
  10. Version: 0.0.3
  11. License: GNU General Public License v2 or later
  12. License URI: https://raw.githubusercontent.com/Automattic/themes/trunk/LICENSE
  13. Template:
  14. Text Domain: rainfall
  15. Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
  16. */
  17. .wp-block-post-title:not(.editor-post-title) {
  18. margin-left: 1ch;
  19. text-indent: -1ch;
  20. }
  21. .wp-block-post-comments-form input:not([type=submit],[type=checkbox]),
  22. .wp-block-post-comments-form textarea,
  23. .wp-block-post-comments-form select {
  24. background-color: var(--wp--preset--color--black);
  25. color: var(--wp--preset--color--black);
  26. border: 1px solid var(--wp--preset--color--white);
  27. }
  28. /**
  29. * Styles for the search page input
  30. */
  31. .has-black-background-color .wp-block-search__input {
  32. background-color: var(--wp--preset--color--black);
  33. color: 1px solid var(--wp--preset--color--white);
  34. }
  35. /*
  36. * Font smoothing
  37. */
  38. body {
  39. -moz-osx-font-smoothing: grayscale;
  40. -webkit-font-smoothing: antialiased;
  41. }
  42. /*
  43. * Alignment styles, borrowed from Twenty Twenty-Two.
  44. * These rules are temporary, and should not be relied on or
  45. * modified too heavily by themes or plugins that build on
  46. * Twenty Twenty-Two. These are meant to be a precursor to
  47. * a global solution provided by the Block Editor.
  48. *
  49. * Relevant issues:
  50. * https://github.com/WordPress/gutenberg/issues/35607
  51. * https://github.com/WordPress/gutenberg/issues/35884
  52. */
  53. .wp-site-blocks,
  54. body > .is-root-container,
  55. .edit-post-visual-editor__post-title-wrapper,
  56. .wp-block-group.alignfull,
  57. .wp-block-group.has-background,
  58. .wp-block-columns.alignfull.has-background,
  59. .wp-block-cover.alignfull,
  60. .is-root-container .wp-block[data-align='full'] > .wp-block-group,
  61. .is-root-container .wp-block[data-align='full'] > .wp-block-columns.has-background,
  62. .is-root-container .wp-block[data-align='full'] > .wp-block-cover {
  63. padding-left: var(--wp--style--block-gap);
  64. padding-right: var(--wp--style--block-gap);
  65. }
  66. .wp-site-blocks .alignfull,
  67. .wp-site-blocks > .wp-block-group.has-background,
  68. .wp-site-blocks > .wp-block-cover,
  69. .wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
  70. .wp-site-blocks > .wp-block-template-part > .wp-block-cover,
  71. body > .is-root-container > .wp-block-cover,
  72. body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
  73. body > .is-root-container > .wp-block-template-part > .wp-block-cover,
  74. .is-root-container .wp-block[data-align='full'] {
  75. margin-left: calc(-1 * var(--wp--style--block-gap)) !important;
  76. margin-right: calc(-1 * var(--wp--style--block-gap)) !important;
  77. max-width: unset;
  78. width: unset;
  79. }
  80. /* Blocks inside columns don't have negative margins. */
  81. .wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
  82. .is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
  83. /* We also want to avoid stacking negative margins. */
  84. .wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
  85. .is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] {
  86. margin-left: auto !important;
  87. margin-right: auto !important;
  88. width: inherit;
  89. }