themes-wordpress/loudness/style.css

95 lines
3.1 KiB
CSS
Raw Permalink Normal View History

/*
2022-09-21 21:51:32 +00:00
Theme Name: Loudness
Theme URI: https://wordpress.com/theme/loudness/
Author: Automattic
Author URI: https://automattic.com
Description: A bold opinionated theme for music and learning
Requires at least: 6.0
Tested up to: 6.1
Requires PHP: 5.7
2024-04-03 12:09:49 +00:00
Version: 1.0.10
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
2022-09-21 21:51:32 +00:00
Text Domain: loudness
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
*/
/*
2022-09-19 16:19:50 +00:00
* Control the hover stylings of outline block style.
*/
2022-09-21 21:51:32 +00:00
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
2022-09-19 16:19:50 +00:00
background-color: var(--wp--preset--color--primary);
}
/**
* Currently table styles are only available with 'wp-block-styles' theme support (block css) thus the following needs to be included
* since 'wp-block-styles' aren't used for this theme.
*/
.wp-block-table thead {
border-bottom: 3px solid;
}
2022-09-21 21:51:32 +00:00
.wp-block-table tfoot {
border-top: 3px solid;
}
2022-09-21 21:51:32 +00:00
.wp-block-table td,
.wp-block-table th {
padding: var(--wp--preset--spacing--30);
border: 1px solid;
word-break: normal;
}
2022-09-21 21:51:32 +00:00
.wp-block-table figcaption {
font-size: var(--wp--preset--font-size--small);
text-align: center;
}
2022-09-19 16:19:50 +00:00
/*
* Provide styles for a Block Style for navigation links
*/
.wp-block-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-link.is-style-navigation-link-button a {
2022-09-19 16:19:50 +00:00
background-color: var(--wp--preset--color--foreground);
color: var(--wp--preset--color--background);
padding: 20px 30px !important;
}
.wp-block-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-link.is-style-navigation-link-button a:hover {
2022-09-19 16:19:50 +00:00
background-color: var(--wp--preset--color--primary);
color: var(--wp--preset--color--foreground);
}
/*
* Links in containers with the primary background color get special treatment
*/
.has-primary-background-color a:hover {
--wp--preset--color--primary: var(--wp--preset--color--background);
}
/*
2022-09-19 16:19:50 +00:00
* Navigation
*/
.wp-block-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
background-color: var(--wp--preset--color--primary);
2022-09-19 16:19:50 +00:00
}
2022-09-21 21:51:32 +00:00
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
2022-09-19 16:19:50 +00:00
font-size: var(--wp--preset--font-size--xx-large);
font-family: var(--wp--preset--font-family--rubik);
}
.wp-block-navigation .wp-block-navigation__responsive-container-close {
background-color: var(--wp--preset--color--foreground);
color: var(--wp--preset--color--background);
padding: var(--wp--preset--spacing--20);
}
2022-09-21 21:51:32 +00:00
.wp-block-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > *:not(:first-child) {
2022-09-19 16:19:50 +00:00
border-top: solid;
padding-top: 24px;
width: 100%;
}
2022-09-21 21:51:32 +00:00
.wp-block-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
2022-09-19 16:19:50 +00:00
width: 100%;
}