/*
Theme Name: Tomoni
Theme URI: https://wordpress.com/themes/tomoni/
Description: Tomoni is a theme that displays a use case of multilingual content with Japanese.
Version: 1.0.1
Author: Automattic
Author URI: https://automattic.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tomoni
*/

/*
 * OpenType feature for Noto Sans Japanese.
 * It re-spaces glyphs designed to be set on full-em widths, fitting them onto half-em widths.
 */
body {
	font-feature-settings: "halt";
}

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
.wp-block-button.is-style-outline >.wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

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

/*
 * Avatar Block
 * Fix border radius setting for the avatar block
 * https://github.com/WordPress/gutenberg/issues/48253
 */
.wp-block-avatar a,
.wp-block-avatar img {
	border-radius: inherit;
}

/*
 * Pull quote Block
 * Reset the browser default margins for blockquote element
 * https://github.com/WordPress/gutenberg/issues/44129
 */
.wp-block-pullquote blockquote {
	margin: 0;
}