themes-wordpress/spearhead/style.css

921 lines
24 KiB
CSS
Raw Normal View History

/*
Theme Name: Spearhead
2020-10-27 17:01:46 +00:00
Theme URI: https://wordpress.com/theme/spearhead
Author: Automattic
Author URI: https://automattic.com/
Description: Share your podcast with the world using Spearhead.
2020-11-25 17:31:43 +00:00
Requires at least: 5.5
Tested up to: 5.5
Requires PHP: 5.6.2
2022-02-08 22:30:42 +00:00
Version: 1.3.6
License: GNU General Public License v2 or later
License URI: LICENSE
Template: seedlet
2020-10-06 16:31:58 +00:00
Text Domain: spearhead
2021-12-16 19:02:23 +00:00
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready, auto-loading-homepage, jetpack-global-styles
*/
/**
2020-10-08 11:12:15 +00:00
* Required Variables
*/
2020-10-27 10:10:26 +00:00
.author-link {
font-size: var(--global--font-size-xs);
position: relative;
}
.author-link:after {
background-image: url("data:image/svg+xml,%3Csvg class='svg-icon' width='24' height='24' aria-hidden='true' role='img' focusable='false' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.96954 10.2804L11.9999 15.3107L17.0302 10.2804L15.9695 9.21973L11.9999 13.1894L8.0302 9.21973L6.96954 10.2804Z' fill='%23DB0042'%3E%3C/path%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: center center;
background-size: 14px 14px;
content: '';
position: absolute;
bottom: 0;
right: -14px;
width: 14px;
height: 14px;
transform: rotate(-90deg);
}
2020-10-14 15:54:04 +00:00
/**
* Required Variables
*/
/**
* Repsonsive Styles
*/
@media only screen and (min-width: 830px) {
:root {
--global--spacing-horizontal: 60px;
--global--spacing-vertical: 35px;
--responsive--aligndefault-width: min(calc(100vw - 2 * var(--global--spacing-horizontal)), 782px);
--responsive--alignwide-width: min(calc(100vw - 2 * var(--global--spacing-horizontal)), 1247px);
--wpadmin-bar--height: 32px;
2020-10-14 15:54:04 +00:00
}
}
2020-10-09 15:20:08 +00:00
.archive .post .entry-title,
.home .post .entry-title {
font-size: var(--global--font-size-lg);
line-height: var(--global--line-height-heading);
margin-bottom: 0;
}
2020-10-28 19:45:34 +00:00
.archive .post-excerpt:not(.sticky),
.home .post-excerpt:not(.sticky) {
color: var(--global--color-secondary);
}
.archive .post-excerpt:not(.sticky) .more-link,
.home .post-excerpt:not(.sticky) .more-link {
color: var(--global--color-secondary);
}
.archive .post-excerpt:not(.sticky) .more-link:hover,
.home .post-excerpt:not(.sticky) .more-link:hover {
color: var(--global--color-primary-hover);
}
.post .entry-header {
display: flex;
flex-direction: column;
}
.post .entry-header .entry-title {
margin-bottom: 0;
}
.post .entry-header .entry-meta {
margin-bottom: var(--global--spacing-vertical);
order: -1;
}
.post .entry-header .entry-meta .posted-on svg {
display: none;
}
.post .entry-header .entry-meta .posted-on a {
color: var(--global--color-foreground-low-contrast);
font-family: var(--global--font-primary);
2020-10-15 18:09:22 +00:00
font-size: var(--global--font-size-md);
}
2020-10-09 12:43:52 +00:00
.site-main > * {
2020-10-12 18:35:15 +00:00
margin: 0 auto;
2020-10-13 15:44:27 +00:00
padding: var(--global--spacing-vertical) 0;
}
.site-main > *:first-child {
padding-top: 0;
2020-10-09 12:43:52 +00:00
}
.site-main article > * {
margin-top: calc( 0.48 * var(--global--spacing-vertical));
margin-bottom: calc( 0.48 * var(--global--spacing-vertical));
2020-10-26 13:33:52 +00:00
/* This overrides Seedlet's style for this breakpoint */
}
@media only screen and (min-width: 482px) {
.site-main article > * {
margin-top: calc( 0.48 * var(--global--spacing-vertical));
margin-bottom: calc( 0.48 * var(--global--spacing-vertical));
}
}
2020-10-16 10:37:24 +00:00
.has-sticky-post .site-main {
background: var(--sticky-posts--alt-color-background);
}
2020-10-09 12:43:52 +00:00
.has-sticky-post .site-main > *:first-child {
margin-top: calc( 0px - var(--global--spacing-vertical));
padding-top: var(--global--spacing-vertical);
}
2020-10-12 15:53:37 +00:00
.post.sticky {
2020-10-09 12:43:52 +00:00
background: var(--sticky-posts--color-background);
2020-10-27 12:17:30 +00:00
padding-bottom: calc(2 * var(--global--spacing-vertical));
2020-10-09 12:43:52 +00:00
}
2020-10-12 15:53:37 +00:00
.post.sticky .entry-title {
font-size: var(--sticky-posts--entry-title-font-size);
}
.post.sticky .entry-content {
font-size: var(--sticky-posts--entry-content-font-size);
}
2020-10-27 12:17:30 +00:00
.post.sticky + .post.sticky {
padding-top: 0;
}
2020-10-28 15:31:12 +00:00
.post.sticky + article:not(.sticky) {
2020-10-27 12:17:30 +00:00
padding-top: calc(2 * var(--global--spacing-vertical));
}
.sticky-post {
2020-10-12 13:57:19 +00:00
display: none;
}
.entry-content .more-link {
color: var(--global--color-foreground);
display: inline-block;
font-size: var(--entry-meta--font-size);
margin-top: 0;
text-decoration: 1px solid underline var(--global--color-primary);
}
.entry-content .more-link:hover {
color: var(--global--color-primary-hover);
}
.entry-content .more-link:after {
content: none;
}
.entry-content .more-link svg {
height: var(--global--font-size-base);
width: var(--global--font-size-base);
margin-left: -0.25em;
display: inline-block;
vertical-align: middle;
transform: rotate(-90deg);
}
.entry-content .excerpt-more-link .more-link {
2020-10-13 15:04:10 +00:00
margin-left: 1rem;
}
2020-10-15 15:03:47 +00:00
.single {
2020-10-27 10:10:26 +00:00
color: var(--global--color-foreground);
2020-10-15 15:03:47 +00:00
}
2020-10-05 15:36:10 +00:00
.has-link-color a, a {
border-color: transparent;
2020-10-05 15:36:10 +00:00
transition: all 0.1s ease;
text-decoration: none;
2020-10-05 15:36:10 +00:00
}
.has-link-color a:hover, a:hover {
2020-10-05 15:36:10 +00:00
color: var(--global--color-primary-hover);
text-decoration: 1px solid underline;
}
.wp-block a,
.entry-content a {
2020-10-16 10:06:26 +00:00
font-weight: var(--global--link-font-weight);
border-color: var(--global--color-primary);
}
.wp-block a:hover,
.entry-content a:hover {
border-color: transparent;
}
2020-10-07 09:04:18 +00:00
.has-main-navigation .site-header {
2021-01-14 16:37:55 +00:00
padding: var(--global--spacing-vertical) 0;
}
@media only screen and (min-width: 830px) {
.has-main-navigation .site-header {
2021-01-14 16:37:55 +00:00
padding: var(--global--spacing-vertical) var(--global--spacing-horizontal);
}
}
2021-01-14 16:37:55 +00:00
.has-main-navigation .site-header a {
text-decoration: none;
2021-01-14 16:37:55 +00:00
}
@media only screen and (max-width: 829px) {
2020-10-09 09:53:49 +00:00
.has-main-navigation .site-header .site-title {
margin: 0;
}
2020-08-13 15:41:46 +00:00
.has-main-navigation .site-header .site-description {
display: none;
}
}
2020-10-09 12:43:52 +00:00
.has-sticky-post .site-header {
background: var(--sticky-posts--color-background);
}
.site-header {
2021-01-14 16:37:55 +00:00
display: grid;
grid-template-areas: "site-logo site-logo site-logo" "branding branding primary-navigation";
grid-template-columns: 0.5fr 1fr 0.5fr;
grid-template-rows: auto;
grid-column-gap: 16px;
2020-10-07 09:00:09 +00:00
max-width: var(--responsive--alignfull-width);
padding: var(--global--spacing-vertical) 0;
}
@media only screen and (min-width: 830px) {
.site-header {
2021-01-14 16:37:55 +00:00
grid-template-areas: "site-logo site-logo site-logo" "branding primary-navigation primary-navigation";
padding: var(--global--spacing-vertical) var(--global--spacing-horizontal);
}
}
.site-header .site-branding {
2021-01-13 16:26:19 +00:00
grid-area: branding;
padding: var(--global--spacing-horizontal);
text-align: left;
2021-01-13 17:12:12 +00:00
justify-self: flex-start;
align-self: center;
}
2021-01-14 16:37:55 +00:00
@media only screen and (min-width: 830px) {
.site-header .site-branding {
padding: 0;
2020-10-09 09:53:49 +00:00
}
}
2021-01-13 17:12:12 +00:00
.site-header .site-branding .site-logo {
margin-left: 0;
margin-top: 0;
}
2020-10-13 15:44:27 +00:00
.site-header .site-branding .site-title {
margin-bottom: 4px;
}
.site-header .site-branding .site-title > a {
background: inherit;
text-decoration: none;
text-shadow: none;
}
2021-01-13 17:12:12 +00:00
.site-header .site-logo {
2021-01-13 16:26:19 +00:00
grid-area: site-logo;
2021-01-13 17:12:12 +00:00
margin: 0;
2020-10-28 17:55:24 +00:00
}
2021-01-14 16:37:55 +00:00
.site-header .site-logo a {
display: block;
}
.site-header .site-logo a:hover {
border-color: transparent;
}
.site-header .primary-navigation-wrapper {
margin-bottom: 6px;
2020-10-28 17:55:24 +00:00
}
.site-header .primary-navigation {
margin-top: 0;
}
2020-10-08 11:44:26 +00:00
@media only screen and (max-width: 829px) {
.admin-bar .site-header .primary-navigation .primary-menu-container {
top: 114px;
2020-10-08 11:44:26 +00:00
}
.site-header .primary-navigation .primary-menu-container a {
2020-10-27 16:11:03 +00:00
color: var(--primary-nav--dropdown-color-link);
2020-10-08 11:44:26 +00:00
}
.site-header .primary-navigation .social-navigation a {
color: var(--primary-nav--dropdown-color-link);
}
2020-10-08 11:44:26 +00:00
}
2020-10-12 13:44:06 +00:00
.site-header .primary-navigation button#primary-close-menu {
color: var(--global--color-secondary);
margin: 0;
padding: var(--global--spacing-horizontal);
2020-10-12 13:44:06 +00:00
position: fixed;
top: 0;
2020-10-12 13:44:06 +00:00
right: 0;
}
.admin-bar .site-header .primary-navigation button#primary-close-menu {
top: 46px;
}
2020-10-12 13:44:06 +00:00
.site-header .primary-navigation button#primary-close-menu:hover {
color: var(--global--color-primary);
}
.site-header .primary-navigation .menu-item-has-children > .svg-icon {
margin-top: -2px;
margin-left: -2px;
}
.site-header .primary-navigation > div > ul li, .site-header .woo-navigation > div > ul li {
color: var(--global--color-secondary);
2020-10-07 15:03:07 +00:00
}
.site-header .primary-navigation > div > ul li a:hover, .site-header .woo-navigation > div > ul li a:hover {
border-color: transparent;
color: var(--global--color-primary);
}
.site-header > .site-branding, .site-header > nav {
2020-10-06 16:31:58 +00:00
margin: 0;
}
.site-header .social-navigation {
flex-basis: 100%;
}
2020-10-07 15:03:07 +00:00
.site-header .social-navigation ul {
justify-content: flex-start;
2020-10-07 15:03:07 +00:00
flex-wrap: nowrap;
margin-top: var(--social-nav--padding);
2020-10-07 15:03:07 +00:00
}
2020-10-09 09:53:49 +00:00
.site-header .social-navigation ul li {
margin: 0;
padding: 0 var(--social-nav--padding) 0 0;
}
@media only screen and (min-width: 830px) {
.site-header .social-navigation {
flex-basis: auto;
}
.site-header .social-navigation ul {
justify-content: flex-end;
margin-top: 0;
}
.site-header .social-navigation ul li {
padding: 0 0 0 var(--social-nav--padding);
}
2020-10-09 09:53:49 +00:00
}
2020-10-28 17:55:24 +00:00
.site-header .social-navigation .menu-item {
width: auto;
}
2020-10-28 17:22:01 +00:00
.site-header .social-navigation .menu-item > a {
2020-10-09 09:53:49 +00:00
padding: 0;
2020-10-07 15:03:07 +00:00
}
2020-10-28 17:22:01 +00:00
.site-header .social-navigation .menu-item > a:hover {
border-color: var(--primary-nav--color-border);
2020-10-28 17:41:13 +00:00
color: var(--primary-nav--color-link-hover);
2020-10-07 15:03:07 +00:00
}
2020-10-29 10:18:37 +00:00
.has-title-and-tagline .site-logo {
2021-01-13 16:26:19 +00:00
margin: 0;
2020-10-29 10:18:37 +00:00
}
2021-01-14 16:37:55 +00:00
@media only screen and (min-width: 830px) {
.has-title-and-tagline .site-logo {
padding-bottom: var(--global--spacing-vertical);
}
}
2021-01-13 17:12:12 +00:00
.has-title-and-tagline .site-branding {
align-self: flex-start;
}
2021-01-14 16:37:55 +00:00
.primary-navigation-open .site-header {
padding-top: 0;
2020-10-29 10:18:37 +00:00
}
.primary-navigation-open .has-title-and-tagline .site-logo {
display: none;
}
.site-header div.menu-button-container button#primary-open-menu {
2021-01-13 17:21:29 +00:00
padding: var(--global--spacing-horizontal);
margin-top: 0;
margin-right: 0;
}
2020-10-08 13:07:31 +00:00
.site-header div.menu-button-container button#primary-open-menu:before {
margin: 0;
}
.site-header div.menu-button-container #woo-open-menu {
margin-left: auto;
}
2020-10-12 13:44:06 +00:00
.primary-navigation-open .site-header div.menu-button-container {
margin: 0;
}
.site-footer .menu-item a {
border-bottom: none;
}
.site-footer > .site-info {
font-family: var(--global--font-secondary);
}
.site-footer > .site-info a.site-name {
color: var(--global--color-primary);
font-family: var(--global--font-primary);
}
.site-footer > .site-info a:hover {
color: var(--global--color-primary-hover);
}
2020-10-07 10:26:02 +00:00
.archive .page-header {
2020-10-14 15:34:45 +00:00
line-height: var(--heading--line-height-h1);
2020-10-07 10:26:02 +00:00
margin-bottom: 16px;
}
2020-10-09 11:25:55 +00:00
.archive .page-title {
2020-10-14 15:34:45 +00:00
font-size: var(--heading--font-size-h1);
2020-10-09 11:25:55 +00:00
color: var(--entry-header--color);
}
2020-10-07 10:26:02 +00:00
.archive .site-main > article:first-of-type {
margin-top: 0;
}
2020-10-15 10:09:57 +00:00
ul.wp-block-categories,
.wp-block-categories ul {
list-style-type: none;
margin-top: 0;
padding: 0;
}
2020-10-15 10:09:57 +00:00
.wp-block-categories .cat-item {
margin: calc( 0.3 * var(--global--spacing-vertical)) 0;
}
2020-10-15 10:09:57 +00:00
.wp-block-categories a {
color: var(--entry-header--color);
font-size: var(--global--font-size-lg);
}
2020-10-15 10:09:57 +00:00
.wp-block-categories a:hover {
border-color: transparent;
color: var(--global--color-primary);
2020-10-07 10:26:02 +00:00
}
2020-10-14 15:27:34 +00:00
.wp-block-latest-posts > li:not(.is-grid) {
margin: calc( 0.3 * var(--global--spacing-vertical)) 0;
2020-10-14 15:27:34 +00:00
}
.wp-block-latest-posts > li > a {
color: var(--global--color-foreground-low-contrast);
font-size: var(--global--font-size-lg);
font-weight: 500;
}
.wp-block-latest-posts > li > a:hover {
2020-10-14 15:27:34 +00:00
border-color: transparent;
color: var(--global--color-primary);
}
2020-10-05 09:54:13 +00:00
2020-10-15 10:58:55 +00:00
.podcast-links-list-block {
color: var(--entry-header--color);
}
.podcast-links-list-block a {
margin: 0 3px 0 7px;
}
.podcast-links-list-block a:first-child {
margin-left: 0;
}
2020-10-15 15:38:42 +00:00
.wp-block-navigation .wp-block-navigation__container p {
line-height: 2.5;
}
.wp-block-navigation .wp-block-navigation__container .wp-block-navigation-link .wp-block-navigation-link__content {
color: var(--wp--style--color--link, var(--global--color-primary));
2020-10-15 15:38:42 +00:00
line-height: 1;
2020-10-16 10:06:26 +00:00
margin: calc( var(--primary-nav--padding) - 1px);
padding: 0;
}
2020-10-16 10:06:26 +00:00
.wp-block-navigation .wp-block-navigation__container .wp-block-navigation-link .wp-block-navigation-link__content .wp-block-navigation-link__label {
font-size: var(--global--font-size-root);
font-weight: var(--global--link-font-weight);
2020-10-15 15:38:42 +00:00
}
.jp-relatedposts-i2 .jp-related-posts-i2__post,
.wp-block-jetpack-related-posts .jp-related-posts-i2__post {
margin: 0 var(--global--spacing-horizontal) 0 0;
}
.jp-relatedposts-i2 .jp-related-posts-i2__row,
.wp-block-jetpack-related-posts .jp-related-posts-i2__row {
margin: auto;
}
.jp-relatedposts-i2 .jp-related-posts-i2__post-link,
.wp-block-jetpack-related-posts .jp-related-posts-i2__post-link {
font-weight: var(--global--font-weight);
font-size: var(--global--font-size-lg);
line-height: var(--global--line-height-body);
width: fit-content;
}
.jp-relatedposts-i2 .jp-related-posts-i2__post-link a,
.wp-block-jetpack-related-posts .jp-related-posts-i2__post-link a {
color: var(--global--color-foreground);
}
.jp-relatedposts-i2 .jp-related-posts-i2__post-date,
.jp-relatedposts-i2 .jp-related-posts-i2__post-context,
.wp-block-jetpack-related-posts .jp-related-posts-i2__post-date,
.wp-block-jetpack-related-posts .jp-related-posts-i2__post-context {
font-family: var(--global--font-primary);
font-size: var(--global--font-size-xs);
text-transform: uppercase;
color: var(--global--color-foreground-low-contrast);
}
/* The built in Jetpack related posts has different markup */
#jp-relatedposts .jp-relatedposts-items p {
font-size: var(--global--font-size-xs);
}
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date,
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context {
opacity: 1;
line-height: var(--global--line-height-body);
color: var(--global--color-foreground-low-contrast);
}
2020-10-28 16:19:49 +00:00
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title {
font-size: var(--global--font-size-lg);
line-height: var(--heading--line-height-h2);
margin-bottom: calc(0.3 * var(--global--spacing-vertical));
2020-10-28 16:19:49 +00:00
}
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
color: var(--global--color-foreground);
}
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover {
text-decoration: none;
}
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a {
text-decoration: none;
}
#jp-relatedposts h3.jp-relatedposts-headline {
font-size: var(--global--font-size-base);
margin-bottom: var(--global--spacing-vertical);
}
#jp-relatedposts h3.jp-relatedposts-headline em {
font-weight: var(--global--font-weight);
}
#jp-relatedposts h3.jp-relatedposts-headline em:before {
content: none;
}
.wp-block-newspack-blocks-homepage-articles.wpnbha article,
.wp-block-a8c-blog-posts.wpnbha article {
margin: 0 auto;
padding: var(--global--spacing-vertical) 0;
}
.wp-block-newspack-blocks-homepage-articles article .entry-wrapper,
.wp-block-a8c-blog-posts article .entry-wrapper {
margin: 0;
}
.wp-block-newspack-blocks-homepage-articles article .entry-wrapper p,
.wp-block-a8c-blog-posts article .entry-wrapper p {
margin-top: 0;
margin-bottom: 0;
}
.wp-block-newspack-blocks-homepage-articles article .entry-title,
.wp-block-a8c-blog-posts article .entry-title {
margin-bottom: calc( 0.48 * var(--global--spacing-vertical));
}
.wp-block-newspack-blocks-homepage-articles article .entry-title a,
.wp-block-a8c-blog-posts article .entry-title a {
font-size: var(--global--font-size-lg);
color: var(--entry-header--color-link);
font-weight: var(--heading--font-weight);
}
.wp-block-newspack-blocks-homepage-articles article .entry-title a:hover, .wp-block-newspack-blocks-homepage-articles article .entry-title a:focus,
.wp-block-a8c-blog-posts article .entry-title a:hover,
.wp-block-a8c-blog-posts article .entry-title a:focus {
color: var(--entry-header--color-hover);
}
.wp-block-newspack-blocks-homepage-articles article .entry-title a:active,
.wp-block-a8c-blog-posts article .entry-title a:active {
color: var(--entry-header--color-link);
}
.wp-block-newspack-blocks-homepage-articles article .more-link,
.wp-block-a8c-blog-posts article .more-link {
margin-top: 0;
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
padding: 0;
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button {
2020-10-15 10:09:57 +00:00
padding: var(--button--padding-vertical) var(--button--padding-horizontal);
border-top-left-radius: 0;
border-bottom-left-radius: 0;
margin: -1px -1px -1px 0;
}
.wp-block-search.wp-block-search__button-inside:not(.wp-block-search__icon-button) .wp-block-search__inside-wrapper {
border-radius: var(--button--border-radius);
2020-10-14 15:27:34 +00:00
}
.wp-block-search.wp-block-search__button-inside.wp-block-search__icon-button .wp-block-search__inside-wrapper {
2020-10-15 10:09:57 +00:00
flex-direction: row-reverse;
padding-left: 0;
border: none;
border-bottom: var(--form--border-width) solid var(--form--border-color);
2020-10-11 18:44:00 +00:00
}
.wp-block-search.wp-block-search__button-inside.wp-block-search__icon-button .wp-block-search__input {
2020-10-15 10:09:57 +00:00
border: none;
padding: 0 0 0 10px;
}
.wp-block-search.wp-block-search__button-inside.wp-block-search__icon-button .wp-block-search__button.has-icon {
2020-10-15 10:09:57 +00:00
margin-left: 0;
background: transparent;
color: var(--form--border-color);
2020-10-15 10:09:57 +00:00
padding: 0;
border: none;
}
.wp-block-search .wp-block-search__inside-wrapper {
color: var(--global--color-secondary);
align-items: center;
}
.wp-block-search .wp-block-search__label {
margin-bottom: 1rem;
}
2020-10-15 10:09:57 +00:00
.wp-block-search .wp-block-search__input {
color: var(--form--color-text);
margin-right: calc( .1 * var(--global--spacing-horizontal));
2020-10-15 10:09:57 +00:00
border: none;
border-bottom: var(--form--border-width) solid var(--form--border-color);
2020-10-11 18:44:00 +00:00
}
2021-01-20 19:58:22 +00:00
body[class*="woocommerce"] #page .site-header .primary-navigation {
2021-01-19 23:38:52 +00:00
flex-basis: 50%;
}
body[class*="woocommerce"] #page .woocommerce-tabs ul.tabs {
padding-left: calc( 0.3 * var(--global--spacing-horizontal));
margin-bottom: calc( 2 * var(--global--spacing-vertical));
}
body[class*="woocommerce"] #page .woocommerce-tabs ul.tabs li {
background-color: var(--global--color-foreground-low-contrast);
}
body[class*="woocommerce"] #page .woocommerce-tabs ul.tabs li:before {
box-shadow: 2px 2px 0 var(--global--color-foreground-low-contrast);
}
body[class*="woocommerce"] #page .woocommerce-tabs ul.tabs li:after {
box-shadow: -2px 2px 0 var(--global--color-foreground-low-contrast);
}
2021-01-20 19:58:22 +00:00
body[class*="woocommerce"] #page .woocommerce-tabs ul.tabs li a {
color: var(--button--color-text);
padding: var(--button--padding-vertical) var(--button--padding-horizontal);
}
body[class*="woocommerce"] #page .woocommerce-tabs ul.tabs li a:hover {
color: var(--button--color-text-hover);
}
body[class*="woocommerce"] #page .woocommerce-tabs ul.tabs li.active a {
color: var(--global--color-foreground);
}
body[class*="woocommerce"] #page .woocommerce-tabs .panel {
margin-bottom: calc( 2 * var(--global--spacing-vertical));
}
2021-01-20 19:58:22 +00:00
body[class*="woocommerce"] #page .woocommerce-tabs .panel h2 {
font-family: var(--global--font-secondary);
}
#content .wc-block-grid .wc-block-grid__product .wc-block-grid__product-onsale {
top: -0.5em;
right: -0.5em;
}
2021-01-19 23:38:52 +00:00
#content .wc-block-grid .wc-block-grid__product .wc-block-grid__product-title {
font-family: var(--global--font-secondary);
}
2021-01-19 23:38:52 +00:00
#content .wc-block-grid .wc-block-grid__product .wc-block-grid__product-price {
color: var(--global--color-foreground);
}
2021-01-26 13:10:55 +00:00
#content .wc-block-featured-product .wc-block-featured-product__price {
font-size: var(--global--font-size-sm);
}
.wc-block-components-review-list-item__author + .wc-block-components-review-list-item__published-date::before {
content: none;
}
.wc-block-components-review-list-item__product + .wc-block-components-review-list-item__author,
.wc-block-components-review-list-item__published-date {
font-size: var(--global--font-size-xs);
}
2021-01-19 23:38:52 +00:00
.single-product #page #woocommerce-wrapper div.product div.summary p.price {
color: var(--global--color-foreground);
2021-01-26 13:12:06 +00:00
font-size: var(--global--font-size-lg);
2021-01-19 23:38:52 +00:00
}
.single-product #page #woocommerce-wrapper div.product form.cart div.quantity input[type=number] {
line-height: var(--global--font-size-xl);
padding: calc(0.5 * var(--button--padding-vertical)) var(--form--spacing-unit);
}
.single-product #page #woocommerce-wrapper div.product form.cart button {
line-height: var(--global--font-size-xl);
padding: calc(0.5 * var(--button--padding-vertical) + 1px) var(--button--padding-horizontal);
}
2021-01-20 19:58:22 +00:00
.product_meta {
color: var(--global--color-foreground-low-contrast);
}
.screen-reader-text, .search-form input[type="submit"] {
/* Text meant only for screen readers. */
border: 0;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute !important;
width: 1px;
word-wrap: normal !important;
/* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus, .search-form input:focus[type="submit"] {
background-color: var(--global--color-background);
border-radius: 3px;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto !important;
clip-path: none;
color: var(--global--color-foreground);
display: block;
font-size: var(--global--font-size-md);
font-weight: bold;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
/* Above WP toolbar. */
}
/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
outline: 0;
}
.search-results .site-main > * {
padding: var(--global--spacing-vertical) 0;
}
2020-10-13 15:28:18 +00:00
.search-results .search-form {
padding-bottom: 0;
2020-10-14 10:20:56 +00:00
margin-bottom: var(--global--spacing-vertical);
2020-10-13 15:28:18 +00:00
}
.search-results .entry-title {
font-size: var(--heading--font-size-h2);
}
.search-results .entry-header {
margin-bottom: 0;
}
2020-10-13 15:28:18 +00:00
.search-form {
border-bottom: var(--form--border-width) solid var(--form--border-color);
flex-direction: row-reverse;
}
.search-form > label {
margin-right: 0;
padding-left: 30px;
position: relative;
}
.search-form > label:before {
content: "";
position: absolute;
top: 0;
left: 0;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='search-icon' class='search-icon' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z'%3E%3C/path%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: center center;
width: 24px;
height: 100%;
}
.search-form input[type="search"] {
border: none;
2020-10-14 10:20:56 +00:00
padding-top: var(--button--padding-vertical);
padding-bottom: var(--button--padding-vertical);
2020-10-13 15:28:18 +00:00
font-size: var(--global--font-size-sm);
color: var(--entry-header--color);
}
.search-form input[type="submit"] {
background: none;
color: var(--entry-header--color);
}
.site-main > article > .entry-footer {
margin-top: calc( var(--global--spacing-vertical) / 2);
padding-top: 0;
border: none;
}
.widget ul {
padding: 0;
}
2020-10-30 09:44:09 +00:00
#content .wc-block-grid .wc-block-grid__product-onsale {
font-family: var(--global--font-secondary);
}
body[class*="woocommerce"] #page span.onsale {
background-color: var(--global--color-background);
border: 1px solid var(--global--color-foreground);
border-radius: 0;
font-family: var(--global--font-secondary);
line-height: 1.6;
min-width: 0;
min-height: 0;
padding: 1em;
}
2021-01-14 16:37:55 +00:00
body[class*="woocommerce"] #page .woo-navigation .woocommerce-cart-widget {
max-width: 100%;
}
2020-10-30 09:44:09 +00:00
#woocommerce-wrapper ul.products li.product .price {
color: var(--global--color-foreground);
}
2021-01-14 16:37:55 +00:00
@media only screen and (min-width: 830px) {
.woo-navigation {
padding-top: var(--global--spacing-vertical);
}
}
2021-12-16 19:02:23 +00:00
/*# sourceMappingURL=style.css.map */