/*
Theme Name: Manga Reader
Theme URI: https://github.com/ammad981/mangavio
Author: MangaVio
Description: Original, accessible full-site-editing theme for the MangaVio catalogue. Presentation only; all catalogue logic lives in the Manga Platform plugin.
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 8.2
Version: 0.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: manga-reader
*/

/*
 * Global styles live in theme.json.
 * Only behaviour theme.json cannot express belongs here.
 */

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	z-index: 100000;
}

html,
body {
	overflow-x: clip;
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
