/*
Theme Name: Ury
Theme URI: https://themeshaper.com/ury/
Author: Automattic
Author URI: https://automattic.com/
Description: Ury is a minimal blogging theme designed for comfortable, distraction-free reading. A fixed sidebar holds your site title, navigation, and tagline while your posts fill a wide content column. It offers a variety of highly readable typography pairings and three color schemes -- a light default, a warm sepia, and a dark mode -- so you can match the look to the mood of your writing.
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 7.2
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ury
Tags: one-column, two-columns, featured-images, full-site-editing, block-patterns, rtl-language-support, threaded-comments, translation-ready, wide-blocks, style-variations, blog
*/

/* Crossfade page transition */

@view-transition {
	navigation: auto;
}

/* Font smoothing */
body {
	text-rendering: geometricprecision;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: 0.1em
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}

/*
 * Make sure footers have no margin.
 * https://github.com/WordPress/gutenberg/issues/47637
 */
footer.wp-block-template-part {
	margin-block-start: 0 !important;
}

/* Utility classes for removing text decoration from link. */
.no-underline a {
	text-decoration: none;
}

/*
 * Calendar and Latest Comments overrides that core block styles
 * out-rank: global-styles `css` emits at :where() specificity, so
 * these need real selectors rather than !important.
 */
.wp-block-calendar table:not(.has-text-color) td,
.wp-block-calendar table:not(.has-text-color) th {
	border-color: var(--wp--preset--color--theme-4);
}

.wp-block-latest-comments .wp-block-latest-comments__comment-excerpt p {
	font-size: inherit;
	margin: 0;
}
