style.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. /*
  2. Theme Name: Kiosko
  3. Theme URI: https://wordpress.com/theme/kiosko/
  4. Author: Automattic
  5. Author URI: https://automattic.com/
  6. Description: Kiosko is a store theme for WooCommerce
  7. Requires at least: 5.8
  8. Tested up to: 6.2
  9. Requires PHP: 5.7
  10. Version: 1.0
  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: kiosko
  15. Tags: blog, e-commerce, one-column, wide-blocks, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, sticky-post, style-variations, template-editing, 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--contrast);
  24. color: var(--wp--preset--color--base);
  25. border-color: var(--wp--preset--color--contrast);
  26. }
  27. /*
  28. * Link styles
  29. * https://github.com/WordPress/gutenberg/issues/42319
  30. */
  31. a {
  32. text-decoration-color: var(--wp--preset--color--primary);
  33. text-decoration-thickness: 0.5px !important;
  34. text-underline-offset: 0.05em;
  35. }
  36. /* Reset browser default margins for blockquote element */
  37. .wp-block-pullquote blockquote {
  38. margin: 0;
  39. }
  40. /* Search button inside style */
  41. .wp-block-search__button-inside .wp-block-search__inside-wrapper {
  42. padding: 4px;
  43. }
  44. /* Adjust font size for comment reply title */
  45. .wp-block-post-comments-form .comment-reply-title {
  46. font-size: var(--wp--preset--font-size--large);
  47. }
  48. /* Remove the bottom margin from the button */
  49. .wp-block-post-comments-form .form-submit {
  50. margin-bottom: 0;
  51. }
  52. /*
  53. * Responsive menu container padding.
  54. * This ensures the responsive container inherits the same
  55. * spacing defined above. This behavior may be built into
  56. * the Block Editor in the future.
  57. */
  58. .wp-block-navigation__responsive-container.is-menu-open {
  59. padding: var(--wp--preset--spacing--50);
  60. }
  61. /* Adjust the top padding for the submenu items */
  62. .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
  63. padding-top: var(--wp--preset--spacing--30);
  64. }
  65. /* Override the Gutenberg style to theme style */
  66. .wp-block-post-author__byline,
  67. .wp-block-post-author__bio {
  68. font-size: inherit;
  69. }
  70. /* Round the avatar and reset the vertical alignment */
  71. .wp-block-post-author__avatar img {
  72. border-radius: 999px;
  73. line-height: 0;
  74. }
  75. /* Style tag cloud outline style */
  76. .wp-block-tag-cloud.is-style-outline a {
  77. border-color: var(--wp--preset--color--tertiary);
  78. border-radius: 999px;
  79. padding: 0 0.5rem;
  80. }
  81. .wp-block-tag-cloud.is-style-outline a:hover {
  82. color: var(--wp--preset--color--base);
  83. background-color: var(--wp--preset--color--primary);
  84. }
  85. /* Remove the default margin from author bio */
  86. .wp-block-post-author__bio {
  87. margin: 0;
  88. }
  89. /* Remove the default margin from term description. */
  90. .wp-block-term-description p:first-child {
  91. margin-top: 0;
  92. }
  93. .wp-block-term-description p:last-child {
  94. margin-bottom: 0;
  95. }
  96. /* Normalise font sizes for the latest comments and latest posts widgets */
  97. .wp-block-latest-comments__comment-excerpt p,
  98. .wp-block-latest-comments__comment-date,
  99. .wp-block-latest-posts__post-author,
  100. .wp-block-latest-posts__post-date {
  101. font-size: inherit;
  102. }
  103. /* Adjust font colour in the Calendar widget */
  104. .wp-block-calendar table:where(:not(.has-text-color)) {
  105. color: var(--wp--preset--color--foreground);
  106. }
  107. /* Fix border radius setting for the avatar block */
  108. .wp-block-avatar a,
  109. .wp-block-avatar img {
  110. border-radius: inherit;
  111. vertical-align: middle;
  112. }
  113. /* Fix line height for various fields */
  114. .wp-block-search__input,
  115. .wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]),
  116. .wp-block-post-comments-form .comment-form textarea {
  117. line-height: inherit;
  118. }
  119. /* Style border colour for search and Jetpack subscription blocks */
  120. .wp-block-search__input,
  121. .wp-block-search__button-inside .wp-block-search__inside-wrapper,
  122. .wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form input[type="email"] {
  123. border-color: var(--wp--preset--color--tertiary);
  124. }
  125. /* Needed to style input field for various Jetpack blocks */
  126. .wp-block-jetpack-contact-form input:not([type="submit"]):not([type="checkbox"]),
  127. .wp-block-jetpack-contact-form select,
  128. .wp-block-jetpack-contact-form textarea,
  129. .wp-block-jetpack-mailchimp input:not([type="submit"]):not([type="checkbox"]),
  130. .wp-block-jetpack-revue input:not([type="submit"]):not([type="checkbox"]) {
  131. background-color: #fff;
  132. border: 1px solid var(--wp--preset--color--tertiary);
  133. font-size: inherit;
  134. line-height: inherit;
  135. padding: 0.5rem;
  136. }
  137. .wp-block-jetpack-contact-form.contact-form label {
  138. font-weight: 400;
  139. }
  140. .wp-block-jetpack-contact-form.contact-form label span {
  141. opacity: 0.7;
  142. }
  143. .wp-block-jetpack-contact-form.contact-form select {
  144. padding: 0.5rem;
  145. }
  146. .wp-block-jetpack-contact-form.contact-form textarea {
  147. margin-bottom: var(--wp--preset--spacing--40);
  148. }
  149. /* Style the feedback you get after submitting the contact form */
  150. div[id^="contact-form-"] h4 {
  151. font-size: var(--wp--preset--font-size--medium);
  152. font-weight: inherit;
  153. line-height: 1.555555556;
  154. }
  155. div[id^="contact-form-"] .contact-form-submission {
  156. margin: 0;
  157. padding: 0;
  158. }
  159. /* Adjust vertical margins in the mailchimp block */
  160. .wp-block-jetpack-mailchimp .wp-block-jetpack-button,
  161. .wp-block-jetpack-mailchimp p {
  162. margin: var(--wp--preset--spacing--40) 0;
  163. }
  164. /* Adjust the size of the consent text in mailchimp block */
  165. #wp-block-jetpack-mailchimp_consent-text {
  166. font-size: var(--wp--preset--font-size--small);
  167. margin-bottom: 0;
  168. }
  169. /* Remove underline from the price after discounted */
  170. ins {
  171. text-decoration: none;
  172. }
  173. /* Fix the hardcoded wide width value in the stylesheet for TT3 */
  174. .woocommerce.woocommerce-page main {
  175. max-width: calc(var(--wp--style--global--wide-size) + var(--wp--style--root--padding-right) + var(--wp--style--root--padding-left));
  176. }