
* Layover: Fixing after Dotorg review * Layover: fixing content links * Layover: Fixing palette to fix color links * Layover: Updating version number
75 lines
2.4 KiB
CSS
75 lines
2.4 KiB
CSS
/*
|
|
Theme Name: Layover
|
|
Theme URI:
|
|
Author: Automattic
|
|
Author URI: https://automattic.com
|
|
Description: Layover displays large titles and excerpts that scroll over an image on the Homepage and neat single pages for users who want their blogging to be simple.
|
|
Requires at least: 5.8
|
|
Tested up to: 6.5
|
|
Requires PHP: 5.7
|
|
Version: 1.0.2
|
|
License: GNU General Public License v2 or later
|
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
Text Domain: layover
|
|
Tags: blog, one-column, wide-blocks, block-patterns, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-site-editing, full-width-template, post-formats, rtl-language-support, template-editing, theme-options, threaded-comments, translation-ready
|
|
|
|
/* Progresive enhancement to reduce widows and orphans.
|
|
/* https://github.com/WordPress/gutenberg/issues/55190
|
|
*/
|
|
|
|
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption {
|
|
text-wrap: balance;
|
|
}
|
|
p {
|
|
text-wrap: pretty;
|
|
}
|
|
|
|
/**
|
|
* 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.
|
|
* https://github.com/WordPress/gutenberg/issues/45065
|
|
*/
|
|
|
|
/*
|
|
* 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--secondary);
|
|
color: var(--wp--preset--color--background);
|
|
border-color: var(--wp--preset--color--secondary);
|
|
}
|
|
|
|
/**
|
|
* 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.
|
|
* https://github.com/WordPress/gutenberg/issues/45065
|
|
*/
|
|
.wp-block-table thead {
|
|
border-bottom: 3px solid;
|
|
}
|
|
.wp-block-table tfoot {
|
|
border-top: 3px solid;
|
|
}
|
|
.wp-block-table td,
|
|
.wp-block-table th {
|
|
padding: var(--wp--preset--spacing--30);
|
|
border: 1px solid;
|
|
word-break: normal;
|
|
}
|
|
.wp-block-table figcaption {
|
|
font-size: var(--wp--preset--font-size--small);
|
|
text-align: center;
|
|
}
|
|
|
|
/*
|
|
* Link styles
|
|
* https://github.com/WordPress/gutenberg/issues/42319
|
|
*/
|
|
a {
|
|
text-decoration-thickness: .0625em !important;
|
|
text-underline-offset: .15em;
|
|
}
|