/*
Theme Name: Finnimal
Theme URI: https://github.com/mfgmicha/finnimal
Author: Micha Krapp
Author URI: https://mfgmicha.de
Description: My minimal WordPress block theme
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 8.3
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: finnimal
*/

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body.admin-bar {
	min-height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {

	body.admin-bar {
		min-height: calc(100vh - 46px);
	}
}

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

/* stylelint-disable selector-max-id, selector-id-pattern */
main#wp--skip-link--target {
	flex-grow: 1;
}

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

a:hover {
	text-decoration-style: dashed;
}

/* Focus styles
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}
*/
