/*
Theme Name: Niya
Theme URI: https://nilambar.net/2023/09/niya-minimal-wordpress-fse-theme.html
Author: Nilambar Sharma
Author URI: https://www.nilambar.net
Description: Niya is a minimal and lightweight WordPress FSE blog theme for writers and bloggers. This simplicity-focused theme provides users pleasant and easy reading of the content. The theme is also responsive and cross-browser compatible.
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.2
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: niya
Domain Path: /languages
Tags: one-column, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
*/

*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

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

/** Post Tags **/

.is-style-pill a,
.is-style-pill span:not([class]):not([data-rich-text-placeholder]) {
	display: inline-block;
	background-color: #f2f2f2;
	padding: 4px 10px;
	border-radius: 16px;
	margin: 0 10px 10px 0;
}

.is-style-pill a:hover {
	background: #eee;
}

.button,
.button:visited,
button,
.wp-block-search__button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	font-family: inherit;
	font-size: var(--wp--preset--font-size--base);
	color: var(--wp--preset--color--white);
	border: none;
	border-radius: 5px;
	background: var(--wp--preset--color--primary);
	line-height: 1;
	padding: calc(0.667em + 2px) calc(1.333em + 2px);
	-webkit-text-decoration: none;
	text-decoration: none;
	cursor: pointer;
	transition: 0.4s ease-in-out;
}

.button:active,
.button:focus,
button:active,
button:focus,
.wp-block-search__button:active,
.wp-block-search__button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
select,
textarea {
	font-family: inherit;
	font-size: var(--wp--preset--font-size--base);
	color: var(--wp--preset--color--base);
	border: none;
	border: 1px solid var(--wp--preset--color--quinary);
	border-radius: 5px;
	padding: 0.5em;
	width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
select:focus,
textarea:focus {
	outline: 1px solid var(--wp--preset--color--secondary);
}
