|
@@ -4,8 +4,8 @@ Theme URI: https://wordpress.com/theme/remote
|
|
|
Author: Automattic
|
|
|
Author URI: https://automattic.com
|
|
|
Description: Remote is a dark, minimal block theme ideal for bloggers. Its default styles - a sans-serif font and dark background - contribute for a comfortable, immersive reading experience. It features a set of bold block patterns such as a large posts list and bordered categories and tags.
|
|
|
-Requires at least: 5.8
|
|
|
-Tested up to: 5.9
|
|
|
+Requires at least: 6.0
|
|
|
+Tested up to: 6.0
|
|
|
Requires PHP: 5.7
|
|
|
Version: 1.0.4
|
|
|
License: GNU General Public License v2 or later
|
|
@@ -22,6 +22,13 @@ body {
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
}
|
|
|
|
|
|
+/*
|
|
|
+ * Text selection
|
|
|
+ */
|
|
|
+::selection {
|
|
|
+ background: var(--wp--preset--color--tertiary);
|
|
|
+}
|
|
|
+
|
|
|
/*
|
|
|
* Links styles.
|
|
|
*/
|
|
@@ -108,6 +115,8 @@ body > .is-root-container,
|
|
|
background-color: var(--wp--preset--color--primary);
|
|
|
color: var(--wp--preset--color--background);
|
|
|
border: 1px solid var(--wp--preset--color--primary);
|
|
|
+ letter-spacing: .05rem;
|
|
|
+ font-weight: var(--wp--custom--button--typography--font-weight, 400);
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -116,18 +125,11 @@ body > .is-root-container,
|
|
|
* https://github.com/WordPress/gutenberg/issues/27075
|
|
|
*/
|
|
|
|
|
|
-:is(
|
|
|
+ :is(
|
|
|
.wp-block-search__button,
|
|
|
.wp-block-button__link
|
|
|
-):is(
|
|
|
- :hover,
|
|
|
- :active,
|
|
|
- :focus
|
|
|
-) {
|
|
|
- border: 1px solid var(--wp--preset--color--foreground);
|
|
|
- background-color: var(--wp--preset--color--foreground);
|
|
|
- color: var(--wp--preset--color--background);
|
|
|
- cursor: pointer;
|
|
|
+){
|
|
|
+ padding: calc(.667em + 2px) calc(1.333em + 2px)
|
|
|
}
|
|
|
|
|
|
:is(
|
|
@@ -138,9 +140,9 @@ body > .is-root-container,
|
|
|
:active,
|
|
|
:focus
|
|
|
) {
|
|
|
- border: 1px solid var(--wp--preset--color--foreground);
|
|
|
- background-color: var(--wp--preset--color--foreground);
|
|
|
- color: var(--wp--preset--color--background);
|
|
|
+ border: 1px solid var(--wp--custom--button--hover--border--color);
|
|
|
+ background-color: var(--wp--custom--button--hover--color--background);
|
|
|
+ color: var(--wp--custom--button--hover--color--text);
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
@@ -152,12 +154,26 @@ body > .is-root-container,
|
|
|
outline-offset: 3px;
|
|
|
}
|
|
|
|
|
|
+:is(
|
|
|
+ .is-style-outline.wp-block-button,
|
|
|
+ .is-style-outline.wp-block-button__link
|
|
|
+) {
|
|
|
+ color: var(--wp--preset--color--primary)
|
|
|
+}
|
|
|
+
|
|
|
+:is(
|
|
|
+ .is-style-outline>.wp-block-button__link,
|
|
|
+ .is-style-outline.wp-block-button__link
|
|
|
+):not(.has-background):hover {
|
|
|
+ color: var(--wp--custom--button--hover--color--background);
|
|
|
+ background-color: var(--wp--custom--button--hover--color--text);
|
|
|
+}
|
|
|
+
|
|
|
/*
|
|
|
* Link Details
|
|
|
*/
|
|
|
|
|
|
a {
|
|
|
- color: var(--wp--preset--color--foreground);
|
|
|
text-decoration-thickness: 0.075ex;
|
|
|
text-underline-offset: 0.125em;
|
|
|
text-decoration: underline;
|
|
@@ -192,27 +208,51 @@ a:not(
|
|
|
.wp-block-post-title a
|
|
|
):focus {
|
|
|
color: var(--wp--preset--color--primary);
|
|
|
- outline: 1.5px dotted var(--wp--preset--color--primary);
|
|
|
+ outline: 1px dotted var(--wp--preset--color--primary);
|
|
|
+ text-decoration: none;
|
|
|
outline-offset: 3px;
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
* Comment form styles
|
|
|
*/
|
|
|
-
|
|
|
- .wp-block-post-comments input:not([type=submit]):not([type=checkbox]),
|
|
|
- .wp-block-post-comments textarea,
|
|
|
- .wp-block-post-comments select {
|
|
|
- border-radius: var(--wp--custom--button--border--radius);
|
|
|
- background-color: var(--wp--preset--color--background);
|
|
|
- color: var(--wp--preset--color--foreground);
|
|
|
- border: 1px solid var(--wp--preset--color--foreground);
|
|
|
- }
|
|
|
+
|
|
|
+.wp-block-post-comments .wp-element-button {
|
|
|
+ font-family: inherit;
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-post-comments input:not([type=submit],[type=checkbox]),
|
|
|
+.wp-block-post-comments textarea,
|
|
|
+.wp-block-post-comments select {
|
|
|
+ border-radius: min(var(--wp--custom--button--border--radius), 10px);
|
|
|
+ background-color: var(--wp--preset--color--background);
|
|
|
+ color: var(--wp--preset--color--foreground);
|
|
|
+ border: 1px solid var(--wp--preset--color--foreground);
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-post-comments input[type=submit] {
|
|
|
+ border: 1px solid var(--wp--preset--color--primary)
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-post-comments input[type=submit]:hover {
|
|
|
+ border-color: var(--wp--custom--button--hover--border--color);
|
|
|
+}
|
|
|
|
|
|
/*
|
|
|
* Needed until https://github.com/WordPress/gutenberg/issues/34196 or something like it.
|
|
|
*/
|
|
|
.wp-block-tag-cloud.is-style-outline a {
|
|
|
- border-radius: 10px;
|
|
|
+ border-radius: var(--wp--custom--button--border--radius);
|
|
|
padding: .5rem 1.25rem;
|
|
|
}
|
|
|
+.wp-block-tag-cloud.is-style-outline a:hover {
|
|
|
+ color: var(--wp--preset--color--background);
|
|
|
+ background-color: var(--wp--preset--color--primary);
|
|
|
+}
|
|
|
+
|
|
|
+/*
|
|
|
+ * Need this because gutenberg sets default color to 555
|
|
|
+ */
|
|
|
+:is(.wp-block-image, .wp-block-audio, .wp-block-video) figcaption {
|
|
|
+ color: var(--wp--preset--color--foreground)
|
|
|
+}
|