style.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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.17
  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,
  18. h2,
  19. h3,
  20. h4,
  21. h5,
  22. h6,
  23. blockquote {
  24. text-wrap: balance;
  25. }
  26. p {
  27. text-wrap: pretty;
  28. }
  29. /* Set default line height for font size presets. */
  30. .has-xx-large-font-size {
  31. line-height: 1;
  32. }
  33. /* Add space between the header and first element, if its a paragraph. */
  34. .entry-content > p:first-child {
  35. margin-top: var(--wp--style--root--padding-left);
  36. }
  37. /* Fields */
  38. label,
  39. .jetpack-field-label .rich-text.jetpack-field-label__input,
  40. .wp-block-jetpack-contact-form-container .wp-block-jetpack-contact-form label {
  41. display: inline-block;
  42. font-size: var(--wp--preset--font-size--small);
  43. margin-bottom: 0.25em;
  44. font-weight: inherit;
  45. }
  46. textarea,
  47. input:not([type=submit]):not([type=checkbox]),
  48. .wp-block-post-comments-form textarea,
  49. .wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),
  50. .jetpack-contact-form .jetpack-field .jetpack-field__input,
  51. .jetpack-contact-form .jetpack-field .jetpack-field__textarea {
  52. backdrop-filter: saturate(1.075);
  53. background-color: transparent;
  54. border-color: currentColor;
  55. border-style: solid;
  56. border-radius: 6px;
  57. border-width: 1px;
  58. box-shadow: none;
  59. box-sizing: border-box;
  60. color: currentColor;
  61. filter: brightness(1.05);
  62. font-size: var(--wp--preset--font-size--small);
  63. font-weight: inherit;
  64. line-height: 1.5;
  65. min-height: 42px;
  66. padding: 0.8rem 1rem;
  67. width: 100%;
  68. }
  69. textarea:focus,
  70. input:not([type=submit]):focus,
  71. .wp-block-post-comments-form textarea:focus,
  72. .wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]):focus {
  73. outline: 1px solid currentColor;
  74. }
  75. /* Jetpack Forms: Clean up errors */
  76. .contact-form__error {
  77. font-size: 13px;
  78. }
  79. .contact-form__input-error {
  80. font-size: 13px;
  81. gap: 8px;
  82. }
  83. .contact-form__input-error .contact-form__warning-icon {
  84. border-width: 0;
  85. }
  86. /* Jetpack Forms: Animated block style tweaks */
  87. .contact-form .is-style-animated .grunion-field-wrap.grunion-field-select-wrap .animated-label__label label,
  88. .contact-form .is-style-animated .grunion-field-wrap .grunion-field.has-placeholder ~ .animated-label__label label,
  89. .contact-form .is-style-animated .grunion-field-wrap .grunion-field:focus ~ .animated-label__label label,
  90. .contact-form .is-style-animated .grunion-field-wrap .grunion-field:not(:placeholder-shown) ~ .animated-label__label label {
  91. opacity: 0.7;
  92. font-size: 11px;
  93. }
  94. /* Make sure footers have no margin. */
  95. footer {
  96. margin-top: 0 !important;
  97. }
  98. /* Social Links: Better default color. */
  99. .wp-block-social-links.is-style-logos-only li.wp-social-link {
  100. color: currentcolor;
  101. }
  102. .wp-block-social-links.is-style-logos-only .wp-social-link svg {
  103. height: 1em;
  104. width: 1em;
  105. }
  106. .wp-block-social-links.has-small-icon-size {
  107. font-size: 20px;
  108. }
  109. /* Move header core/navigation to the right on mobile. */
  110. .order-0 {
  111. order: 0;
  112. }
  113. .order-1 {
  114. order: 1;
  115. }
  116. .grow-0 {
  117. flex-grow: 0;
  118. }
  119. .grow {
  120. flex-grow: 1;
  121. }
  122. @media (min-width: 600px) {
  123. .md\:order-0 {
  124. order: 0;
  125. }
  126. .md\:order-1 {
  127. order: 1;
  128. }
  129. .md\:grow-0 {
  130. flex-grow: 0;
  131. }
  132. .md\:grow {
  133. flex-grow: 1;
  134. }
  135. }
  136. .overflow-hidden {
  137. overflow: hidden;
  138. }