themes-wordpress/rainfall/style.css

111 lines
3.5 KiB
CSS
Raw Normal View History

2022-07-10 09:39:35 +00:00
/*
Theme Name: Rainfall
Theme URI:https://wordpress.com/theme/rainfall/
2022-07-10 09:39:35 +00:00
Author: Automattic
Author URI: https://automattic.com
Description: Rainfall is a clean, objective blogging theme strongly inspired by Swiss Design. Its minimalist functionality is balanced by a strong accent color, beautiful photography and post templates with sidebars.
Requires at least: 6.0
Tested up to: 6.1
2022-07-10 09:39:35 +00:00
Requires PHP: 5.7
2024-04-03 12:09:49 +00:00
Version: 1.0.10
2022-07-10 09:39:35 +00:00
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
2022-07-10 09:39:35 +00:00
Text Domain: rainfall
Tags: two-columns, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, theme-options, threaded-comments, translation-ready, blog, news
2022-07-11 16:32:39 +00:00
*/
/**
* Post title indent
*/
.indented-post-title {
2022-07-11 16:32:39 +00:00
margin-left: 1ch;
text-indent: -1ch;
}
/**
* Comment form elements
*/
.wp-block-post-comments-form input:not([type=submit],[type=checkbox]),
.wp-block-post-comments-form textarea,
.wp-block-post-comments-form select {
background-color: var(--wp--preset--color--black);
color: var(--wp--preset--color--black);
border: 1px solid var(--wp--preset--color--white);
2022-07-14 08:02:46 +00:00
}
2022-07-14 08:14:39 +00:00
/**
* Navigation on dark background
2022-07-14 08:14:39 +00:00
*/
.has-orange-background-color .has-black-background-color .wp-block-navigation-item a:where(:not(.wp-element-button)):active {
color: var(--wp--preset--color--brown);
2022-07-14 08:14:39 +00:00
}
.has-black-background-color .wp-block-navigation-item a:where(:not(.wp-element-button)):active {
color: var(--wp--preset--color--orange);
2022-07-14 08:02:46 +00:00
}
/**
* Search input on dark background
2022-07-14 08:02:46 +00:00
*/
.has-black-background-color .wp-block-search__input {
background-color: var(--wp--preset--color--black);
border: 1px solid var(--wp--preset--color--white);
color: var(--wp-preset--color--white);
2022-07-14 08:02:46 +00:00
}
/*
* Button styles on dark background
*/
.has-black-background-color .wp-block-file .wp-block-file__button,
.has-black-background-color .wp-block-button__link {
background-color: var(--wp--preset--color--white);
border-color: var(--wp--preset--color--white);
color: var(--wp--preset--color--black);
}
.has-black-background-color .wp-block-file .wp-block-file__button:hover,
.has-black-background-color .wp-block-button__link:hover,
.has-black-background-color .wp-block-file .wp-block-file__button:focus,
.has-black-background-color .wp-block-button__link:focus {
background-color: var(--wp--preset--color--dark-grey);
border-color: var(--wp--preset--color--dark-grey);
color: var(--wp--preset--color--white);
}
.has-black-background-color .wp-block-file .wp-block-file__button:active,
.has-black-background-color .wp-block-button__link:active {
background-color: var(--wp--preset--color--light-grey);
border-color: var(--wp--preset--color--light-grey);
color: var(--wp--preset--color--black);
}
/* Footer Navigation */
footer .wp-block-navigation__container {
row-gap: 1rem;
}
/** Navigation Current Menu Item
* Needed until this is addressed: https://github.com/WordPress/gutenberg/issues/42299
*/
.wp-block-navigation-item.current-menu-item > a {
font-weight: 700;
}
/** Navigation Overlay
* Needed until this is addressed: https://github.com/WordPress/gutenberg/issues/39142
*/
.wp-block-navigation__responsive-container.is-menu-open ul {
font-size: var(--wp--preset--font-size--x-large) !important;
gap: 0 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .has-child .wp-block-navigation__submenu-container {
padding-top: 0;
}
.wp-block-navigation__responsive-container.has-white-color.has-black-background-color.is-menu-open a:active {
color: var(--wp--preset--color--orange);
}