/*
Theme Name: Jace
Author: Carolina Nymark
Author URI: https://fullsiteediting.com
Theme URI:
Description: The main purpose of this theme is to showcase the features of full site editing. You can use the theme for blogging, for your portfolio, business, or store. To use the e-commerce features, you need to install both WooCommerce and WooCommerce blocks. It is also recommended to install Gutenberg and Contact Form 7. The theme has over 60 patterns + all patterns from the WordPress pattern directory. Jace includes an optional light color scheme, blog layouts, about pages, contact pages, sticky header, social sharing, full-screen headers, buttons and list styles.
Tags: full-site-editing, editor-style, block-styles, block-patterns, accessibility-ready
Text Domain: jace
Version: 1.0.7
Requires at least: 6.2
Requires PHP: 7.4
Tested up to: 6.2

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/*
* Sticky button is experimental,
* only use it on the front for screens above 782px width.
*/
@media screen and (min-width: 782px) {

	.is-style-jace-sticky {
		position: fixed;
		top: 2em;
		right: 2em;
	}

	/* Move the fixed position down to adjust for the WordPress admin bar */
	.admin-bar .is-style-jace-sticky {
		top: calc(2em + 32px);
	}

	.is-style-jace-sticky-header {
		position: sticky;
		top: 0;
		z-index: 999;
	}

	/* Move the sticky position down to adjust for the WordPress admin bar */
	.admin-bar .is-style-jace-sticky-header {
		top: 32px;
	}

}

/* Hide the header block patterns on the paginated results. */
.home.paged .jace-pattern-header-image {
	display: none;
}

/* Hide selected sticky posts and paginated results. */
body.query-block-paged .wp-block-query.jace-hide-sticky {
	display: none;
}

.jace-blog-layout .wp-block-post-template li .wp-block-group:not(.jace-post-meta) {
	height: 100%;
}
