style.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. /*
  2. Theme Name: Assembler
  3. Theme URI: https://wordpress.com/theme/assembler
  4. Author: Automattic
  5. Author URI: https://automattic.com/
  6. Description: Assemble something beautiful.
  7. Requires at least: 6.4
  8. Tested up to: 6.4
  9. Requires PHP: 7.0
  10. Version: 0.0.11
  11. License: GNU General Public License v2 or later
  12. License URI: http://www.gnu.org/licenses/gpl-2.0.html
  13. Text Domain: assembler
  14. Tags: blog, one-column, three-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, style-variations, template-editing, theme-options, threaded-comments, translation-ready
  15. */
  16. /* Progresive enhancement to reduce widows and orphans. */
  17. h1, h2, h3, h4, h5, h6, blockquote {
  18. text-wrap: balance;
  19. }
  20. p {
  21. text-wrap: pretty;
  22. }
  23. /* Tiny tweak to make sure footers are properly spaced. */
  24. footer {
  25. margin-top: 0 !important;
  26. }
  27. /* Provide better default color for social links */
  28. .wp-block-social-links.is-style-logos-only li.wp-social-link {
  29. color: currentColor;
  30. }
  31. .wp-block-social-links.is-style-logos-only .wp-social-link svg {
  32. height: 1em;
  33. width: 1em;
  34. }
  35. .wp-block-social-links.has-small-icon-size {
  36. font-size: 20px;
  37. }
  38. /* Set default line height for font size presets. */
  39. .has-xx-large-font-size {
  40. line-height: 1;
  41. }
  42. /* Add space between the header and first element, if its a paragraph. */
  43. .entry-content > p:first-child {
  44. margin-top: var(--wp--style--root--padding-left);
  45. }
  46. /* Move header core/navigation to the right on mobile. */
  47. .order-0 {
  48. order: 0;
  49. }
  50. .order-1 {
  51. order: 1;
  52. }
  53. .grow-0 {
  54. flex-grow: 0;
  55. }
  56. .grow {
  57. flex-grow: 1;
  58. }
  59. @media (min-width: 600px) {
  60. .md\:order-0 {
  61. order: 0;
  62. }
  63. .md\:order-1 {
  64. order: 1;
  65. }
  66. .md\:grow-0 {
  67. flex-grow: 0;
  68. }
  69. .md\:grow {
  70. flex-grow: 1;
  71. }
  72. }
  73. .overflow-hidden {
  74. overflow: hidden;
  75. }
  76. /* Style Jetpack forms */
  77. .wp-block-jetpack-contact-form-container {
  78. --jetpack--contact-form--input-padding-left: 16px !important;
  79. }
  80. .wp-block-jetpack-contact-form input,
  81. .wp-block-jetpack-contact-form textarea {
  82. backdrop-filter: saturate(1.1);
  83. background-color: transparent;
  84. border-color: var(--wp--custom--input--border--color);
  85. border-radius: var(--wp--custom--input--border--radius) !important; /* Requires !important to override local variables with theme variables. */
  86. border-width: var(--wp--custom--input--border--width) !important; /* Requires !important to override local variables with theme variables. */
  87. filter: brightness(0.975);
  88. font-size: inherit;
  89. color: inherit;
  90. transition: border-color 0.15s cubic-bezier(.4,0,.2,1);
  91. }
  92. .jetpack-contact-form .jetpack-field .jetpack-field__input,
  93. .jetpack-contact-form .jetpack-field .jetpack-field__textarea {
  94. border-color: var(--wp--custom--input--border--color);
  95. }
  96. .wp-block-jetpack-contact-form input:not(:placeholder-shown),
  97. .wp-block-jetpack-contact-form textarea:not(:placeholder-shown),
  98. .wp-block-jetpack-contact-form input:focus,
  99. .wp-block-jetpack-contact-form textarea:focus {
  100. filter: brightness(1);
  101. backdrop-filter: saturate(1);
  102. }
  103. .wp-block-jetpack-contact-form input:focus,
  104. .wp-block-jetpack-contact-form textarea:focus {
  105. border-color: var(--wp--custom--input--focus--border--color);
  106. }
  107. .contact-form .is-style-animated .grunion-field-wrap:not(.no-label) select,
  108. .contact-form .is-style-animated .grunion-field-wrap:not(.no-label)>input,
  109. .contact-form .is-style-animated .grunion-field-wrap:not(.no-label)>textarea {
  110. padding-top: var(--field-padding); /* Remove unnecessary padding adjustment from Jetpack. */
  111. }
  112. .contact-form .is-style-animated .grunion-field-wrap .animated-label__label {
  113. font-size: inherit;
  114. }
  115. .contact-form .is-style-animated .grunion-field-wrap .animated-label__label {
  116. width: auto;
  117. padding: 0 4px;
  118. transition: transform 0.15s cubic-bezier(.4,0,.2,1), top 0.15s cubic-bezier(.4,0,.2,1), font-size 0.15s cubic-bezier(.4,0,.2,1);
  119. }
  120. .contact-form .is-style-animated .grunion-field-wrap .grunion-field.has-placeholder~.animated-label__label,
  121. .contact-form .is-style-animated .grunion-field-wrap .grunion-field:focus~.animated-label__label,
  122. .contact-form .is-style-animated .grunion-field-wrap .grunion-field:not(:placeholder-shown)~.animated-label__label,
  123. .contact-form .is-style-animated .grunion-field-wrap.grunion-field-select-wrap .animated-label__label {
  124. background-color: var(--wp--custom--input--color--background) !important;
  125. transform: translateY(-11px) translateX(-4px); /* Moves the label out of the field. */
  126. }
  127. .contact-form label,
  128. .wp-block-jetpack-contact-form label,
  129. .jetpack-field-label .rich-text.jetpack-field-label__input {
  130. font-weight: 500;
  131. }
  132. .contact-form__input-error {
  133. font-size: var(--wp--preset--font-size--small);
  134. }