
* Negai: Fix post content width * Version bump --------- Co-authored-by: Vicente Canales <vicente.canales@automattic.com>
78 lines
2.3 KiB
CSS
78 lines
2.3 KiB
CSS
/*
|
|
Theme Name: Negai
|
|
Theme URI: https://wordpress.com/theme/negai
|
|
Author: Automattic
|
|
Author URI: https://automattic.com/
|
|
Description: Negai is a bold blogging theme with large post titles and interesting colour schemes
|
|
Requires at least: 6.0
|
|
Tested up to: 6.2.2
|
|
Requires PHP: 5.7
|
|
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: negai
|
|
Tags: blog, one-column, two-columns, block-patterns, block-styles, editor-style, featured-images, full-site-editing, rtl-language-support, style-variations, template-editing, threaded-comments, translation-ready, three-columns, wide-blocks, custom-background, custom-colors, custom-logo, custom-menu, theme-options, news
|
|
*/
|
|
|
|
/*
|
|
* 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: .1em;
|
|
}
|
|
|
|
/*
|
|
* Form field styles
|
|
* https://github.com/WordPress/gutenberg/issues/42319
|
|
*/
|
|
::placeholder {
|
|
color: var(--wp--preset--color--contrast);
|
|
opacity: 1; /* Firefox */
|
|
}
|
|
|
|
input:not([type="submit"]):not([type="checkbox"]),
|
|
textarea,
|
|
.wp-block-post-comments-form input:not([type=submit]),
|
|
.wp-block-post-comments-form textarea {
|
|
background-color: var(--wp--preset--color--base);
|
|
border-color: var(--wp--preset--color--contrast);
|
|
color: var(--wp--preset--color--contrast);
|
|
}
|
|
|
|
input:not([type="submit"]):not([type="checkbox"]):focus,
|
|
textarea:focus {
|
|
outline-style: solid;
|
|
outline-color: var(--wp--preset--color--contrast);
|
|
}
|
|
|
|
/*
|
|
* 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;
|
|
}
|