|
@@ -0,0 +1,116 @@
|
|
|
+/*
|
|
|
+Theme Name: Ibis
|
|
|
+Theme URI: https://github.com/Automattic/themes/
|
|
|
+Author: Automattic
|
|
|
+Author URI: https://automattic.com/
|
|
|
+Description: A long-legged theme that inhabits wetlands, forests and plains.
|
|
|
+Requires at least: 4.9.6
|
|
|
+Version: 1.0
|
|
|
+License: GNU General Public License v2 or later
|
|
|
+License URI: LICENSE
|
|
|
+Template: seedlet
|
|
|
+Text Domain: ibis
|
|
|
+Tags:
|
|
|
+
|
|
|
+Ibis WordPress Theme, (C) 2020 Automattic, Inc.
|
|
|
+Ibis is distributed under the terms of the GNU GPL.
|
|
|
+
|
|
|
+This program is free software: you can redistribute it and/or modify
|
|
|
+it under the terms of the GNU General Public License as published by
|
|
|
+the Free Software Foundation, either version 2 of the License, or
|
|
|
+(at your option) any later version.
|
|
|
+
|
|
|
+This program is distributed in the hope that it will be useful,
|
|
|
+but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
+GNU General Public License for more details.
|
|
|
+*/
|
|
|
+
|
|
|
+/* Override Seedlet variables.
|
|
|
+ * When possible, override with values from experimental-theme.json.
|
|
|
+ * Doubling up on the :root selector is weird, but it just ensures these have higher specificity than everything else)
|
|
|
+ * and that just makes doubling up on the :root selector really cool.
|
|
|
+ */
|
|
|
+:root:root {
|
|
|
+ /* Font Family */
|
|
|
+ --global--font-primary: var(--font-headings, Lora, serif);
|
|
|
+ --global--font-secondary: var(--font-base, Lora, sans-serif);
|
|
|
+ --global--font-code: monospace, monospace;
|
|
|
+ --global--font-ui: var(--font-base, var(--global--font-secondary));
|
|
|
+
|
|
|
+ /* Font Size */
|
|
|
+ --global--font-size-xs: var(--wp--preset--font-size--tiny);
|
|
|
+ --global--font-size-sm: var(--wp--preset--font-size--small);
|
|
|
+ --global--font-size-md: var(--wp--preset--font-size--medium);
|
|
|
+ --global--font-size-lg: var(--wp--preset--font-size--large);
|
|
|
+ --global--font-size-xl: var(--wp--preset--font-size--extra-large);
|
|
|
+ --global--font-size-xxl: var(--wp--preset--font-size--huge);
|
|
|
+ --global--font-size-xxxl: var(--wp--preset--font-size--gigantic);
|
|
|
+ --heading--font-weight: 600;
|
|
|
+ --heading--font-weight-strong: 700;
|
|
|
+
|
|
|
+ /* Colors */
|
|
|
+ --global--color-background: var(--wp--preset--color--background);
|
|
|
+ --global--color-foreground: var(--wp--preset--color--foreground);
|
|
|
+ --global--color-primary: var(--wp--preset--color--primary);
|
|
|
+ --global--color-secondary: var(--wp--preset--color--secondary);
|
|
|
+ --global--color-tertiary: var(--wp--preset--color--tertiary);
|
|
|
+
|
|
|
+ /* Colors */
|
|
|
+ --button--padding-vertical: calc(.66 * var(--global--spacing-horizontal) - var(--button--border-width));
|
|
|
+ --button--padding-horizontal: var(--global--spacing-horizontal);
|
|
|
+}
|
|
|
+
|
|
|
+/**
|
|
|
+ * Override Seedlet Root Media Query Variables
|
|
|
+ * Doubling up on the :root selector is weird, but it just ensures these have higher specificity than everything else)
|
|
|
+ * and that just makes doubling up on the :root selector really cool.
|
|
|
+ */
|
|
|
+@media only screen and (min-width: 482px) {
|
|
|
+ :root:root {
|
|
|
+ --responsive--aligndefault-width: calc(482px - var(--responsive--spacing-horizontal));
|
|
|
+ --responsive--alignwide-width: calc(482px - var(--responsive--spacing-horizontal));
|
|
|
+ --responsive--alignright-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
|
|
|
+ --responsive--alignleft-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
|
|
|
+ }
|
|
|
+}
|
|
|
+@media only screen and (min-width: 592px) {
|
|
|
+ :root:root {
|
|
|
+ --responsive--aligndefault-width: calc(482px - var(--responsive--spacing-horizontal));
|
|
|
+ --responsive--alignwide-width: calc(592px - var(--responsive--spacing-horizontal));
|
|
|
+ --responsive--alignright-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
|
|
|
+ --responsive--alignleft-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
|
|
|
+ }
|
|
|
+}
|
|
|
+@media only screen and (min-width: 652px) {
|
|
|
+ :root:root {
|
|
|
+ --responsive--aligndefault-width: calc(592px - var(--responsive--spacing-horizontal));
|
|
|
+ --responsive--alignwide-width: calc(652px - var(--responsive--spacing-horizontal));
|
|
|
+ --responsive--alignright-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
|
|
|
+ --responsive--alignleft-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
|
|
|
+ }
|
|
|
+}
|
|
|
+@media only screen and (min-width: 822px) {
|
|
|
+ :root:root {
|
|
|
+ --responsive--aligndefault-width: calc(652px - var(--responsive--spacing-horizontal));
|
|
|
+ --responsive--alignwide-width: calc(822px - var(--responsive--spacing-horizontal));
|
|
|
+ --responsive--alignright-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
|
|
|
+ --responsive--alignleft-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
|
|
|
+ }
|
|
|
+}
|
|
|
+@media only screen and (min-width: 1024px) {
|
|
|
+ :root:root {
|
|
|
+ --responsive--aligndefault-width: calc(750px - var(--responsive--spacing-horizontal));
|
|
|
+ --responsive--alignwide-width: calc(990px - var(--responsive--spacing-horizontal));
|
|
|
+ --responsive--alignright-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
|
|
|
+ --responsive--alignleft-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+/* Make sure full-width items in entry content show up as full-width. */
|
|
|
+.wp-block-group.site-content .wp-block-group__inner-container .entry-content {
|
|
|
+ max-width: calc(100% + (2 * var(--global--spacing-horizontal)));
|
|
|
+ width: calc(100% + (2 * var(--global--spacing-horizontal)));
|
|
|
+ margin-left: calc(-1 * var(--global--spacing-horizontal));
|
|
|
+ margin-right: auto;
|
|
|
+}
|