style.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. /*
  2. Theme Name: Bitácora
  3. Theme URI: https://wordpress.com/theme/bitacora
  4. Author: Automattic
  5. Author URI: https://automattic.com/
  6. Description: Bitácora is a simple old-school blog theme.
  7. Requires at least: 6.0
  8. Tested up to: 6.1.1
  9. Requires PHP: 5.7
  10. Version: 1.0.8
  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: bitacora
  15. Tags: two-columns, right-sidebar, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, blog, style-variations
  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
  23. > .wp-block-button__link:not(.has-background):hover {
  24. background-color: var(--wp--preset--color--secondary);
  25. color: var(--wp--preset--color--background);
  26. border-color: var(--wp--preset--color--secondary);
  27. }
  28. /*
  29. * Link styles
  30. * https://github.com/WordPress/gutenberg/issues/42319
  31. */
  32. a {
  33. text-decoration-thickness: 0.5px !important;
  34. text-underline-offset: 0.05em;
  35. }
  36. /* Overrides the Gutenberg styles for the outline button */
  37. .wp-block-button.is-style-outline > .wp-block-button__link {
  38. padding: calc(10px - 1px) calc(15px - 1px);
  39. border: 1px solid var(--wp--preset--color--foreground);
  40. }
  41. /* Reset the Gutenberg style for the author byline */
  42. .wp-block-post-author__byline {
  43. font-size: 1em;
  44. }
  45. /* There is no option for border-radius yet, and reset the vertical alignment */
  46. .wp-block-post-author__avatar img {
  47. border-radius: 999px;
  48. vertical-align: middle;
  49. }
  50. .wp-block-avatar img {
  51. vertical-align: middle;
  52. }
  53. /*
  54. * Needed until https://github.com/WordPress/gutenberg/issues/34196 or something like it.
  55. */
  56. .wp-block-tag-cloud.is-style-outline a {
  57. border-radius: 999px;
  58. padding: 0 1rem;
  59. }
  60. .wp-block-tag-cloud.is-style-outline a:hover {
  61. color: var(--wp--preset--color--background);
  62. background-color: var(--wp--preset--color--primary);
  63. }
  64. /*
  65. * Remove the default margin bottom from term description and post excerpt.
  66. */
  67. .wp-block-term-description p:first-child {
  68. margin-top: 0;
  69. }
  70. .wp-block-term-description p:last-child {
  71. margin-bottom: 0;
  72. }
  73. .wp-block-search__input,
  74. .wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline
  75. form
  76. input[type="email"] {
  77. border-color: var(--wp--preset--color--tertiary);
  78. }
  79. /*
  80. * Needed to style Jetpack Form
  81. */
  82. .wp-block-jetpack-contact-form
  83. input:not([type="submit"]):not([type="checkbox"]),
  84. .wp-block-jetpack-mailchimp input:not([type="submit"]):not([type="checkbox"]),
  85. .wp-block-jetpack-revue input:not([type="submit"]):not([type="checkbox"]),
  86. .wp-block-jetpack-contact-form select,
  87. .wp-block-jetpack-contact-form textarea {
  88. background-color: #fff;
  89. border: 1px solid var(--wp--preset--color--tertiary);
  90. font-size: 1em;
  91. padding: 0.75rem;
  92. }
  93. .wp-block-jetpack-contact-form .wp-block-jetpack-button button,
  94. .wp-block-jetpack-mailchimp .wp-block-jetpack-button button,
  95. .wp-block-jetpack-revue .wp-block-jetpack-button button {
  96. border-width: 0;
  97. font-size: var(--wp--preset--font-size--x-small);
  98. font-weight: 700;
  99. letter-spacing: 0.02em;
  100. line-height: inherit;
  101. padding: 10px 15px;
  102. }
  103. .wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline
  104. .wp-block-jetpack-subscriptions__form
  105. .wp-block-jetpack-subscriptions__button,
  106. .wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline
  107. .wp-block-jetpack-subscriptions__form
  108. .wp-block-jetpack-subscriptions__textfield
  109. .components-text-control__input,
  110. .wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline
  111. .wp-block-jetpack-subscriptions__form
  112. button,
  113. .wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline
  114. .wp-block-jetpack-subscriptions__form
  115. input[type="email"],
  116. .wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline
  117. form
  118. .wp-block-jetpack-subscriptions__button,
  119. .wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline
  120. form
  121. .wp-block-jetpack-subscriptions__textfield
  122. .components-text-control__input,
  123. .wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline
  124. form
  125. button,
  126. .wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline
  127. form
  128. input[type="email"] {
  129. line-height: inherit;
  130. }