Merge branch 'master' into enhancement/mobile-alignwide-width
This commit is contained in:
commit
1e5f058119
180 changed files with 66591 additions and 5583 deletions
274
alves/inc/headstart/en.json
Normal file
274
alves/inc/headstart/en.json
Normal file
File diff suppressed because one or more lines are too long
140
alves/languages/alves.pot
Normal file
140
alves/languages/alves.pot
Normal file
|
@ -0,0 +1,140 @@
|
|||
# Copyright (C) 2019 Automattic
|
||||
# This file is distributed under the GNU General Public License v2 or later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Alves 1.1.0\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/support/theme/alves\n"
|
||||
"POT-Creation-Date: 2019-08-27 13:10:39+00:00\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
||||
#: footer.php:29
|
||||
msgid "Footer Menu"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:47
|
||||
msgid "https://wordpress.org/"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: WordPress.
|
||||
#: footer.php:50
|
||||
msgid "proudly powered by %s."
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:30
|
||||
msgid "Small"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:31
|
||||
msgid "S"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:36
|
||||
msgid "Normal"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:37
|
||||
msgid "M"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:42
|
||||
msgid "Large"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:43
|
||||
msgid "L"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:48
|
||||
msgid "Huge"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:49
|
||||
msgid "XL"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:61
|
||||
msgid "Primary"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:66
|
||||
msgid "Secondary"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:71
|
||||
msgid "Dark Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:76
|
||||
msgid "Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:81
|
||||
msgid "Light Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:86
|
||||
msgid "White"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:105 template-parts/footer/footer-widgets.php:29
|
||||
msgid "Footer 2"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:107 functions.php:119
|
||||
msgid "Add widgets here to appear in your footer."
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:117 template-parts/footer/footer-widgets.php:41
|
||||
msgid "Footer 3"
|
||||
msgstr ""
|
||||
|
||||
#. Translators: If there are characters in your language that are not supported
|
||||
#. by Lora, translate this to 'off'. Do not translate into your own language.
|
||||
#: functions.php:152
|
||||
msgctxt "Lora font: on or off"
|
||||
msgid "on"
|
||||
msgstr ""
|
||||
|
||||
#. Translators: If there are characters in your language that are not supported
|
||||
#. by Karla, translate this to 'off'. Do not translate into your own language.
|
||||
#: functions.php:158
|
||||
msgctxt "Karla font: on or off"
|
||||
msgid "on"
|
||||
msgstr ""
|
||||
|
||||
#: template-parts/footer/footer-widgets.php:17
|
||||
msgid "Footer 1"
|
||||
msgstr ""
|
||||
|
||||
#. Theme Name of the plugin/theme
|
||||
#: wp-content/themes/pub/alves/style.css
|
||||
msgid "Alves"
|
||||
msgstr ""
|
||||
|
||||
#. Theme URI of the plugin/theme
|
||||
#: wp-content/themes/pub/alves/style.css
|
||||
msgid "https://github.com/Automattic/themes/varia"
|
||||
msgstr ""
|
||||
|
||||
#. Description of the plugin/theme
|
||||
#: wp-content/themes/pub/alves/style.css
|
||||
msgid ""
|
||||
"Convincing design for your charity or organization’s online presence. "
|
||||
"Highlight your actions, causes and projects, Alves is versatile enough to be "
|
||||
"your personal site too."
|
||||
msgstr ""
|
||||
|
||||
#. Author of the plugin/theme
|
||||
#: wp-content/themes/pub/alves/style.css
|
||||
msgid "Automattic"
|
||||
msgstr ""
|
||||
|
||||
#. Author URI of the plugin/theme
|
||||
#: wp-content/themes/pub/alves/style.css
|
||||
msgid "https://automattic.com/"
|
||||
msgstr ""
|
2
alves/package-lock.json
generated
2
alves/package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "alves",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "alves",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Alves",
|
||||
"bugs": {
|
||||
"url": "https://github.com/Automattic/themes/issues"
|
||||
|
|
|
@ -5,7 +5,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: Convincing design for your charity or organization’s online presence. Highlight your actions, causes and projects, Alves is versatile enough to be your personal site too.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
|
|
@ -783,15 +783,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -807,15 +810,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -834,15 +840,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -858,15 +867,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: Convincing design for your charity or organization’s online presence. Highlight your actions, causes and projects, Alves is versatile enough to be your personal site too.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -1075,7 +1075,7 @@ button,
|
|||
.button,
|
||||
input[type="submit"],
|
||||
.wp-block-button__link,
|
||||
.wp-block-file__button, .a8c-posts-list__view-all {
|
||||
.wp-block-file__button, .a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept {
|
||||
line-height: 1;
|
||||
color: #ffffff;
|
||||
cursor: pointer;
|
||||
|
@ -1092,11 +1092,11 @@ button:before,
|
|||
.button:before,
|
||||
input[type="submit"]:before,
|
||||
.wp-block-button__link:before,
|
||||
.wp-block-file__button:before, .a8c-posts-list__view-all:before, button:after,
|
||||
.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before, button:after,
|
||||
.button:after,
|
||||
input[type="submit"]:after,
|
||||
.wp-block-button__link:after,
|
||||
.wp-block-file__button:after, .a8c-posts-list__view-all:after {
|
||||
.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
|
||||
content: '';
|
||||
display: block;
|
||||
height: 0;
|
||||
|
@ -1107,7 +1107,7 @@ button:before,
|
|||
.button:before,
|
||||
input[type="submit"]:before,
|
||||
.wp-block-button__link:before,
|
||||
.wp-block-file__button:before, .a8c-posts-list__view-all:before {
|
||||
.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before {
|
||||
margin-bottom: -0.12em;
|
||||
}
|
||||
|
||||
|
@ -1115,7 +1115,7 @@ button:after,
|
|||
.button:after,
|
||||
input[type="submit"]:after,
|
||||
.wp-block-button__link:after,
|
||||
.wp-block-file__button:after, .a8c-posts-list__view-all:after {
|
||||
.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
|
||||
margin-top: -0.11em;
|
||||
}
|
||||
|
||||
|
@ -1123,15 +1123,15 @@ button:hover,
|
|||
.button:hover,
|
||||
input:hover[type="submit"],
|
||||
.wp-block-button__link:hover,
|
||||
.wp-block-file__button:hover, .a8c-posts-list__view-all:hover, button:focus,
|
||||
.wp-block-file__button:hover, .a8c-posts-list__view-all:hover, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:hover, button:focus,
|
||||
.button:focus,
|
||||
input:focus[type="submit"],
|
||||
.wp-block-button__link:focus,
|
||||
.wp-block-file__button:focus, .a8c-posts-list__view-all:focus, button.has-focus,
|
||||
.wp-block-file__button:focus, .a8c-posts-list__view-all:focus, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:focus, button.has-focus,
|
||||
.has-focus.button,
|
||||
input.has-focus[type="submit"],
|
||||
.has-focus.wp-block-button__link,
|
||||
.has-focus.wp-block-file__button, .has-focus.a8c-posts-list__view-all {
|
||||
.has-focus.wp-block-file__button, .has-focus.a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.has-focus.accept {
|
||||
color: #ffffff;
|
||||
background-color: #2f5f74;
|
||||
}
|
||||
|
@ -1896,25 +1896,19 @@ p.has-background {
|
|||
}
|
||||
|
||||
hr {
|
||||
border-bottom-color: #3E7D98;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom: 2px solid #3E7D98;
|
||||
clear: both;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator {
|
||||
border-bottom-color: #3E7D98;
|
||||
border-bottom: 2px solid #3E7D98;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-wide {
|
||||
border-bottom-color: #3E7D98;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-dots:before {
|
||||
color: #3E7D98;
|
||||
font-size: 2.16rem;
|
||||
|
@ -2018,10 +2012,6 @@ table th,
|
|||
/**
|
||||
* .aligndefault
|
||||
*/
|
||||
.entry-content [class*="inner-container"] {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* .alignwide
|
||||
*/
|
||||
|
@ -2198,15 +2188,15 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -2222,15 +2212,15 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2249,15 +2239,15 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -2273,15 +2263,15 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -3204,30 +3194,27 @@ img#wpstats {
|
|||
}
|
||||
|
||||
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
max-width: 100%;
|
||||
/* Matches normal width until desktop breakpoint */
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery {
|
||||
width: calc(calc( 560px - 32px) + 256px);
|
||||
max-width: calc(100% - 32px);
|
||||
max-width: calc( 560px - 32px);
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery {
|
||||
width: calc(calc( 640px - 32px) + 256px);
|
||||
max-width: calc(100% - 32px);
|
||||
max-width: calc( 640px - 32px);
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 782px) {
|
||||
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery {
|
||||
width: calc(calc( 782px - 32px) + 256px);
|
||||
max-width: calc(100% - 32px);
|
||||
max-width: calc( 782px - 32px);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3403,6 +3390,106 @@ img#wpstats {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Cookies & Consents Banner
|
||||
*/
|
||||
body .widget_eu_cookie_law_widget {
|
||||
background: transparent;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
padding: 8px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
body .widget_eu_cookie_law_widget.widget.top {
|
||||
bottom: auto;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
body .widget_eu_cookie_law_widget #eu-cookie-law {
|
||||
background: #ffffff;
|
||||
border: 1px solid #3E7D98;
|
||||
color: #394d55;
|
||||
font-size: 1.04167rem;
|
||||
line-height: inherit;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
body .widget_eu_cookie_law_widget #eu-cookie-law {
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
body .widget_eu_cookie_law_widget #eu-cookie-law.negative {
|
||||
background: #394d55;
|
||||
border-color: #253136;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept {
|
||||
background: #ffffff;
|
||||
color: #394d55;
|
||||
}
|
||||
|
||||
body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept:hover, body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept:focus, body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept.has-focus {
|
||||
background: #d9d9d9;
|
||||
}
|
||||
|
||||
body .widget_eu_cookie_law_widget #eu-cookie-law input.accept {
|
||||
margin: 0;
|
||||
margin-right: 32px;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
body .widget_eu_cookie_law_widget #eu-cookie-law input.accept {
|
||||
bottom: 16px;
|
||||
right: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
body.admin-bar .widget_eu_cookie_law_widget.widget.top {
|
||||
top: 32px;
|
||||
}
|
||||
|
||||
@media (max-width: 782px) {
|
||||
body.admin-bar .widget_eu_cookie_law_widget.widget.top {
|
||||
top: 46px;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Mailchimp Subscription Form
|
||||
*/
|
||||
.wp-block-jetpack-mailchimp p {
|
||||
margin-top: 21.312px;
|
||||
margin-bottom: 21.312px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.wp-block-jetpack-mailchimp p {
|
||||
margin-top: 32px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
.wp-block-jetpack-mailchimp p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.wp-block-jetpack-mailchimp p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.wp-block-jetpack-mailchimp input[type=email] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#wp-block-jetpack-mailchimp_consent-text {
|
||||
font-size: 1.04167rem;
|
||||
}
|
||||
|
||||
/**
|
||||
* Child Theme Extra Styles
|
||||
*/
|
||||
|
|
181
alves/style.css
181
alves/style.css
|
@ -6,7 +6,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: Convincing design for your charity or organization’s online presence. Highlight your actions, causes and projects, Alves is versatile enough to be your personal site too.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -1075,7 +1075,7 @@ button,
|
|||
.button,
|
||||
input[type="submit"],
|
||||
.wp-block-button__link,
|
||||
.wp-block-file__button, .a8c-posts-list__view-all {
|
||||
.wp-block-file__button, .a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept {
|
||||
line-height: 1;
|
||||
color: #ffffff;
|
||||
cursor: pointer;
|
||||
|
@ -1092,11 +1092,11 @@ button:before,
|
|||
.button:before,
|
||||
input[type="submit"]:before,
|
||||
.wp-block-button__link:before,
|
||||
.wp-block-file__button:before, .a8c-posts-list__view-all:before, button:after,
|
||||
.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before, button:after,
|
||||
.button:after,
|
||||
input[type="submit"]:after,
|
||||
.wp-block-button__link:after,
|
||||
.wp-block-file__button:after, .a8c-posts-list__view-all:after {
|
||||
.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
|
||||
content: '';
|
||||
display: block;
|
||||
height: 0;
|
||||
|
@ -1107,7 +1107,7 @@ button:before,
|
|||
.button:before,
|
||||
input[type="submit"]:before,
|
||||
.wp-block-button__link:before,
|
||||
.wp-block-file__button:before, .a8c-posts-list__view-all:before {
|
||||
.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before {
|
||||
margin-bottom: -0.12em;
|
||||
}
|
||||
|
||||
|
@ -1115,7 +1115,7 @@ button:after,
|
|||
.button:after,
|
||||
input[type="submit"]:after,
|
||||
.wp-block-button__link:after,
|
||||
.wp-block-file__button:after, .a8c-posts-list__view-all:after {
|
||||
.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
|
||||
margin-top: -0.11em;
|
||||
}
|
||||
|
||||
|
@ -1123,15 +1123,15 @@ button:hover,
|
|||
.button:hover,
|
||||
input:hover[type="submit"],
|
||||
.wp-block-button__link:hover,
|
||||
.wp-block-file__button:hover, .a8c-posts-list__view-all:hover, button:focus,
|
||||
.wp-block-file__button:hover, .a8c-posts-list__view-all:hover, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:hover, button:focus,
|
||||
.button:focus,
|
||||
input:focus[type="submit"],
|
||||
.wp-block-button__link:focus,
|
||||
.wp-block-file__button:focus, .a8c-posts-list__view-all:focus, button.has-focus,
|
||||
.wp-block-file__button:focus, .a8c-posts-list__view-all:focus, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:focus, button.has-focus,
|
||||
.has-focus.button,
|
||||
input.has-focus[type="submit"],
|
||||
.has-focus.wp-block-button__link,
|
||||
.has-focus.wp-block-file__button, .has-focus.a8c-posts-list__view-all {
|
||||
.has-focus.wp-block-file__button, .has-focus.a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.has-focus.accept {
|
||||
color: #ffffff;
|
||||
background-color: #2f5f74;
|
||||
}
|
||||
|
@ -1896,25 +1896,19 @@ p.has-background {
|
|||
}
|
||||
|
||||
hr {
|
||||
border-bottom-color: #3E7D98;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom: 2px solid #3E7D98;
|
||||
clear: both;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator {
|
||||
border-bottom-color: #3E7D98;
|
||||
border-bottom: 2px solid #3E7D98;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-wide {
|
||||
border-bottom-color: #3E7D98;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-dots:before {
|
||||
color: #3E7D98;
|
||||
font-size: 2.16rem;
|
||||
|
@ -2023,10 +2017,6 @@ table th,
|
|||
/**
|
||||
* .aligndefault
|
||||
*/
|
||||
.entry-content [class*="inner-container"] {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* .alignwide
|
||||
*/
|
||||
|
@ -2203,15 +2193,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -2227,15 +2220,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2254,15 +2250,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -2278,15 +2277,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -3209,30 +3211,27 @@ img#wpstats {
|
|||
}
|
||||
|
||||
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 100%;
|
||||
/* Matches normal width until desktop breakpoint */
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery {
|
||||
width: calc(calc( 560px - 32px) + 256px);
|
||||
max-width: calc(100% - 32px);
|
||||
max-width: calc( 560px - 32px);
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery {
|
||||
width: calc(calc( 640px - 32px) + 256px);
|
||||
max-width: calc(100% - 32px);
|
||||
max-width: calc( 640px - 32px);
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 782px) {
|
||||
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery {
|
||||
width: calc(calc( 782px - 32px) + 256px);
|
||||
max-width: calc(100% - 32px);
|
||||
max-width: calc( 782px - 32px);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3420,6 +3419,106 @@ img#wpstats {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Cookies & Consents Banner
|
||||
*/
|
||||
body .widget_eu_cookie_law_widget {
|
||||
background: transparent;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 8px;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
body .widget_eu_cookie_law_widget.widget.top {
|
||||
bottom: auto;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
body .widget_eu_cookie_law_widget #eu-cookie-law {
|
||||
background: #ffffff;
|
||||
border: 1px solid #3E7D98;
|
||||
color: #394d55;
|
||||
font-size: 1.04167rem;
|
||||
line-height: inherit;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
body .widget_eu_cookie_law_widget #eu-cookie-law {
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
body .widget_eu_cookie_law_widget #eu-cookie-law.negative {
|
||||
background: #394d55;
|
||||
border-color: #253136;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept {
|
||||
background: #ffffff;
|
||||
color: #394d55;
|
||||
}
|
||||
|
||||
body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept:hover, body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept:focus, body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept.has-focus {
|
||||
background: #d9d9d9;
|
||||
}
|
||||
|
||||
body .widget_eu_cookie_law_widget #eu-cookie-law input.accept {
|
||||
margin: 0;
|
||||
margin-left: 32px;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
body .widget_eu_cookie_law_widget #eu-cookie-law input.accept {
|
||||
bottom: 16px;
|
||||
left: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
body.admin-bar .widget_eu_cookie_law_widget.widget.top {
|
||||
top: 32px;
|
||||
}
|
||||
|
||||
@media (max-width: 782px) {
|
||||
body.admin-bar .widget_eu_cookie_law_widget.widget.top {
|
||||
top: 46px;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Mailchimp Subscription Form
|
||||
*/
|
||||
.wp-block-jetpack-mailchimp p {
|
||||
margin-top: 21.312px;
|
||||
margin-bottom: 21.312px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.wp-block-jetpack-mailchimp p {
|
||||
margin-top: 32px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
.wp-block-jetpack-mailchimp p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.wp-block-jetpack-mailchimp p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.wp-block-jetpack-mailchimp input[type=email] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#wp-block-jetpack-mailchimp_consent-text {
|
||||
font-size: 1.04167rem;
|
||||
}
|
||||
|
||||
/**
|
||||
* Child Theme Extra Styles
|
||||
*/
|
||||
|
|
88
balasana/footer.php
Executable file
88
balasana/footer.php
Executable file
|
@ -0,0 +1,88 @@
|
|||
<?php
|
||||
/**
|
||||
* The template for displaying the footer
|
||||
*
|
||||
* Contains the closing of the #content div and all content after.
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Varia
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
</div><!-- #content -->
|
||||
|
||||
<footer id="colophon" class="site-footer responsive-max-width">
|
||||
<?php
|
||||
if ( class_exists( 'A8C\FSE\WP_Template' ) ) : // If the FSE plugin is active, use the Header template for content.
|
||||
$template = new A8C\FSE\WP_Template();
|
||||
$template->output_template_content( A8C\FSE\WP_Template::FOOTER );
|
||||
else : // Otherwise we'll fallback to the default Balasana footer below.
|
||||
get_template_part( 'template-parts/footer/footer', 'widgets' );
|
||||
|
||||
if ( has_nav_menu( 'menu-2' ) || has_nav_menu( 'social' ) ) : ?>
|
||||
<div class="footer-menus">
|
||||
|
||||
<?php if ( has_nav_menu( 'menu-2' ) ) : ?>
|
||||
<nav class="footer-navigation" aria-label="<?php esc_attr_e( 'Footer Menu', 'balasana' ); ?>">
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'menu-2',
|
||||
'menu_class' => 'footer-menu',
|
||||
'depth' => 1,
|
||||
)
|
||||
);
|
||||
?>
|
||||
</nav><!-- .footer-navigation -->
|
||||
<?php endif;
|
||||
|
||||
if ( has_nav_menu( 'social' ) ) : ?>
|
||||
<nav class="social-navigation" aria-label="<?php esc_attr_e( 'Social Links Menu', 'balasana' ); ?>">
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'social',
|
||||
'menu_class' => 'social-links-menu',
|
||||
'link_before' => '<span class="screen-reader-text">',
|
||||
'link_after' => '</span>' . varia_get_icon_svg( 'link' ),
|
||||
'depth' => 1,
|
||||
)
|
||||
);
|
||||
?>
|
||||
</nav><!-- .social-navigation -->
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- .footer-menus -->
|
||||
<?php endif;
|
||||
endif;
|
||||
?>
|
||||
|
||||
<div class="site-info">
|
||||
<?php
|
||||
if ( function_exists( 'the_privacy_policy_link' ) ) {
|
||||
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
|
||||
}
|
||||
?>
|
||||
<?php $blog_info = get_bloginfo( 'name' ); ?>
|
||||
<?php if ( ! empty( $blog_info ) ) : ?>
|
||||
<a class="site-name" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a><span class="comma">,</span>
|
||||
<?php endif; ?>
|
||||
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'balasana' ) ); ?>" class="imprint">
|
||||
<?php
|
||||
/* translators: %s: WordPress. */
|
||||
printf( __( 'proudly powered by %s.', 'balasana' ), 'WordPress' );
|
||||
?>
|
||||
</a>
|
||||
</div><!-- .site-info -->
|
||||
</footer><!-- #colophon -->
|
||||
|
||||
</div><!-- #page -->
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
197
balasana/functions.php
Executable file
197
balasana/functions.php
Executable file
|
@ -0,0 +1,197 @@
|
|||
<?php
|
||||
/**
|
||||
* Child Theme Functions and definitions
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/theme-functions/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Balasana
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
if ( ! function_exists( 'balasana_setup' ) ) :
|
||||
/**
|
||||
* Sets up theme defaults and registers support for various WordPress features.
|
||||
*
|
||||
* Note that this function is hooked into the after_setup_theme hook, which
|
||||
* runs before the init hook. The init hook is too late for some features, such
|
||||
* as indicating support for post thumbnails.
|
||||
*/
|
||||
function balasana_setup() {
|
||||
|
||||
// Add child theme editor styles, compiled from `style-child-theme-editor.scss`.
|
||||
add_editor_style( 'style-editor.css' );
|
||||
|
||||
// Add child theme editor font sizes to match Sass-map variables in `_config-child-theme-deep.scss`.
|
||||
add_theme_support(
|
||||
'editor-font-sizes',
|
||||
array(
|
||||
array(
|
||||
'name' => __( 'Small', 'balasana' ),
|
||||
'shortName' => __( 'S', 'balasana' ),
|
||||
'size' => 16.666,
|
||||
'slug' => 'small',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Normal', 'balasana' ),
|
||||
'shortName' => __( 'M', 'balasana' ),
|
||||
'size' => 20,
|
||||
'slug' => 'normal',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Large', 'balasana' ),
|
||||
'shortName' => __( 'L', 'balasana' ),
|
||||
'size' => 28.8,
|
||||
'slug' => 'large',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Huge', 'balasana' ),
|
||||
'shortName' => __( 'XL', 'balasana' ),
|
||||
'size' => 34.56,
|
||||
'slug' => 'huge',
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
// Add child theme editor color pallete to match Sass-map variables in `_config-child-theme-deep.scss`.
|
||||
add_theme_support(
|
||||
'editor-color-palette',
|
||||
array(
|
||||
array(
|
||||
'name' => __( 'Primary', 'balasana' ),
|
||||
'slug' => 'primary',
|
||||
'color' => '#19744C',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Secondary', 'balasana' ),
|
||||
'slug' => 'secondary',
|
||||
'color' => '#BC2213',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Dark Gray', 'balasana' ),
|
||||
'slug' => 'foreground-dark',
|
||||
'color' => '#101010',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Gray', 'balasana' ),
|
||||
'slug' => 'foreground',
|
||||
'color' => '#303030',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Light Gray', 'balasana' ),
|
||||
'slug' => 'foreground-light',
|
||||
'color' => '#505050',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Lighter Gray', 'balasana' ),
|
||||
'slug' => 'background-dark',
|
||||
'color' => '#D0D0D0',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Subtle Gray', 'balasana' ),
|
||||
'slug' => 'background-light',
|
||||
'color' => '#F0F0F0',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'White', 'balasana' ),
|
||||
'slug' => 'background',
|
||||
'color' => '#FFFFFF',
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
// Add child theme support for core custom logo.
|
||||
add_theme_support(
|
||||
'custom-logo',
|
||||
array(
|
||||
'height' => 96,
|
||||
'width' => 96,
|
||||
'flex-width' => true,
|
||||
'flex-height' => true,
|
||||
'header-text' => array( 'site-title', 'site-description' ),
|
||||
)
|
||||
);
|
||||
}
|
||||
endif;
|
||||
add_action( 'after_setup_theme', 'balasana_setup', 12 );
|
||||
|
||||
/**
|
||||
* Filter the content_width in pixels, based on the child-theme's design and stylesheet.
|
||||
*/
|
||||
function balasana_content_width() {
|
||||
return 750;
|
||||
}
|
||||
add_filter( 'varia_content_width', 'balasana_content_width' );
|
||||
|
||||
/**
|
||||
* Add Google webfonts
|
||||
*
|
||||
* - See: http://themeshaper.com/2014/08/13/how-to-add-google-fonts-to-wordpress-themes/
|
||||
*/
|
||||
function balasana_fonts_url() {
|
||||
|
||||
$fonts_url = '';
|
||||
|
||||
/* Translators: If there are characters in your language that are not
|
||||
* supported by Roboto Condensed, translate this to 'off'. Do not translate
|
||||
* into your own language.
|
||||
*/
|
||||
$roboto_condensed = esc_html_x( 'on', 'Roboto Condensed font: on or off', 'balasana' );
|
||||
|
||||
/* Translators: If there are characters in your language that are not
|
||||
* supported by Roboto, translate this to 'off'. Do not translate
|
||||
* into your own language.
|
||||
*/
|
||||
$roboto = esc_html_x( 'on', 'Roboto font: on or off', 'balasana' );
|
||||
|
||||
if ( 'off' !== $roboto_condensed || 'off' !== $roboto ) {
|
||||
$font_families = array();
|
||||
|
||||
if ( 'off' !== $roboto_condensed ) {
|
||||
$font_families[] = 'Roboto Condensed:400,400i,700,700i';
|
||||
}
|
||||
|
||||
if ( 'off' !== $roboto ) {
|
||||
$font_families[] = 'Roboto:400,400i,700,700i';
|
||||
}
|
||||
|
||||
$query_args = array(
|
||||
'family' => urlencode( implode( '|', $font_families ) ),
|
||||
'subset' => urlencode( 'latin,latin-ext' ),
|
||||
);
|
||||
|
||||
$fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' );
|
||||
}
|
||||
|
||||
return esc_url_raw( $fonts_url );
|
||||
}
|
||||
|
||||
/**
|
||||
* Enqueue scripts and styles.
|
||||
*/
|
||||
function balasana_scripts() {
|
||||
|
||||
// enqueue Google fonts
|
||||
wp_enqueue_style( 'balasana-fonts', balasana_fonts_url(), array(), null );
|
||||
|
||||
// dequeue parent styles
|
||||
wp_dequeue_style( 'varia-style' );
|
||||
|
||||
// enqueue child styles
|
||||
wp_enqueue_style('balasana-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ));
|
||||
|
||||
// enqueue child RTL styles
|
||||
wp_style_add_data( 'balasana-style', 'rtl', 'replace' );
|
||||
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'balasana_scripts', 99 );
|
||||
|
||||
/**
|
||||
* Enqueue theme styles for the block editor.
|
||||
*/
|
||||
function balasana_editor_styles() {
|
||||
|
||||
// Enqueue Google fonts in the editor
|
||||
wp_enqueue_style( 'balasana-editor-fonts', balasana_fonts_url(), array(), null );
|
||||
}
|
||||
add_action( 'enqueue_block_editor_assets', 'balasana_editor_styles' );
|
65
balasana/header.php
Executable file
65
balasana/header.php
Executable file
|
@ -0,0 +1,65 @@
|
|||
<?php
|
||||
/**
|
||||
* The header for our theme
|
||||
*
|
||||
* This is the template that displays all of the <head> section and everything up until <div id="content">
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Varia
|
||||
* @since 1.0.0
|
||||
*/
|
||||
?><!doctype html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="profile" href="https://gmpg.org/xfn/11" />
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
|
||||
<body <?php body_class(); ?>>
|
||||
<div id="page" class="site">
|
||||
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'balasana' ); ?></a>
|
||||
|
||||
<?php if ( class_exists( 'A8C\FSE\WP_Template' ) ) : // If the FSE plugin is active, use the Header template for content. ?>
|
||||
|
||||
<header id="masthead" class="site-header responsive-max-width">
|
||||
<?php
|
||||
$template = new A8C\FSE\WP_Template();
|
||||
$template->output_template_content( A8C\FSE\WP_Template::HEADER );
|
||||
?>
|
||||
</header>
|
||||
|
||||
<?php else : // Otherwise we'll fallback to the default Balasana header below. ?>
|
||||
|
||||
<header id="masthead" class="site-header responsive-max-width">
|
||||
|
||||
<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
|
||||
|
||||
<?php if ( has_nav_menu( 'menu-1' ) ) : ?>
|
||||
<nav id="site-navigation" class="main-navigation" aria-label="<?php esc_attr_e( 'Main Navigation', 'balasana' ); ?>">
|
||||
<input type="checkbox" role="button" aria-haspopup="true" id="toggle" class="hide-visually">
|
||||
<label for="toggle" id="toggle-menu" class="button">
|
||||
<?php _e( 'Menu', 'balasana' ); ?>
|
||||
<span class="hide-visually expanded-text"><?php _e( 'expanded', 'balasana' ); ?></span>
|
||||
<span class="hide-visually collapsed-text"><?php _e( 'collapsed', 'balasana' ); ?></span>
|
||||
</label>
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'menu-1',
|
||||
'menu_class' => 'main-menu',
|
||||
'items_wrap' => '<ul id="%1$s" class="%2$s" aria-label="submenu">%3$s</ul>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</nav><!-- #site-navigation -->
|
||||
<?php endif; ?>
|
||||
|
||||
</header><!-- #masthead -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<div id="content" class="site-content">
|
235
balasana/inc/headstart/en.json
Normal file
235
balasana/inc/headstart/en.json
Normal file
File diff suppressed because one or more lines are too long
154
balasana/languages/balasana.pot
Normal file
154
balasana/languages/balasana.pot
Normal file
|
@ -0,0 +1,154 @@
|
|||
# Copyright (C) 2019 Automattic
|
||||
# This file is distributed under the GNU General Public License v2 or later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Balasana 1.0\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/support/theme/balasana\n"
|
||||
"POT-Creation-Date: 2019-08-29 07:15:59+00:00\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
||||
#: footer.php:30
|
||||
msgid "Footer Menu"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:44
|
||||
msgid "Social Links Menu"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:74
|
||||
msgid "https://wordpress.org/"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: WordPress.
|
||||
#: footer.php:77
|
||||
msgid "proudly powered by %s."
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:30
|
||||
msgid "Small"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:31
|
||||
msgid "S"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:36
|
||||
msgid "Normal"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:37
|
||||
msgid "M"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:42
|
||||
msgid "Large"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:43
|
||||
msgid "L"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:48
|
||||
msgid "Huge"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:49
|
||||
msgid "XL"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:61
|
||||
msgid "Primary"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:66
|
||||
msgid "Secondary"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:71
|
||||
msgid "Dark Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:76
|
||||
msgid "Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:81
|
||||
msgid "Light Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:86
|
||||
msgid "Lighter Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:91
|
||||
msgid "Subtle Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:96
|
||||
msgid "White"
|
||||
msgstr ""
|
||||
|
||||
#. Translators: If there are characters in your language that are not supported
|
||||
#. by Roboto Condensed, translate this to 'off'. Do not translate into your own
|
||||
#. language.
|
||||
#: functions.php:139
|
||||
msgctxt "Roboto Condensed font: on or off"
|
||||
msgid "on"
|
||||
msgstr ""
|
||||
|
||||
#. Translators: If there are characters in your language that are not supported
|
||||
#. by Roboto, translate this to 'off'. Do not translate into your own language.
|
||||
#: functions.php:145
|
||||
msgctxt "Roboto font: on or off"
|
||||
msgid "on"
|
||||
msgstr ""
|
||||
|
||||
#: header.php:24
|
||||
msgid "Skip to content"
|
||||
msgstr ""
|
||||
|
||||
#: header.php:42
|
||||
msgid "Main Navigation"
|
||||
msgstr ""
|
||||
|
||||
#: header.php:45
|
||||
msgid "Menu"
|
||||
msgstr ""
|
||||
|
||||
#: header.php:46
|
||||
msgid "expanded"
|
||||
msgstr ""
|
||||
|
||||
#: header.php:47
|
||||
msgid "collapsed"
|
||||
msgstr ""
|
||||
|
||||
#. Theme Name of the plugin/theme
|
||||
#: wp-content/themes/pub/balasana/style.css
|
||||
msgid "Balasana"
|
||||
msgstr ""
|
||||
|
||||
#. Theme URI of the plugin/theme
|
||||
#: wp-content/themes/pub/balasana/style.css
|
||||
msgid "https://github.com/Automattic/themes/varia"
|
||||
msgstr ""
|
||||
|
||||
#. Description of the plugin/theme
|
||||
#: wp-content/themes/pub/balasana/style.css
|
||||
msgid "A design system for WordPress sites built with Gutenberg."
|
||||
msgstr ""
|
||||
|
||||
#. Author of the plugin/theme
|
||||
#: wp-content/themes/pub/balasana/style.css
|
||||
msgid "Automattic"
|
||||
msgstr ""
|
||||
|
||||
#. Author URI of the plugin/theme
|
||||
#: wp-content/themes/pub/balasana/style.css
|
||||
msgid "https://automattic.com/"
|
||||
msgstr ""
|
4772
balasana/package-lock.json
generated
Normal file
4772
balasana/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
44
balasana/package.json
Executable file
44
balasana/package.json
Executable file
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
"name": "balasana",
|
||||
"version": "1.0.1",
|
||||
"description": "Balasana",
|
||||
"bugs": {
|
||||
"url": "https://github.com/Automattic/themes/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Automattic/themes/tree/balasana#readme",
|
||||
"devDependencies": {
|
||||
"@wordpress/browserslist-config": "^2.6.0",
|
||||
"autoprefixer": "^9.6.1",
|
||||
"chokidar-cli": "^2.0.0",
|
||||
"node-sass": "^4.12.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss-cli": "^6.1.3",
|
||||
"postcss-focus-within": "^3.0.0",
|
||||
"rtlcss": "^2.4.0"
|
||||
},
|
||||
"rtlcssConfig": {
|
||||
"options": {
|
||||
"autoRename": false,
|
||||
"autoRenameStrict": false,
|
||||
"blacklist": {},
|
||||
"clean": true,
|
||||
"greedy": false,
|
||||
"processUrls": false,
|
||||
"stringMap": []
|
||||
},
|
||||
"plugins": [],
|
||||
"map": false
|
||||
},
|
||||
"browserslist": [
|
||||
"extends @wordpress/browserslist-config"
|
||||
],
|
||||
"scripts": {
|
||||
"start": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
|
||||
"build:style": "node-sass sass/style-child-theme.scss style.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r style.css",
|
||||
"build:style-editor": "node-sass sass/style-child-theme-editor.scss style-editor.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r style-editor.css",
|
||||
"build:rtl": "rtlcss style.css style-rtl.css",
|
||||
"build:print": "node-sass sass/print.scss print.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r print.css",
|
||||
"build": "run-p \"build:*\"",
|
||||
"watch": "chokidar \"**/*.scss\" -c \"npm run build\" --initial"
|
||||
}
|
||||
}
|
13
balasana/postcss.config.js
Executable file
13
balasana/postcss.config.js
Executable file
|
@ -0,0 +1,13 @@
|
|||
var postcssFocusWithin = require('postcss-focus-within');
|
||||
|
||||
module.exports = {
|
||||
plugins: {
|
||||
autoprefixer: {}
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
postcssFocusWithin(/* pluginOptions */)
|
||||
]
|
||||
};
|
162
balasana/print.css
Normal file
162
balasana/print.css
Normal file
|
@ -0,0 +1,162 @@
|
|||
/*
|
||||
Theme Name: Balasana
|
||||
|
||||
Adding print support. The print styles are based on the the great work of
|
||||
Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272/.
|
||||
*/
|
||||
/*--------------------------------------------------------------
|
||||
>>> TABLE OF CONTENTS:
|
||||
----------------------------------------------------------------
|
||||
# Margins
|
||||
# Typography
|
||||
# Page breaks
|
||||
# Links
|
||||
# Visibility
|
||||
--------------------------------------------------------------*/
|
||||
@media print {
|
||||
/* Margins */
|
||||
@page {
|
||||
margin: 2cm;
|
||||
}
|
||||
.entry {
|
||||
margin-top: 1em;
|
||||
}
|
||||
.entry .entry-header, .site-footer .site-info {
|
||||
margin: 0;
|
||||
}
|
||||
/* Fonts */
|
||||
body {
|
||||
font: 13pt Georgia, "Times New Roman", Times, serif;
|
||||
line-height: 1.3;
|
||||
background: #fff !important;
|
||||
color: #000;
|
||||
}
|
||||
h1 {
|
||||
font-size: 24pt;
|
||||
}
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
.has-regular-font-size,
|
||||
.has-large-font-size,
|
||||
h2.author-title,
|
||||
p.author-bio,
|
||||
.comments-title, h3 {
|
||||
font-size: 14pt;
|
||||
margin-top: 25px;
|
||||
}
|
||||
/* Page breaks */
|
||||
a {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
blockquote {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
page-break-after: avoid;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
img {
|
||||
page-break-inside: avoid;
|
||||
page-break-after: avoid;
|
||||
}
|
||||
table, pre {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
ul, ol, dl {
|
||||
page-break-before: avoid;
|
||||
}
|
||||
/* Links */
|
||||
a:link, a:visited, a {
|
||||
background: transparent;
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
text-align: left;
|
||||
}
|
||||
a {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
a[href^=http]:after {
|
||||
content: " < " attr(href) "> ";
|
||||
}
|
||||
a:after > img {
|
||||
content: "";
|
||||
}
|
||||
article a[href^="#"]:after {
|
||||
content: "";
|
||||
}
|
||||
a:not(:local-link):after {
|
||||
content: " < " attr(href) "> ";
|
||||
}
|
||||
/* Visibility */
|
||||
.main-navigation,
|
||||
.site-title + .main-navigation,
|
||||
.social-navigation,
|
||||
.site-branding-container:before,
|
||||
.entry .entry-title:before,
|
||||
.entry-footer,
|
||||
.author-description:before,
|
||||
.post-navigation,
|
||||
.widget-area,
|
||||
.comment-form-flex,
|
||||
.comment-reply,
|
||||
.comment .comment-metadata .edit-link {
|
||||
display: none;
|
||||
}
|
||||
.entry .entry-content .wp-block-button .wp-block-button__link,
|
||||
.entry .entry-content .button {
|
||||
color: #000;
|
||||
background: none;
|
||||
}
|
||||
/* Site Header (With Featured Image) */
|
||||
.site-header.featured-image {
|
||||
min-height: 0;
|
||||
}
|
||||
.site-header.featured-image .main-navigation a,
|
||||
.site-header.featured-image .main-navigation a + svg,
|
||||
.site-header.featured-image .social-navigation a,
|
||||
.site-header.featured-image .site-title a,
|
||||
.site-header.featured-image .site-featured-image a,
|
||||
.site-header.featured-image .site-branding .site-title,
|
||||
.site-header.featured-image .site-branding .site-description,
|
||||
.site-header.featured-image .main-navigation a:after,
|
||||
.site-header.featured-image .main-navigation .main-menu > li.menu-item-has-children:after,
|
||||
.site-header.featured-image .main-navigation li,
|
||||
.site-header.featured-image .social-navigation li,
|
||||
.site-header.featured-image .entry-meta,
|
||||
.site-header.featured-image .entry-title,
|
||||
.site-header.featured-image#masthead .site-title a {
|
||||
color: #000;
|
||||
text-shadow: none;
|
||||
}
|
||||
.site-header.featured-image .site-featured-image .entry-header,
|
||||
.site-header.featured-image .site-branding-container {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.site-header.featured-image .site-featured-image .post-thumbnail img {
|
||||
position: relative;
|
||||
height: initial;
|
||||
width: initial;
|
||||
object-fit: none;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
max-width: 100%;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
/* Remove image filters from featured image */
|
||||
.image-filters-enabled *:after {
|
||||
display: none !important;
|
||||
}
|
||||
.image-filters-enabled .site-header.featured-image .site-featured-image:before {
|
||||
display: none;
|
||||
}
|
||||
.image-filters-enabled .site-header.featured-image .site-featured-image .post-thumbnail img {
|
||||
filter: none;
|
||||
}
|
||||
}
|
354
balasana/sass/_config-child-theme-deep.scss
Normal file
354
balasana/sass/_config-child-theme-deep.scss
Normal file
|
@ -0,0 +1,354 @@
|
|||
/**
|
||||
* Redefine Sass map values for child theme output.
|
||||
* - See: style-child-theme.scss
|
||||
*/
|
||||
|
||||
/**
|
||||
* Global
|
||||
*/
|
||||
|
||||
// Vertical Rhythm Multiplier
|
||||
$baseline-unit: 8px;
|
||||
|
||||
$typescale-root: 20px; // Set 16px/1em default on html
|
||||
$typescale-base: 1rem; // Set 1em default on body == $typescale-root;
|
||||
$typescale-ratio: 1.2; // Run ratio math on 1em == $typescale-base * $typescale-root;
|
||||
|
||||
$config-global: (
|
||||
|
||||
/* Fonts */
|
||||
"font": (
|
||||
/* Font Family */
|
||||
"family": (
|
||||
"primary": "\"Roboto Condensed\"\, -apple-system\, BlinkMacSystemFont\, \"Segoe UI\"\, \"Roboto\"\, \"Oxygen\"\, \"Ubuntu\"\, \"Cantarell\"\, \"Fira Sans\"\, \"Droid Sans\"\, \"Helvetica Neue\"\, sans-serif",
|
||||
"secondary": "Roboto\, -apple-system\, BlinkMacSystemFont\, \"Segoe UI\"\, \"Roboto\"\, \"Oxygen\"\, \"Ubuntu\"\, \"Cantarell\"\, \"Fira Sans\"\, \"Droid Sans\"\, \"Helvetica Neue\"\, sans-serif",
|
||||
"code": "monospace, monospace",
|
||||
"ui": "Roboto\, -apple-system\, BlinkMacSystemFont\, \"Segoe UI\"\, \"Roboto\"\, \"Oxygen\"\, \"Ubuntu\"\, \"Cantarell\"\, \"Fira Sans\"\, \"Droid Sans\"\, \"Helvetica Neue\"\, sans-serif",
|
||||
),
|
||||
/* Font Size */
|
||||
"size": (
|
||||
"root": $typescale-root,
|
||||
"ratio": $typescale-ratio,
|
||||
"xs": ($typescale-base / $typescale-ratio / $typescale-ratio),
|
||||
"sm": ($typescale-base / $typescale-ratio),
|
||||
"base": $typescale-base,
|
||||
"md": ($typescale-base * $typescale-ratio),
|
||||
"lg": ($typescale-base * $typescale-ratio * $typescale-ratio),
|
||||
"xl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio),
|
||||
"xxl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio),
|
||||
"xxxl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio),
|
||||
"xxxxl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio),
|
||||
),
|
||||
/* Letter Spacing */
|
||||
"letter-spacing": (
|
||||
"base": normal,
|
||||
"xs": normal,
|
||||
"sm": normal,
|
||||
"md": normal,
|
||||
"lg": normal,
|
||||
"xl": normal,
|
||||
"xxl": normal,
|
||||
"xxxl": normal,
|
||||
),
|
||||
/* Line Height */
|
||||
"line-height": (
|
||||
"base": strip-unit($typescale-base),
|
||||
"body": 1.6,
|
||||
"heading": 1.125,
|
||||
),
|
||||
),
|
||||
|
||||
/* Colors */
|
||||
"color": (
|
||||
"primary": (
|
||||
"default": #19744C,
|
||||
"hover": darken(#19744C, 5%),
|
||||
),
|
||||
"secondary": (
|
||||
"default": #BC2213,
|
||||
"hover": darken(#BC2213, 5%),
|
||||
),
|
||||
"foreground": (
|
||||
"default": #303030,
|
||||
"light": #505050, // must be accessible against background
|
||||
"dark": #101010, // must be accessible against background
|
||||
),
|
||||
"background": (
|
||||
"default": white,
|
||||
"light": #F0F0F0, // must be accessible against foreground-default
|
||||
"dark": #D0D0D0, // must be accessible against foreground-default
|
||||
),
|
||||
"border": (
|
||||
"default": #D0D0D0,
|
||||
"light": #F0F0F0,
|
||||
"dark": #B0B0B0,
|
||||
),
|
||||
"text-selection": lighten(#19744C, 60%),
|
||||
"black": black,
|
||||
"white": white,
|
||||
),
|
||||
|
||||
/* Spacing */
|
||||
"spacing": (
|
||||
"unit": (2 * $baseline-unit), // 16px
|
||||
"measure": inherit, // Use ch units here. ie: 60ch = 60 character max-width
|
||||
"horizontal": (2 * $baseline-unit), // 16px
|
||||
"vertical": (4 * $baseline-unit), // 32px matches default spacing in the editor.
|
||||
),
|
||||
|
||||
/* Breakpoints */
|
||||
"breakpoint": (
|
||||
"sm": 560px,
|
||||
"md": 640px,
|
||||
"lg": 782px,
|
||||
"xl": 1024px,
|
||||
"xxl": 1280px,
|
||||
),
|
||||
|
||||
/* Elevation */
|
||||
"elevation": (
|
||||
"none": 0px 0px 0px 0px rgba( 0, 0, 0, 0 ),
|
||||
"2dp": 0px 0px 4px 2px rgba( 0, 0, 0, 0.2 ),
|
||||
"4dp": 0px 0px 8px 2px rgba( 0, 0, 0, 0.2 ),
|
||||
"6dp": 2px 2px 4px 2px rgba( 0, 0, 0, 0.2 ),
|
||||
"8dp": 2px 2px 8px 0px rgba( 0, 0, 0, 0.2 ),
|
||||
"10dp": 4px 4px 8px 0px rgba( 0, 0, 0, 0.2 ),
|
||||
),
|
||||
|
||||
/* Border radius */
|
||||
"border-radius": (
|
||||
"sm": (0.5 * $baseline-unit),
|
||||
"md": (0.75 * $baseline-unit),
|
||||
"lg": $baseline-unit,
|
||||
"pill": (10 * $baseline-unit),
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Elements
|
||||
*/
|
||||
$config-elements: (
|
||||
"form": (
|
||||
// Colors
|
||||
"color": (
|
||||
"text": map-deep-get($config-global, "color", "foreground", "default"),
|
||||
"border": map-deep-get($config-global, "color", "border", "default"),
|
||||
"border-focus": map-deep-get($config-global, "color", "primary", "hover"),
|
||||
),
|
||||
// Fonts
|
||||
"font": (
|
||||
"family": map-deep-get($config-global, "font", "family", "secondary"),
|
||||
"line-height": map-deep-get($config-global, "font", "line-height", "sm"),
|
||||
"size": map-deep-get($config-global, "font", "size", "sm"),
|
||||
"weight": bold,
|
||||
),
|
||||
// Borders
|
||||
"border": (
|
||||
"width": 1px,
|
||||
"radius": map-deep-get($config-global, "border-radius", "sm"),
|
||||
),
|
||||
"padding": #{map-deep-get($config-global, "spacing", "unit")},
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Button
|
||||
*/
|
||||
$config-button: (
|
||||
// Colors
|
||||
"color": (
|
||||
"text": map-deep-get($config-global, "color", "background", "default"),
|
||||
"text-hover": map-deep-get($config-global, "color", "background", "default"),
|
||||
"background": map-deep-get($config-global, "color", "primary", "default"),
|
||||
"background-hover": map-deep-get($config-global, "color", "primary", "hover"),
|
||||
),
|
||||
// Fonts
|
||||
"font": (
|
||||
"family": map-deep-get($config-global, "font", "family", "ui"),
|
||||
"size": map-deep-get($config-global, "font", "size", "sm"),
|
||||
"weight": 700,
|
||||
"line-height": 1,
|
||||
),
|
||||
// Borders
|
||||
"border-radius": map-deep-get($config-global, "border-radius", "sm"),
|
||||
"border-width": 2px,
|
||||
// Padding
|
||||
"padding": (
|
||||
"vertical": map-deep-get($config-global, "spacing", "unit"),
|
||||
"horizontal": map-deep-get($config-global, "spacing", "unit"),
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Cover
|
||||
*/
|
||||
$config-cover: (
|
||||
"height": #{18 * map-deep-get($config-global, "spacing", "vertical")},
|
||||
"color": (
|
||||
"foreground": #{map-deep-get($config-global, "color", "white")},
|
||||
"background": #{map-deep-get($config-global, "color", "black")},
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Heading
|
||||
*/
|
||||
$config-heading: (
|
||||
// Fonts & Typography
|
||||
"font": (
|
||||
// Family
|
||||
"family": map-deep-get($config-global, "font", "family", "primary"),
|
||||
// Size
|
||||
"size": (
|
||||
"h6": map-deep-get($config-global, "font", "size", "md"),
|
||||
"h5": map-deep-get($config-global, "font", "size", "lg"),
|
||||
"h4": map-deep-get($config-global, "font", "size", "xl"),
|
||||
"h3": map-deep-get($config-global, "font", "size", "xxl"),
|
||||
"h2": map-deep-get($config-global, "font", "size", "xxxl"),
|
||||
"h1": map-deep-get($config-global, "font", "size", "xxxxl"),
|
||||
),
|
||||
// Letter spacing
|
||||
"line-height": (
|
||||
"h6": map-deep-get($config-global, "font", "line-height", "heading"),
|
||||
"h5": map-deep-get($config-global, "font", "line-height", "heading"),
|
||||
"h4": map-deep-get($config-global, "font", "line-height", "heading"),
|
||||
"h3": map-deep-get($config-global, "font", "line-height", "heading"),
|
||||
"h2": map-deep-get($config-global, "font", "line-height", "heading"),
|
||||
"h1": map-deep-get($config-global, "font", "line-height", "heading"),
|
||||
),
|
||||
// Letter spacing
|
||||
"letter-spacing": (
|
||||
"h6": map-deep-get($config-global, "font", "letter-spacing", "sm"),
|
||||
"h5": map-deep-get($config-global, "font", "letter-spacing", "md"),
|
||||
"h4": map-deep-get($config-global, "font", "letter-spacing", "lg"),
|
||||
"h3": map-deep-get($config-global, "font", "letter-spacing", "xl"),
|
||||
"h2": map-deep-get($config-global, "font", "letter-spacing", "xxl"),
|
||||
"h1": map-deep-get($config-global, "font", "letter-spacing", "xxxl"),
|
||||
),
|
||||
// Font Weight
|
||||
"weight": 700,
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* List
|
||||
*/
|
||||
$config-list: (
|
||||
// Fonts
|
||||
"font": (
|
||||
"family": map-deep-get($config-global, "font", "family", "secondary"),
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Pullquote
|
||||
*/
|
||||
$config-pullquote: (
|
||||
// Font
|
||||
"font": (
|
||||
"family": #{map-deep-get($config-heading, "font", "family")},
|
||||
),
|
||||
// Border
|
||||
"color": (
|
||||
"border": #{map-deep-get($config-global, "color", "border", "default")},
|
||||
"background": #{map-deep-get($config-global, "color", "primary", "default")},
|
||||
),
|
||||
// Border
|
||||
"border": (
|
||||
"width": #{0.5 * $baseline-unit},
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Quote
|
||||
*/
|
||||
$config-quote: (
|
||||
// Font
|
||||
"font": (
|
||||
"family": #{map-deep-get($config-heading, "font", "family")},
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Separator
|
||||
*/
|
||||
|
||||
$config-separator: (
|
||||
"height": #{0.25 * $baseline-unit},
|
||||
);
|
||||
|
||||
/**
|
||||
* Header
|
||||
*/
|
||||
$config-header: (
|
||||
"branding": (
|
||||
// Colors
|
||||
"color": (
|
||||
"text": map-deep-get($config-global, "color", "foreground", "light"),
|
||||
"link": map-deep-get($config-global, "color", "foreground", "default"),
|
||||
"link-hover": map-deep-get($config-global, "color", "primary", "default"),
|
||||
),
|
||||
// Fonts & Typography
|
||||
"title": (
|
||||
// Fonts
|
||||
"font": (
|
||||
"family": map-deep-get($config-global, "font", "family", "primary"),
|
||||
"size": map-deep-get($config-global, "font", "size", "lg"),
|
||||
"weight": 700,
|
||||
"line-height": 1,
|
||||
),
|
||||
),
|
||||
// Fonts & Typography
|
||||
"description": (
|
||||
// Fonts
|
||||
"font": (
|
||||
"family": map-deep-get($config-global, "font", "family", "secondary"),
|
||||
"size": map-deep-get($config-global, "font", "size", "sm"),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
"main-nav": (
|
||||
// Colors
|
||||
"color": (
|
||||
"text": map-deep-get($config-global, "color", "foreground", "default"),
|
||||
"link": map-deep-get($config-global, "color", "foreground", "default"),
|
||||
"link-hover": map-deep-get($config-global, "color", "primary", "default"),
|
||||
),
|
||||
// Fonts
|
||||
"font": (
|
||||
"family": map-deep-get($config-global, "font", "family", "secondary"),
|
||||
"size": map-deep-get($config-global, "font", "size", "base"),
|
||||
"weight": 400,
|
||||
"line-height": 1,
|
||||
),
|
||||
"link-padding": map-deep-get($config-global, "spacing", "unit"),
|
||||
),
|
||||
|
||||
"social-nav": (
|
||||
// Colors
|
||||
"color": (
|
||||
"link": map-deep-get($config-global, "color", "foreground", "default"),
|
||||
"link-hover": map-deep-get($config-global, "color", "primary", "default"),
|
||||
),
|
||||
"link-padding": #{0.5 * map-deep-get($config-global, "spacing", "unit")},
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Footer
|
||||
*/
|
||||
$config-footer: (
|
||||
// Colors
|
||||
"color": (
|
||||
"text": map-deep-get($config-global, "color", "foreground", "default"),
|
||||
"link": map-deep-get($config-global, "color", "foreground", "default"),
|
||||
"link-hover": map-deep-get($config-global, "color", "primary", "default"),
|
||||
),
|
||||
// Fonts
|
||||
"font": (
|
||||
"family": map-deep-get($config-global, "font", "family", "secondary"),
|
||||
"size": map-deep-get($config-global, "font", "size", "sm"),
|
||||
"line-height": map-deep-get($config-global, "font", "line-height", "sm"),
|
||||
),
|
||||
);
|
546
balasana/sass/_extra-child-theme.scss
Normal file
546
balasana/sass/_extra-child-theme.scss
Normal file
|
@ -0,0 +1,546 @@
|
|||
/**
|
||||
* Extra Child Theme Styles
|
||||
*/
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*/
|
||||
$color_background: map-deep-get($config-global, "color", "background", "default");
|
||||
$color_background_light: map-deep-get($config-global, "color", "background", "light");
|
||||
$color_foreground: map-deep-get($config-global, "color", "foreground", "default");
|
||||
$color_foreground_light: map-deep-get($config-global, "color", "foreground", "light");
|
||||
$color_primary: map-deep-get($config-global, "color", "primary", "default");
|
||||
$color_border: map-deep-get($config-global, "color", "border", "default");
|
||||
$spacing_unit: map-deep-get($config-global, "spacing", "unit");
|
||||
$spacing_horizontal: map-deep-get($config-global, "spacing", "horizontal");
|
||||
$spacing_vertical: map-deep-get($config-global, "spacing", "vertical");
|
||||
$border_radius_sm: map-deep-get($config-global, "border-radius", "sm");
|
||||
$font_size_sm: map-deep-get($config-global, "font", "size", "sm");
|
||||
$font_size_lg: map-deep-get($config-global, "font", "size", "lg");
|
||||
$font_size_xl: map-deep-get($config-global, "font", "size", "xl");
|
||||
$font_size_h1: map-deep-get($config-heading, "font", "size", "h1");
|
||||
|
||||
/**
|
||||
* Reset
|
||||
*/
|
||||
a,
|
||||
button,
|
||||
.button,
|
||||
input[type="submit"] {
|
||||
text-decoration: none;
|
||||
|
||||
&:active,
|
||||
&:focus,
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
dt {
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.entry-header,
|
||||
.entry-footer,
|
||||
.page-title,
|
||||
.author-title,
|
||||
.comments-title,
|
||||
.comment-reply-title {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.comment-reply-title {
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
.comment .comment-reply-title {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.pagination .nav-links {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/**
|
||||
* Wide Header & Footer
|
||||
*/
|
||||
#masthead,
|
||||
#colophon {
|
||||
@extend %responsive-alignwide;
|
||||
}
|
||||
|
||||
/**
|
||||
* Header
|
||||
*/
|
||||
// Site Header
|
||||
.site-header {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
& > * {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Site Branding
|
||||
.site-branding {
|
||||
margin: 0;
|
||||
margin-right: auto;
|
||||
|
||||
& > * {
|
||||
margin-top: #{0.5 * $spacing_unit};
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.site-logo img {
|
||||
max-height: #{3 * $spacing_vertical};
|
||||
}
|
||||
|
||||
.site-description {
|
||||
display: none;
|
||||
|
||||
@include media(mobile) {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Main Navigation
|
||||
.main-navigation {
|
||||
margin: 0;
|
||||
margin-left: auto;
|
||||
|
||||
& > div {
|
||||
background: $color_background;
|
||||
border: 1px solid $color_border;
|
||||
border-radius: $border_radius_sm;
|
||||
left: #{2* $spacing_horizontal};
|
||||
margin-top: #{0.5 * $spacing_unit};
|
||||
padding: 0 #{0.5 * $spacing_unit};
|
||||
position: absolute;
|
||||
right: #{2 * $spacing_horizontal};
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
li.current-menu-item > a {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@include media(mobile) {
|
||||
& > div {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
left: auto;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
position: inherit;
|
||||
right: auto;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
& > div > ul {
|
||||
justify-content: flex-end;
|
||||
margin-left: -#{0.5 * $spacing_horizontal};
|
||||
margin-right: -#{0.5 * $spacing_horizontal};
|
||||
|
||||
& > li {
|
||||
padding-left: $spacing_unit;
|
||||
padding-right: $spacing_unit;
|
||||
padding-top: $baseline-unit;
|
||||
padding-bottom: $baseline-unit;
|
||||
|
||||
& > a {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
& > .menu-item-has-children > a::after {
|
||||
border-left: #{0.25 * $spacing_unit} solid transparent;
|
||||
border-right: #{0.25 * $spacing_unit} solid transparent;
|
||||
border-top: #{0.25 * $spacing_unit} solid $color_primary;
|
||||
content: "";
|
||||
margin: 0;
|
||||
margin-left: #{0.25 * $spacing_unit};
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
& > div > ul > li:hover,
|
||||
& > div > ul > li.focus,
|
||||
& > div > ul > li.current-menu-item {
|
||||
|
||||
& > ul {
|
||||
border: 1px solid $color_border;
|
||||
border-radius: $border_radius_sm;
|
||||
box-shadow: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Toggle Menu
|
||||
#site-navigation #toggle-menu {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
padding: #{0.5 * $spacing_unit} $spacing_unit;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z'/%3E%3C/svg%3E");
|
||||
display: block;
|
||||
height: 24px;
|
||||
margin: 0;
|
||||
margin-right: #{0.25 * $spacing_unit};
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
@include media(mobile) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#site-navigation #toggle:checked + #toggle-menu {
|
||||
&::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'%3E%3C/path%3E%3C/svg%3E");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Footer
|
||||
*/
|
||||
// Footer Menus
|
||||
.footer-menus {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@include media(tablet) {
|
||||
flex: 1 0 50%;
|
||||
order: 2;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
// Footer Navigation
|
||||
.footer-navigation {
|
||||
@include media(tablet) {
|
||||
flex: 1 0 100%;
|
||||
}
|
||||
|
||||
.footer-menu {
|
||||
@include media(tablet) {
|
||||
margin-right: -#{0.5 * $spacing_unit};
|
||||
}
|
||||
|
||||
.current-menu-item > a {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
padding: 0;
|
||||
|
||||
@include media(tablet) {
|
||||
padding-left: #{0.5 * $spacing_unit};
|
||||
padding-right: #{0.5 * $spacing_unit};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Social Navigation
|
||||
.social-navigation {
|
||||
& > div > ul {
|
||||
flex-wrap: wrap;
|
||||
|
||||
@include media(tablet) {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-navigation + & {
|
||||
margin-top: #{0.666 * $spacing_vertical};
|
||||
|
||||
@include media(mobile) {
|
||||
margin-top: $spacing_vertical;
|
||||
}
|
||||
|
||||
@include media(tablet) {
|
||||
margin-bottom: $spacing_unit;
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Site Info
|
||||
.site-info {
|
||||
span[role="separator"] {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.site-name {
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Content
|
||||
*/
|
||||
// Entry Header
|
||||
.entry-header {
|
||||
.entry-meta {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Entry Title
|
||||
.entry-title,
|
||||
.page-title,
|
||||
.a8c-posts-list .a8c-posts-list-item__title {
|
||||
a {
|
||||
color: inherit;
|
||||
|
||||
&:active,
|
||||
&:focus,
|
||||
&:hover {
|
||||
color: $color_primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.entry-title,
|
||||
.page-title {
|
||||
font-size: $font_size_h1;
|
||||
}
|
||||
|
||||
// Sticky tag
|
||||
.sticky-post,
|
||||
.a8c-posts-list .a8c-posts-list-item__featured span {
|
||||
background: $color_background_light;
|
||||
border-radius: $border_radius_sm;
|
||||
color: $color_foreground;
|
||||
font-family: inherit;
|
||||
padding: #{0.5 * $spacing_unit} $spacing_unit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Pagination
|
||||
*/
|
||||
.pagination .nav-links > * {
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/**
|
||||
* Post Navigation
|
||||
*/
|
||||
.post-navigation {
|
||||
a {
|
||||
.post-title {
|
||||
color: $color_foreground;
|
||||
}
|
||||
}
|
||||
|
||||
a:active,
|
||||
a:focus,
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
|
||||
.post-title {
|
||||
color: $color_primary;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.meta-nav {
|
||||
color: $color_foreground;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Comment Navigation
|
||||
*/
|
||||
.comment-navigation {
|
||||
a {
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Comments
|
||||
*/
|
||||
.comment-meta {
|
||||
.comment-author {
|
||||
.fn {
|
||||
font-family: inherit;
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
|
||||
&:active,
|
||||
&:focus,
|
||||
&:hover {
|
||||
color: $color_primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.avatar {
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.comment-metadata {
|
||||
font-size: $font_size_sm;
|
||||
line-height: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.reply {
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.pingback,
|
||||
.trackback {
|
||||
.url {
|
||||
font-family: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Blocks
|
||||
*/
|
||||
// Category
|
||||
.wp-block-categories {
|
||||
.children {
|
||||
list-style: disc;
|
||||
|
||||
& > li {
|
||||
border: 0;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Latest Comments
|
||||
.wp-block-latest-comments .wp-block-latest-comments__comment-meta {
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
// Pullquote
|
||||
.wp-block-pullquote {
|
||||
blockquote {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Table block
|
||||
table,
|
||||
.wp-block-table {
|
||||
td,
|
||||
th {
|
||||
border-color: $color_border;
|
||||
}
|
||||
}
|
||||
|
||||
// Posts List
|
||||
.a8c-posts-list {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.a8c-posts-list-item__excerpt {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
// Font Sizes
|
||||
.is-larger-text,
|
||||
.has-larger-font-size,
|
||||
.has-huge-font-size {
|
||||
line-height: #{(strip-unit($baseline-unit) * 6) / (strip-unit($font_size_xl * $typescale-root))};
|
||||
}
|
||||
|
||||
.is-large-text,
|
||||
.has-large-font-size {
|
||||
line-height: #{(strip-unit($baseline-unit) * 5) / (strip-unit($font_size_lg * $typescale-root))};
|
||||
}
|
||||
|
||||
// Cookie
|
||||
body {
|
||||
.widget_eu_cookie_law_widget {
|
||||
background: transparent;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 0;
|
||||
right: 0;
|
||||
|
||||
&.widget.top {
|
||||
bottom: auto;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
#eu-cookie-law {
|
||||
background: rgba($color_background, 0.9);
|
||||
border: none;
|
||||
color: $color_foreground;
|
||||
font-size: $font_size_sm;
|
||||
line-height: inherit;
|
||||
padding: $spacing_unit;
|
||||
|
||||
@media (max-width: 600px) {
|
||||
padding-bottom: #{4 * $spacing_horizontal + $spacing_unit};
|
||||
}
|
||||
|
||||
&.negative {
|
||||
background: rgba($color_foreground, 0.9);
|
||||
color: $color_background;
|
||||
|
||||
input.accept {
|
||||
background: $color_background;
|
||||
color: $color_foreground;
|
||||
|
||||
&:active,
|
||||
&:focus,
|
||||
&:hover {
|
||||
background: $color_background_light;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
input.accept {
|
||||
margin: 0;
|
||||
margin-left: #{2 * $spacing_horizontal};
|
||||
|
||||
@extend %button-style;
|
||||
|
||||
@media (max-width: 600px) {
|
||||
bottom: $spacing_unit;
|
||||
left: $spacing_unit;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.admin-bar .widget_eu_cookie_law_widget {
|
||||
&.widget.top {
|
||||
top: 32px;
|
||||
|
||||
@media (max-width: 782px) {
|
||||
top: 46px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
198
balasana/sass/print.scss
Executable file
198
balasana/sass/print.scss
Executable file
|
@ -0,0 +1,198 @@
|
|||
/*
|
||||
Theme Name: Balasana
|
||||
|
||||
Adding print support. The print styles are based on the the great work of
|
||||
Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272/.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
>>> TABLE OF CONTENTS:
|
||||
----------------------------------------------------------------
|
||||
# Margins
|
||||
# Typography
|
||||
# Page breaks
|
||||
# Links
|
||||
# Visibility
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
@media print {
|
||||
|
||||
/* Margins */
|
||||
|
||||
@page {
|
||||
margin: 2cm;
|
||||
}
|
||||
|
||||
.entry {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.entry .entry-header, .site-footer .site-info {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Fonts */
|
||||
|
||||
body {
|
||||
font: 13pt Georgia, "Times New Roman", Times, serif;
|
||||
line-height: 1.3;
|
||||
background: #fff !important;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 24pt;
|
||||
}
|
||||
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
.has-regular-font-size,
|
||||
.has-large-font-size,
|
||||
h2.author-title,
|
||||
p.author-bio,
|
||||
.comments-title, h3 {
|
||||
font-size: 14pt;
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
/* Page breaks */
|
||||
|
||||
a {
|
||||
page-break-inside: avoid
|
||||
}
|
||||
|
||||
blockquote {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
page-break-after: avoid;
|
||||
page-break-inside: avoid
|
||||
}
|
||||
|
||||
img {
|
||||
page-break-inside: avoid;
|
||||
page-break-after: avoid;
|
||||
}
|
||||
|
||||
table, pre {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
ul, ol, dl {
|
||||
page-break-before: avoid;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
||||
a:link, a:visited, a {
|
||||
background: transparent;
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
a {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
a[href^=http]:after {
|
||||
content: " < " attr(href) "> ";
|
||||
}
|
||||
|
||||
a:after > img {
|
||||
content: "";
|
||||
}
|
||||
|
||||
article a[href^="#"]:after {
|
||||
content: "";
|
||||
}
|
||||
|
||||
a:not(:local-link):after {
|
||||
content: " < " attr(href) "> ";
|
||||
}
|
||||
|
||||
/* Visibility */
|
||||
.main-navigation,
|
||||
.site-title + .main-navigation,
|
||||
.social-navigation,
|
||||
.site-branding-container:before,
|
||||
.entry .entry-title:before,
|
||||
.entry-footer,
|
||||
.author-description:before,
|
||||
.post-navigation,
|
||||
.widget-area,
|
||||
.comment-form-flex,
|
||||
.comment-reply,
|
||||
.comment .comment-metadata .edit-link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-button .wp-block-button__link,
|
||||
.entry .entry-content .button {
|
||||
color: #000;
|
||||
background: none;
|
||||
}
|
||||
|
||||
/* Site Header (With Featured Image) */
|
||||
.site-header.featured-image {
|
||||
min-height: 0;
|
||||
|
||||
.main-navigation a,
|
||||
.main-navigation a + svg,
|
||||
.social-navigation a,
|
||||
.site-title a,
|
||||
.site-featured-image a,
|
||||
.site-branding .site-title,
|
||||
.site-branding .site-description,
|
||||
.main-navigation a:after,
|
||||
.main-navigation .main-menu > li.menu-item-has-children:after,
|
||||
.main-navigation li,
|
||||
.social-navigation li,
|
||||
.entry-meta,
|
||||
.entry-title,
|
||||
&#masthead .site-title a {
|
||||
color: #000;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.site-featured-image .entry-header,
|
||||
.site-branding-container {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.site-featured-image .post-thumbnail img {
|
||||
position: relative;
|
||||
height: initial;
|
||||
width: initial;
|
||||
object-fit: none;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
max-width: 100%;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Remove image filters from featured image */
|
||||
.image-filters-enabled {
|
||||
|
||||
*:after {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.site-header.featured-image .site-featured-image:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.site-header.featured-image .site-featured-image .post-thumbnail img {
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
}
|
41
balasana/sass/style-child-theme-editor.scss
Normal file
41
balasana/sass/style-child-theme-editor.scss
Normal file
|
@ -0,0 +1,41 @@
|
|||
/**
|
||||
* These styles should be loaded by the Block Editor only
|
||||
*/
|
||||
|
||||
/**
|
||||
* Abstracts
|
||||
* - Mixins, variables and functions
|
||||
*/
|
||||
@import "../../varia/sass/abstracts/imports";
|
||||
|
||||
/**
|
||||
* Child Theme Name
|
||||
*/
|
||||
@import "config-child-theme-deep";
|
||||
|
||||
/**
|
||||
* Base
|
||||
* - Reset the browser
|
||||
*/
|
||||
@import "../../varia/sass/base/editor";
|
||||
|
||||
/**
|
||||
* Elements
|
||||
* - Styles for basic HTML elemants
|
||||
*/
|
||||
@import "../../varia/sass/elements/editor";
|
||||
|
||||
/**
|
||||
* Blocks
|
||||
* - These styles replace key Gutenberg Block styles for fonts, colors, and
|
||||
* spacing with CSS-variables overrides
|
||||
*/
|
||||
@import "../../varia/sass/blocks/editor";
|
||||
|
||||
/**
|
||||
* Extras
|
||||
*/
|
||||
.editor-post-title__block .editor-post-title__input {
|
||||
text-align: center;
|
||||
font-size: (strip-unit( map-deep-get($config-heading, "font", "size", "h1") ) + 0em);
|
||||
}
|
90
balasana/sass/style-child-theme.scss
Normal file
90
balasana/sass/style-child-theme.scss
Normal file
|
@ -0,0 +1,90 @@
|
|||
/*
|
||||
Theme Name: Balasana
|
||||
Theme URI: https://github.com/Automattic/themes/master/balasana
|
||||
Author: Automattic
|
||||
Author URI: https://automattic.com/
|
||||
Description: Balasana is a clean and minimalist business theme designed with health and wellness-focused sites in mind.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.0.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
Text Domain: balasana
|
||||
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
|
||||
|
||||
This theme, like WordPress, is licensed under the GPL.
|
||||
Use it to make something cool, have fun, and share what you've learned with others.
|
||||
|
||||
Varia is based on Underscores https://underscores.me/, (C) 2012-2019 Automattic, Inc.
|
||||
Underscores is distributed under the terms of the GNU GPL v2 or later.
|
||||
|
||||
Normalizing styles have been helped along thanks to the fine work of
|
||||
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
|
||||
*/
|
||||
|
||||
/**
|
||||
* Abstracts
|
||||
* - Mixins, variables and functions
|
||||
*/
|
||||
@import "../../varia/sass/abstracts/imports";
|
||||
|
||||
/**
|
||||
* Child Theme Deep
|
||||
*/
|
||||
@import "config-child-theme-deep";
|
||||
|
||||
/**
|
||||
* Base
|
||||
* - Reset the browser
|
||||
*/
|
||||
@import "../../varia/sass/base/imports";
|
||||
|
||||
/**
|
||||
* Layout
|
||||
* - Structral and responsive styles
|
||||
*/
|
||||
@import "../../varia/sass/layout/imports";
|
||||
|
||||
/**
|
||||
* Elements
|
||||
* - Styles for basic HTML elemants
|
||||
*/
|
||||
@import "../../varia/sass/elements/imports";
|
||||
|
||||
/**
|
||||
* Blocks
|
||||
* - These styles replace key Gutenberg Block styles for fonts, colors, and
|
||||
* spacing with CSS-variables overrides
|
||||
* - In the future the Block styles may get compiled to individual .css
|
||||
* files and conditionally loaded
|
||||
*/
|
||||
@import "../../varia/sass/blocks/imports";
|
||||
|
||||
/**
|
||||
* Components
|
||||
* - Similar to Blocks but exist outside of the "current" editor context
|
||||
*/
|
||||
@import "../../varia/sass/components/imports";
|
||||
|
||||
/**
|
||||
* Site Pages
|
||||
* - Page specific styles
|
||||
*/
|
||||
@import "../../varia/sass/pages/imports";
|
||||
|
||||
/**
|
||||
* Responsive Logic
|
||||
* - Loading this last to respect cascaing rules
|
||||
*/
|
||||
@import "../../varia/sass/abstracts/responsive-logic";
|
||||
|
||||
/**
|
||||
* Vendors
|
||||
* - Styles for 3rd party plugins and WP extensions
|
||||
*/
|
||||
@import "../../varia/sass/vendors/imports";
|
||||
|
||||
/**
|
||||
* Child Theme Extra Styles
|
||||
*/
|
||||
@import "extra-child-theme";
|
BIN
balasana/screenshot.png
Normal file
BIN
balasana/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 741 KiB |
890
balasana/style-editor.css
Normal file
890
balasana/style-editor.css
Normal file
|
@ -0,0 +1,890 @@
|
|||
/**
|
||||
* These styles should be loaded by the Block Editor only
|
||||
*/
|
||||
/**
|
||||
* Abstracts
|
||||
* - Mixins, variables and functions
|
||||
*/
|
||||
/**
|
||||
* Abstracts
|
||||
* - Mixins, variables and functions
|
||||
*/
|
||||
/* Sass Functions go here */
|
||||
/**
|
||||
* Map deep get
|
||||
* @author Hugo Giraudel
|
||||
* @access public
|
||||
* @param {Map} $map - Map
|
||||
* @param {Arglist} $keys - Key chain
|
||||
* @return {*} - Desired value
|
||||
*
|
||||
* Example:
|
||||
* $m-breakpoint: map-deep-get($__prefix-default-config, "layouts", "M");
|
||||
*/
|
||||
/**
|
||||
* Deep set function to set a value in nested maps
|
||||
* @author Hugo Giraudel
|
||||
* @access public
|
||||
* @param {Map} $map - Map
|
||||
* @param {List} $keys - Key chaine
|
||||
* @param {*} $value - Value to assign
|
||||
* @return {Map}
|
||||
*
|
||||
* Example:
|
||||
* $__prefix-default-config: map-deep-set($__prefix-default-config, "layouts" "M", 650px);
|
||||
*/
|
||||
/**
|
||||
* jQuery-style extend function
|
||||
* - Child themes can use this function to `reset` the values in
|
||||
* config maps without editing the `master` Sass files.
|
||||
* - src: https://www.sitepoint.com/extra-map-functions-sass/
|
||||
* - About `map-merge()`:
|
||||
* - - only takes 2 arguments
|
||||
* - - is not recursive
|
||||
* @param {Map} $map - first map
|
||||
* @param {ArgList} $maps - other maps
|
||||
* @param {Bool} $deep - recursive mode
|
||||
* @return {Map}
|
||||
*
|
||||
* Examples:
|
||||
|
||||
$grid-configuration-default: (
|
||||
'columns': 12,
|
||||
'layouts': (
|
||||
'small': 800px,
|
||||
'medium': 1000px,
|
||||
'large': 1200px,
|
||||
),
|
||||
);
|
||||
|
||||
$grid-configuration-custom: (
|
||||
'layouts': (
|
||||
'large': 1300px,
|
||||
'huge': 1500px
|
||||
),
|
||||
);
|
||||
|
||||
$grid-configuration-user: (
|
||||
'direction': 'ltr',
|
||||
'columns': 16,
|
||||
'layouts': (
|
||||
'large': 1300px,
|
||||
'huge': 1500px
|
||||
),
|
||||
);
|
||||
|
||||
// $deep: false
|
||||
$grid-configuration: map-extend($grid-configuration-default, $grid-configuration-custom, $grid-configuration-user);
|
||||
// --> ("columns": 16, "layouts": (("large": 1300px, "huge": 1500px)), "direction": "ltr")
|
||||
|
||||
// $deep: true
|
||||
$grid-configuration: map-extend($grid-configuration-default, $grid-configuration-custom, $grid-configuration-user, true);
|
||||
// --> ("columns": 16, "layouts": (("small": 800px, "medium": 1000px, "large": 1300px, "huge": 1500px)), "direction": "ltr")
|
||||
|
||||
*/
|
||||
/**
|
||||
* Button
|
||||
*/
|
||||
/**
|
||||
* Cover
|
||||
*/
|
||||
/**
|
||||
* Heading
|
||||
*/
|
||||
/**
|
||||
* List
|
||||
*/
|
||||
/**
|
||||
* Pullquote
|
||||
*/
|
||||
/**
|
||||
* Quote
|
||||
*/
|
||||
/**
|
||||
* Separator
|
||||
*/
|
||||
/**
|
||||
* Responsive breakpoints
|
||||
* - breakpoints values are defined in _config-global.scss
|
||||
*/
|
||||
/**
|
||||
* Align wide widths
|
||||
* - Sets .alignwide widths
|
||||
*/
|
||||
/**
|
||||
* Crop Text Boundry
|
||||
* - Sets a fixed-width on content within alignwide and alignfull blocks
|
||||
*/
|
||||
/**
|
||||
* Child Theme Name
|
||||
*/
|
||||
/**
|
||||
* Redefine Sass map values for child theme output.
|
||||
* - See: style-child-theme.scss
|
||||
*/
|
||||
/**
|
||||
* Global
|
||||
*/
|
||||
/**
|
||||
* Elements
|
||||
*/
|
||||
/**
|
||||
* Button
|
||||
*/
|
||||
/**
|
||||
* Cover
|
||||
*/
|
||||
/**
|
||||
* Heading
|
||||
*/
|
||||
/**
|
||||
* List
|
||||
*/
|
||||
/**
|
||||
* Pullquote
|
||||
*/
|
||||
/**
|
||||
* Quote
|
||||
*/
|
||||
/**
|
||||
* Separator
|
||||
*/
|
||||
/**
|
||||
* Header
|
||||
*/
|
||||
/**
|
||||
* Footer
|
||||
*/
|
||||
/**
|
||||
* Base
|
||||
* - Reset the browser
|
||||
*/
|
||||
body {
|
||||
color: #303030;
|
||||
background-color: white;
|
||||
font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 20px;
|
||||
font-weight: normal;
|
||||
line-height: 1.6;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
.editor-post-title__block {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1em;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #19744C;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #145f3e;
|
||||
}
|
||||
|
||||
button,
|
||||
a {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Elements
|
||||
* - Styles for basic HTML elemants
|
||||
*/
|
||||
/**
|
||||
* Elements
|
||||
* - Styles for basic HTML elemants
|
||||
*/
|
||||
blockquote {
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
blockquote p {
|
||||
font-size: 1.728rem;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
blockquote cite,
|
||||
blockquote footer {
|
||||
font-size: 0.83333rem;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
|
||||
blockquote > * {
|
||||
margin-top: 16px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
blockquote > *:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
blockquote > *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
blockquote.alignleft, blockquote.alignright {
|
||||
padding-left: inherit;
|
||||
}
|
||||
|
||||
blockquote.alignleft p, blockquote.alignright p {
|
||||
font-size: 1.44rem;
|
||||
max-width: inherit;
|
||||
width: inherit;
|
||||
}
|
||||
|
||||
blockquote.alignleft cite,
|
||||
blockquote.alignleft footer, blockquote.alignright cite,
|
||||
blockquote.alignright footer {
|
||||
font-size: 0.69444rem;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
color: #505050;
|
||||
font-size: 0.69444rem;
|
||||
margin-top: calc(0.5 * 16px);
|
||||
margin-bottom: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.alignleft figcaption,
|
||||
.alignright figcaption {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* WP Smiley */
|
||||
.page-content .wp-smiley,
|
||||
.entry-content .wp-smiley,
|
||||
.comment-content .wp-smiley {
|
||||
border: none;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Make sure embeds and iframes fit their containers. */
|
||||
embed,
|
||||
iframe,
|
||||
object {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Blocks
|
||||
* - These styles replace key Gutenberg Block styles for fonts, colors, and
|
||||
* spacing with CSS-variables overrides
|
||||
*/
|
||||
/**
|
||||
* Block Styles for the Editor
|
||||
*
|
||||
* - These styles replace key Gutenberg Block styles for fonts, colors, and
|
||||
* spacing with CSS-variables overrides in the Block Editor
|
||||
* - In the future the Block styles may get compiled to individual .css
|
||||
* files and conditionally loaded
|
||||
*/
|
||||
.wp-block-button {
|
||||
/* Default Style */
|
||||
/* Outline Style */
|
||||
/* Squared Style */
|
||||
}
|
||||
|
||||
.wp-block-button .wp-block-button__link {
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 0.83333em;
|
||||
line-height: 1;
|
||||
background-color: #19744C;
|
||||
border-radius: 4px;
|
||||
padding: 16px 16px;
|
||||
}
|
||||
|
||||
.wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus, .wp-block-button .wp-block-button__link.has-focus {
|
||||
color: white;
|
||||
background-color: #145f3e;
|
||||
}
|
||||
|
||||
.wp-block-button.is-style-outline .wp-block-button__link {
|
||||
color: #19744C;
|
||||
background: transparent;
|
||||
border: 2px solid currentcolor;
|
||||
}
|
||||
|
||||
.wp-block-button.is-style-outline .wp-block-button__link:hover, .wp-block-button.is-style-outline .wp-block-button__link:focus, .wp-block-button.is-style-outline .wp-block-button__link.has-focus {
|
||||
color: #145f3e;
|
||||
}
|
||||
|
||||
.wp-block-button.is-style-squared .wp-block-button__link {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.wp-block-cover,
|
||||
.wp-block-cover-image {
|
||||
background-color: black;
|
||||
color: white;
|
||||
min-height: 576px;
|
||||
/* Treating H2 separately to account for legacy /core styles */
|
||||
}
|
||||
|
||||
.wp-block-cover .wp-block-cover__inner-container,
|
||||
.wp-block-cover .wp-block-cover-image-text,
|
||||
.wp-block-cover .wp-block-cover-text,
|
||||
.wp-block-cover .block-editor-block-list__block,
|
||||
.wp-block-cover-image .wp-block-cover__inner-container,
|
||||
.wp-block-cover-image .wp-block-cover-image-text,
|
||||
.wp-block-cover-image .wp-block-cover-text,
|
||||
.wp-block-cover-image .block-editor-block-list__block {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.wp-block-cover .wp-block-cover__inner-container a,
|
||||
.wp-block-cover .wp-block-cover-image-text a,
|
||||
.wp-block-cover .wp-block-cover-text a,
|
||||
.wp-block-cover .block-editor-block-list__block a,
|
||||
.wp-block-cover-image .wp-block-cover__inner-container a,
|
||||
.wp-block-cover-image .wp-block-cover-image-text a,
|
||||
.wp-block-cover-image .wp-block-cover-text a,
|
||||
.wp-block-cover-image .block-editor-block-list__block a {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.wp-block-cover h2,
|
||||
.wp-block-cover-image h2 {
|
||||
font-size: 2.48832em;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
padding: 0;
|
||||
max-width: inherit;
|
||||
text-align: inherit;
|
||||
}
|
||||
|
||||
.wp-block-cover h2.has-text-align-left,
|
||||
.wp-block-cover-image h2.has-text-align-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.wp-block-cover h2.has-text-align-center,
|
||||
.wp-block-cover-image h2.has-text-align-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wp-block-cover h2.has-text-align-right,
|
||||
.wp-block-cover-image h2.has-text-align-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.wp-block-heading h1, h1, .h1,
|
||||
.wp-block-heading h2, h2, .h2,
|
||||
.wp-block-heading h3, h3, .h3,
|
||||
.wp-block-heading h4, h4, .h4,
|
||||
.wp-block-heading h5, h5, .h5,
|
||||
.wp-block-heading h6, h6, .h6 {
|
||||
font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-weight: 700;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.wp-block-heading h1, h1, .h1 {
|
||||
font-size: 2.98598em;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-heading h2, h2, .h2 {
|
||||
font-size: 2.48832em;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-heading h3, h3, .h3 {
|
||||
font-size: 2.0736em;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-heading h4, h4, .h4 {
|
||||
font-size: 1.728em;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-heading h5, h5, .h5 {
|
||||
font-size: 1.44em;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-heading h6, h6, .h6 {
|
||||
font-size: 1.2em;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-gallery figcaption {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-posts {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-posts > li > a {
|
||||
font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 1.728rem;
|
||||
font-weight: 700;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-latest-posts:not(.is-grid) > li {
|
||||
/* Vertical margins logic */
|
||||
margin-top: 32px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.wp-block-latest-posts:not(.is-grid) > li:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-posts:not(.is-grid) > li:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-posts .wp-block-latest-posts__post-date {
|
||||
color: #505050;
|
||||
font-size: 0.83333rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
[class*="inner-container"] .wp-block-latest-posts .wp-block-latest-posts__post-date,
|
||||
.has-background .wp-block-latest-posts .wp-block-latest-posts__post-date {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.wp-block-latest-posts .wp-block-latest-posts__post-excerpt,
|
||||
.wp-block-latest-posts .wp-block-latest-posts__post-full-content {
|
||||
font-size: 0.83333rem;
|
||||
line-height: 1.6;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.wp-block-media-text .block-editor-inner-blocks {
|
||||
padding-right: 16px;
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.wp-block-media-text .block-editor-inner-blocks {
|
||||
padding-right: 32px;
|
||||
padding-left: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
.wp-block-media-text .block-editor-inner-blocks[style*="background-color"]:not(.has-background-background-color) a {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.a8c-posts-list {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
p.has-background {
|
||||
padding: 16px 16px;
|
||||
}
|
||||
|
||||
p.has-background:not(.has-background-background-color) a {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.wp-block-pullquote {
|
||||
padding: calc( 3 * 16px) 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
text-align: center;
|
||||
border-top-color: #D0D0D0;
|
||||
border-top-width: 4px;
|
||||
border-bottom-color: #D0D0D0;
|
||||
border-bottom-width: 4px;
|
||||
color: #303030;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
}
|
||||
|
||||
.wp-block-pullquote blockquote {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.wp-block-pullquote p {
|
||||
font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 1.728em;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-pullquote a {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.wp-block-pullquote .wp-block-pullquote__citation,
|
||||
.wp-block-pullquote cite,
|
||||
.wp-block-pullquote footer {
|
||||
color: #505050;
|
||||
font-size: 0.83333em;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
|
||||
.wp-block-pullquote:not(.is-style-solid-color) {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.is-style-solid-color {
|
||||
background-color: #19744C;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.is-style-solid-color.alignleft blockquote,
|
||||
.wp-block-pullquote.is-style-solid-color.alignright blockquote {
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.is-style-solid-color blockquote {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation,
|
||||
.wp-block-pullquote.is-style-solid-color cite,
|
||||
.wp-block-pullquote.is-style-solid-color footer {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.alignwide > p,
|
||||
.wp-block-pullquote.alignfull > p,
|
||||
.wp-block-pullquote.alignwide blockquote,
|
||||
.wp-block-pullquote.alignfull blockquote {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.wp-block-quote {
|
||||
border-left-color: #19744C;
|
||||
margin: 32px 0;
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
.wp-block-quote p {
|
||||
font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 1.728em;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
|
||||
.wp-block-quote.is-large, .wp-block-quote.is-style-large {
|
||||
border: none;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.wp-block-quote.is-large p, .wp-block-quote.is-style-large p {
|
||||
font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 2.0736em;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-separator,
|
||||
hr {
|
||||
border-bottom: 2px solid #D0D0D0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.wp-block-separator[style*="text-align:right"], .wp-block-separator[style*="text-align: right"],
|
||||
hr[style*="text-align:right"],
|
||||
hr[style*="text-align: right"] {
|
||||
border-right-color: #D0D0D0;
|
||||
}
|
||||
|
||||
.wp-block-separator.is-style-wide,
|
||||
hr.is-style-wide {
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
.wp-block-separator.is-style-dots,
|
||||
hr.is-style-dots {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.wp-block-separator.is-style-dots:before,
|
||||
hr.is-style-dots:before {
|
||||
color: #D0D0D0;
|
||||
}
|
||||
|
||||
table th,
|
||||
.wp-block-table th {
|
||||
font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
table td,
|
||||
table th,
|
||||
.wp-block-table td,
|
||||
.wp-block-table th {
|
||||
padding: calc( 0.5 * 16px);
|
||||
}
|
||||
|
||||
/**
|
||||
* Editor Post Title
|
||||
* - Needs a special styles
|
||||
*/
|
||||
.editor-post-title__block .editor-post-title__input {
|
||||
color: #303030;
|
||||
font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 2.48832em;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.has-primary-color[class] {
|
||||
color: #19744C !important;
|
||||
}
|
||||
|
||||
.has-secondary-color[class] {
|
||||
color: #BC2213 !important;
|
||||
}
|
||||
|
||||
.has-foreground-color[class] {
|
||||
color: #303030 !important;
|
||||
}
|
||||
|
||||
.has-foreground-light-color[class] {
|
||||
color: #505050 !important;
|
||||
}
|
||||
|
||||
.has-foreground-dark-color[class] {
|
||||
color: #101010 !important;
|
||||
}
|
||||
|
||||
.has-background-light-color[class] {
|
||||
color: #F0F0F0 !important;
|
||||
}
|
||||
|
||||
.has-background-dark-color[class] {
|
||||
color: #D0D0D0 !important;
|
||||
}
|
||||
|
||||
.has-background-color[class] {
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.has-background:not(.has-background-background-color) a,
|
||||
.has-background p, .has-background h1, .has-background h2, .has-background h3, .has-background h4, .has-background h5, .has-background h6,
|
||||
.has-background .wp-block-quote__citation {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.has-primary-background-color[class] {
|
||||
background-color: #19744C !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.has-primary-background-color[class] {
|
||||
background-color: #19744C !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.has-secondary-background-color[class] {
|
||||
background-color: #BC2213 !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.has-foreground-background-color[class] {
|
||||
background-color: #303030 !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.has-foreground-light-background-color[class] {
|
||||
background-color: #505050 !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.has-foreground-dark-background-color[class] {
|
||||
background-color: #101010 !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.has-background-light-background-color[class] {
|
||||
background-color: #F0F0F0 !important;
|
||||
color: #303030;
|
||||
}
|
||||
|
||||
.has-background-dark-background-color[class] {
|
||||
background-color: #D0D0D0 !important;
|
||||
color: #303030;
|
||||
}
|
||||
|
||||
.has-background-background-color[class] {
|
||||
background-color: white !important;
|
||||
color: #303030;
|
||||
}
|
||||
|
||||
.is-small-text,
|
||||
.has-small-font-size {
|
||||
font-size: 0.83333em;
|
||||
}
|
||||
|
||||
.is-regular-text,
|
||||
.has-regular-font-size,
|
||||
.has-normal-font-size,
|
||||
.has-medium-font-size {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.is-large-text,
|
||||
.has-large-font-size {
|
||||
font-size: 1.44em;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.is-larger-text,
|
||||
.has-larger-font-size,
|
||||
.has-huge-font-size {
|
||||
font-size: 1.728em;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.has-drop-cap:not(:focus)::first-letter {
|
||||
font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: calc(2 * 2.98598em);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/**
|
||||
* Spacing Overrides
|
||||
*/
|
||||
/*
|
||||
* Margins
|
||||
*/
|
||||
.margin-top-none {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.margin-top-half {
|
||||
margin-top: 16px !important;
|
||||
}
|
||||
|
||||
.margin-top-default {
|
||||
margin-top: 32px !important;
|
||||
}
|
||||
|
||||
.margin-right-none {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.margin-bottom-half {
|
||||
margin-bottom: 16px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-default {
|
||||
margin-bottom: 32px !important;
|
||||
}
|
||||
|
||||
.margin-left-none {
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
* Padding
|
||||
*/
|
||||
.padding-top-none {
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
|
||||
.padding-top-half {
|
||||
padding-top: 16px !important;
|
||||
}
|
||||
|
||||
.padding-top-default {
|
||||
padding-top: 32px !important;
|
||||
}
|
||||
|
||||
.padding-right-none {
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.padding-bottom-half {
|
||||
padding-bottom: 16px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-default {
|
||||
padding-bottom: 32px !important;
|
||||
}
|
||||
|
||||
.padding-left-none {
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extras
|
||||
*/
|
||||
.editor-post-title__block .editor-post-title__input {
|
||||
text-align: center;
|
||||
font-size: 2.98598em;
|
||||
}
|
3899
balasana/style-rtl.css
Normal file
3899
balasana/style-rtl.css
Normal file
File diff suppressed because it is too large
Load diff
3928
balasana/style.css
Normal file
3928
balasana/style.css
Normal file
File diff suppressed because it is too large
Load diff
2
brompton/package-lock.json
generated
2
brompton/package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "brompton",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "brompton",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Brompton",
|
||||
"bugs": {
|
||||
"url": "https://github.com/Automattic/themes/issues"
|
||||
|
|
|
@ -5,7 +5,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: Running a business is no small task. But with the right tools and support, creating a website doesn’t have to be another chore on your to-do list: enter Brompton, a simple yet powerful theme for small-business owners and entrepreneurs.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
|
|
@ -783,15 +783,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -807,15 +810,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -834,15 +840,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -858,15 +867,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: Running a business is no small task. But with the right tools and support, creating a website doesn’t have to be another chore on your to-do list: enter Brompton, a simple yet powerful theme for small-business owners and entrepreneurs.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -1896,15 +1896,14 @@ p.has-background {
|
|||
}
|
||||
|
||||
hr {
|
||||
border-bottom-color: #B9B6B2;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom: 2px solid #B9B6B2;
|
||||
clear: both;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator {
|
||||
border-bottom-color: #B9B6B2;
|
||||
border-bottom: 2px solid #B9B6B2;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
|
@ -1914,11 +1913,6 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
|||
max-width: 96px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-wide {
|
||||
border-bottom-color: #B9B6B2;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-dots:before {
|
||||
color: #B9B6B2;
|
||||
font-size: 1.728rem;
|
||||
|
@ -2022,10 +2016,6 @@ table th,
|
|||
/**
|
||||
* .aligndefault
|
||||
*/
|
||||
.entry-content [class*="inner-container"] {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* .alignwide
|
||||
*/
|
||||
|
@ -2202,15 +2192,15 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -2226,15 +2216,15 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2253,15 +2243,15 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -2277,15 +2267,15 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: Running a business is no small task. But with the right tools and support, creating a website doesn’t have to be another chore on your to-do list: enter Brompton, a simple yet powerful theme for small-business owners and entrepreneurs.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -1896,15 +1896,14 @@ p.has-background {
|
|||
}
|
||||
|
||||
hr {
|
||||
border-bottom-color: #B9B6B2;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom: 2px solid #B9B6B2;
|
||||
clear: both;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator {
|
||||
border-bottom-color: #B9B6B2;
|
||||
border-bottom: 2px solid #B9B6B2;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
|
@ -1914,11 +1913,6 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
|||
max-width: 96px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-wide {
|
||||
border-bottom-color: #B9B6B2;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-dots:before {
|
||||
color: #B9B6B2;
|
||||
font-size: 1.728rem;
|
||||
|
@ -2027,10 +2021,6 @@ table th,
|
|||
/**
|
||||
* .aligndefault
|
||||
*/
|
||||
.entry-content [class*="inner-container"] {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* .alignwide
|
||||
*/
|
||||
|
@ -2207,15 +2197,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -2231,15 +2224,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2258,15 +2254,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -2282,15 +2281,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
2
coutoire/package-lock.json
generated
2
coutoire/package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coutoire",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coutoire",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Coutoire",
|
||||
"bugs": {
|
||||
"url": "https://github.com/Automattic/themes/issues"
|
||||
|
|
|
@ -5,7 +5,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: A design system for WordPress sites built with Gutenberg.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
|
|
@ -782,15 +782,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -806,15 +809,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -833,15 +839,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -857,15 +866,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: A design system for WordPress sites built with Gutenberg.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -1895,15 +1895,14 @@ p.has-background {
|
|||
}
|
||||
|
||||
hr {
|
||||
border-bottom-color: #DDDDDD;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom: 2px solid #DDDDDD;
|
||||
clear: both;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator {
|
||||
border-bottom-color: #DDDDDD;
|
||||
border-bottom: 2px solid #DDDDDD;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
|
@ -1913,11 +1912,6 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
|||
max-width: 96px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-wide {
|
||||
border-bottom-color: #DDDDDD;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-dots:before {
|
||||
color: #DDDDDD;
|
||||
font-size: 1.728rem;
|
||||
|
@ -2021,10 +2015,6 @@ table th,
|
|||
/**
|
||||
* .aligndefault
|
||||
*/
|
||||
.entry-content [class*="inner-container"] {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* .alignwide
|
||||
*/
|
||||
|
@ -2201,15 +2191,15 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -2225,15 +2215,15 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2252,15 +2242,15 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -2276,15 +2266,15 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: A design system for WordPress sites built with Gutenberg.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -1895,15 +1895,14 @@ p.has-background {
|
|||
}
|
||||
|
||||
hr {
|
||||
border-bottom-color: #DDDDDD;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom: 2px solid #DDDDDD;
|
||||
clear: both;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator {
|
||||
border-bottom-color: #DDDDDD;
|
||||
border-bottom: 2px solid #DDDDDD;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
|
@ -1913,11 +1912,6 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
|||
max-width: 96px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-wide {
|
||||
border-bottom-color: #DDDDDD;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-dots:before {
|
||||
color: #DDDDDD;
|
||||
font-size: 1.728rem;
|
||||
|
@ -2026,10 +2020,6 @@ table th,
|
|||
/**
|
||||
* .aligndefault
|
||||
*/
|
||||
.entry-content [class*="inner-container"] {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* .alignwide
|
||||
*/
|
||||
|
@ -2206,15 +2196,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -2230,15 +2223,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2257,15 +2253,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -2281,15 +2280,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
2
exford/package-lock.json
generated
2
exford/package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "exford",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "exford",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Exford",
|
||||
"bugs": {
|
||||
"url": "https://github.com/Automattic/themes/issues"
|
||||
|
|
|
@ -5,7 +5,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: Make your online presence as striking and stylish as your business with Exford.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
|
|
@ -783,15 +783,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -807,15 +810,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -834,15 +840,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -858,15 +867,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: Make your online presence as striking and stylish as your business with Exford.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -1896,25 +1896,19 @@ p.has-background {
|
|||
}
|
||||
|
||||
hr {
|
||||
border-bottom-color: #CCCCCC;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom: 2px solid #CCCCCC;
|
||||
clear: both;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator {
|
||||
border-bottom-color: #CCCCCC;
|
||||
border-bottom: 2px solid #CCCCCC;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-wide {
|
||||
border-bottom-color: #CCCCCC;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-dots:before {
|
||||
color: #CCCCCC;
|
||||
font-size: 1.728rem;
|
||||
|
@ -2018,10 +2012,6 @@ table th,
|
|||
/**
|
||||
* .aligndefault
|
||||
*/
|
||||
.entry-content [class*="inner-container"] {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* .alignwide
|
||||
*/
|
||||
|
@ -2198,15 +2188,15 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -2222,15 +2212,15 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2249,15 +2239,15 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -2273,15 +2263,15 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: Make your online presence as striking and stylish as your business with Exford.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -1896,25 +1896,19 @@ p.has-background {
|
|||
}
|
||||
|
||||
hr {
|
||||
border-bottom-color: #CCCCCC;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom: 2px solid #CCCCCC;
|
||||
clear: both;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator {
|
||||
border-bottom-color: #CCCCCC;
|
||||
border-bottom: 2px solid #CCCCCC;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-wide {
|
||||
border-bottom-color: #CCCCCC;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-dots:before {
|
||||
color: #CCCCCC;
|
||||
font-size: 1.728rem;
|
||||
|
@ -2023,10 +2017,6 @@ table th,
|
|||
/**
|
||||
* .aligndefault
|
||||
*/
|
||||
.entry-content [class*="inner-container"] {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* .alignwide
|
||||
*/
|
||||
|
@ -2203,15 +2193,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -2227,15 +2220,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2254,15 +2250,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -2278,15 +2277,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
2
hever/package-lock.json
generated
2
hever/package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hever",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hever",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Hever",
|
||||
"bugs": {
|
||||
"url": "https://github.com/Automattic/themes/issues"
|
||||
|
|
|
@ -5,7 +5,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: A fully responsive theme, ideal for creating a strong — yet beautiful — online presence for your business.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
|
|
@ -783,15 +783,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -807,15 +810,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -834,15 +840,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -858,15 +867,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: A fully responsive theme, ideal for creating a strong — yet beautiful — online presence for your business.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -1896,15 +1896,14 @@ p.has-background {
|
|||
}
|
||||
|
||||
hr {
|
||||
border-bottom-color: #C5C5C5;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom: 2px solid #C5C5C5;
|
||||
clear: both;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator {
|
||||
border-bottom-color: #C5C5C5;
|
||||
border-bottom: 2px solid #C5C5C5;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
|
@ -1914,11 +1913,6 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
|||
max-width: 96px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-wide {
|
||||
border-bottom-color: #C5C5C5;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-dots:before {
|
||||
color: #C5C5C5;
|
||||
font-size: 1.52087rem;
|
||||
|
@ -2022,10 +2016,6 @@ table th,
|
|||
/**
|
||||
* .aligndefault
|
||||
*/
|
||||
.entry-content [class*="inner-container"] {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* .alignwide
|
||||
*/
|
||||
|
@ -2202,15 +2192,15 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -2226,15 +2216,15 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2253,15 +2243,15 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -2277,15 +2267,15 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: A fully responsive theme, ideal for creating a strong — yet beautiful — online presence for your business.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -1896,15 +1896,14 @@ p.has-background {
|
|||
}
|
||||
|
||||
hr {
|
||||
border-bottom-color: #C5C5C5;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom: 2px solid #C5C5C5;
|
||||
clear: both;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator {
|
||||
border-bottom-color: #C5C5C5;
|
||||
border-bottom: 2px solid #C5C5C5;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
|
@ -1914,11 +1913,6 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
|||
max-width: 96px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-wide {
|
||||
border-bottom-color: #C5C5C5;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-dots:before {
|
||||
color: #C5C5C5;
|
||||
font-size: 1.52087rem;
|
||||
|
@ -2027,10 +2021,6 @@ table th,
|
|||
/**
|
||||
* .aligndefault
|
||||
*/
|
||||
.entry-content [class*="inner-container"] {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* .alignwide
|
||||
*/
|
||||
|
@ -2207,15 +2197,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -2231,15 +2224,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2258,15 +2254,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -2282,15 +2281,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
2
leven/package-lock.json
generated
2
leven/package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "leven",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "leven",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Leven",
|
||||
"bugs": {
|
||||
"url": "https://github.com/Automattic/themes/issues"
|
||||
|
|
|
@ -5,7 +5,7 @@ Author: the WordPress team
|
|||
Author URI: https://wordpress.org/
|
||||
Description: A colorful, typography driven, Gutenberg-ready theme meant to grab the attention of potential customers and market or sell products to them.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
|
|
@ -783,15 +783,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -807,15 +810,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -834,15 +840,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -858,15 +867,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@ Author: the WordPress team
|
|||
Author URI: https://wordpress.org/
|
||||
Description: A colorful, typography driven, Gutenberg-ready theme meant to grab the attention of potential customers and market or sell products to them.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -1896,15 +1896,14 @@ p.has-background {
|
|||
}
|
||||
|
||||
hr {
|
||||
border-bottom-color: #DDDDDD;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom: 2px solid #DDDDDD;
|
||||
clear: both;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator {
|
||||
border-bottom-color: #DDDDDD;
|
||||
border-bottom: 2px solid #DDDDDD;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
|
@ -1914,11 +1913,6 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
|||
max-width: 96px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-wide {
|
||||
border-bottom-color: #DDDDDD;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-dots:before {
|
||||
color: #DDDDDD;
|
||||
font-size: 1.78256rem;
|
||||
|
@ -2022,10 +2016,6 @@ table th,
|
|||
/**
|
||||
* .aligndefault
|
||||
*/
|
||||
.entry-content [class*="inner-container"] {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* .alignwide
|
||||
*/
|
||||
|
@ -2202,15 +2192,15 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -2226,15 +2216,15 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2253,15 +2243,15 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -2277,15 +2267,15 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@ Author: the WordPress team
|
|||
Author URI: https://wordpress.org/
|
||||
Description: A colorful, typography driven, Gutenberg-ready theme meant to grab the attention of potential customers and market or sell products to them.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -1896,15 +1896,14 @@ p.has-background {
|
|||
}
|
||||
|
||||
hr {
|
||||
border-bottom-color: #DDDDDD;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom: 2px solid #DDDDDD;
|
||||
clear: both;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator {
|
||||
border-bottom-color: #DDDDDD;
|
||||
border-bottom: 2px solid #DDDDDD;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
|
@ -1914,11 +1913,6 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
|||
max-width: 96px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-wide {
|
||||
border-bottom-color: #DDDDDD;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-dots:before {
|
||||
color: #DDDDDD;
|
||||
font-size: 1.78256rem;
|
||||
|
@ -2027,10 +2021,6 @@ table th,
|
|||
/**
|
||||
* .aligndefault
|
||||
*/
|
||||
.entry-content [class*="inner-container"] {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* .alignwide
|
||||
*/
|
||||
|
@ -2207,15 +2197,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -2231,15 +2224,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2258,15 +2254,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -2282,15 +2281,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
173
mayland/functions.php
Executable file
173
mayland/functions.php
Executable file
|
@ -0,0 +1,173 @@
|
|||
<?php
|
||||
/**
|
||||
* Child Theme Functions and definitions
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/theme-functions/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage mayland
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
if ( ! function_exists( 'mayland_setup' ) ) :
|
||||
/**
|
||||
* Sets up theme defaults and registers support for various WordPress features.
|
||||
*
|
||||
* Note that this function is hooked into the after_setup_theme hook, which
|
||||
* runs before the init hook. The init hook is too late for some features, such
|
||||
* as indicating support for post thumbnails.
|
||||
*/
|
||||
function mayland_setup() {
|
||||
|
||||
// Add child theme editor styles, compiled from `style-child-theme-editor.scss`.
|
||||
add_editor_style( 'style-editor.css' );
|
||||
|
||||
// Add child theme editor font sizes to match Sass-map variables in `_config-child-theme-deep.scss`.
|
||||
add_theme_support(
|
||||
'editor-font-sizes',
|
||||
array(
|
||||
array(
|
||||
'name' => __( 'Small', 'mayland' ),
|
||||
'shortName' => __( 'S', 'mayland' ),
|
||||
'size' => 16.6,
|
||||
'slug' => 'small',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Normal', 'mayland' ),
|
||||
'shortName' => __( 'M', 'mayland' ),
|
||||
'size' => 20,
|
||||
'slug' => 'normal',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Large', 'mayland' ),
|
||||
'shortName' => __( 'L', 'mayland' ),
|
||||
'size' => 28.8,
|
||||
'slug' => 'large',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Huge', 'mayland' ),
|
||||
'shortName' => __( 'XL', 'mayland' ),
|
||||
'size' => 34.56,
|
||||
'slug' => 'huge',
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
// Add child theme editor color pallete to match Sass-map variables in `_config-child-theme-deep.scss`.
|
||||
add_theme_support(
|
||||
'editor-color-palette',
|
||||
array(
|
||||
array(
|
||||
'name' => __( 'Primary', 'mayland' ),
|
||||
'slug' => 'primary',
|
||||
'color' => '#000000',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Secondary', 'mayland' ),
|
||||
'slug' => 'secondary',
|
||||
'color' => '#1a1a1a',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Dark Gray', 'mayland' ),
|
||||
'slug' => 'foreground-dark',
|
||||
'color' => '#333333',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Black', 'mayland' ),
|
||||
'slug' => 'foreground',
|
||||
'color' => '#000000',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Light Gray', 'mayland' ),
|
||||
'slug' => 'foreground-light',
|
||||
'color' => '#666666',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Subtle Gray', 'mayland' ),
|
||||
'slug' => 'background-dark',
|
||||
'color' => '#d9d9d9',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Off White', 'mayland' ),
|
||||
'slug' => 'background-light',
|
||||
'color' => '#F2F2F2',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'White', 'mayland' ),
|
||||
'slug' => 'background',
|
||||
'color' => '#FFFFFF',
|
||||
),
|
||||
)
|
||||
);
|
||||
}
|
||||
endif;
|
||||
add_action( 'after_setup_theme', 'mayland_setup', 12 );
|
||||
|
||||
/**
|
||||
* Filter the content_width in pixels, based on the child-theme's design and stylesheet.
|
||||
*/
|
||||
function mayland_content_width() {
|
||||
return 750;
|
||||
}
|
||||
add_filter( 'varia_content_width', 'mayland_content_width' );
|
||||
|
||||
/**
|
||||
* Add Google webfonts, if necessary
|
||||
*
|
||||
* - See: http://themeshaper.com/2014/08/13/how-to-add-google-fonts-to-wordpress-themes/
|
||||
*/
|
||||
function mayland_fonts_url() {
|
||||
|
||||
$fonts_url = '';
|
||||
|
||||
/* Translators: If there are characters in your language that are not
|
||||
* supported by Poppins, translate this to 'off'. Do not translate
|
||||
* into your own language.
|
||||
*/
|
||||
$poppins = esc_html_x( 'on', 'Poppins font: on or off', 'mayland' );
|
||||
|
||||
if ( 'off' !== $poppins ) {
|
||||
$font_families = array();
|
||||
|
||||
$font_families[] = 'Poppins:400,400i,600,600i';
|
||||
|
||||
$query_args = array(
|
||||
'family' => urlencode( implode( '|', $font_families ) ),
|
||||
'subset' => urlencode( 'latin,latin-ext' ),
|
||||
);
|
||||
|
||||
$fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' );
|
||||
}
|
||||
|
||||
return esc_url_raw( $fonts_url );
|
||||
}
|
||||
|
||||
/**
|
||||
* Enqueue scripts and styles.
|
||||
*/
|
||||
function mayland_scripts() {
|
||||
|
||||
// enqueue Google fonts, if necessary
|
||||
wp_enqueue_style( 'mayland-fonts', mayland_fonts_url(), array(), null );
|
||||
|
||||
// dequeue parent styles
|
||||
wp_dequeue_style( 'varia-style' );
|
||||
|
||||
// enqueue child styles
|
||||
wp_enqueue_style('mayland-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ));
|
||||
|
||||
// enqueue child RTL styles
|
||||
wp_style_add_data( 'mayland-style', 'rtl', 'replace' );
|
||||
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'mayland_scripts', 99 );
|
||||
|
||||
/**
|
||||
* Enqueue theme styles for the block editor.
|
||||
*/
|
||||
function mayland_editor_styles() {
|
||||
|
||||
// Enqueue Google fonts in the editor, if necessary
|
||||
wp_enqueue_style( 'mayland-editor-fonts', mayland_fonts_url(), array(), null );
|
||||
}
|
||||
add_action( 'enqueue_block_editor_assets', 'mayland_editor_styles' );
|
207
mayland/inc/headstart/en.json
Normal file
207
mayland/inc/headstart/en.json
Normal file
File diff suppressed because one or more lines are too long
5115
mayland/package-lock.json
generated
Normal file
5115
mayland/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
44
mayland/package.json
Executable file
44
mayland/package.json
Executable file
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
"name": "mayland",
|
||||
"version": "1.0.0",
|
||||
"description": "mayland",
|
||||
"bugs": {
|
||||
"url": "https://github.com/Automattic/themes/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Automattic/themes/varia#readme",
|
||||
"devDependencies": {
|
||||
"@wordpress/browserslist-config": "^2.2.2",
|
||||
"autoprefixer": "^9.5.1",
|
||||
"chokidar-cli": "^1.2.2",
|
||||
"node-sass": "^4.12.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss-cli": "^6.1.2",
|
||||
"postcss-focus-within": "^3.0.0",
|
||||
"rtlcss": "^2.4.0"
|
||||
},
|
||||
"rtlcssConfig": {
|
||||
"options": {
|
||||
"autoRename": false,
|
||||
"autoRenameStrict": false,
|
||||
"blacklist": {},
|
||||
"clean": true,
|
||||
"greedy": false,
|
||||
"processUrls": false,
|
||||
"stringMap": []
|
||||
},
|
||||
"plugins": [],
|
||||
"map": false
|
||||
},
|
||||
"browserslist": [
|
||||
"extends @wordpress/browserslist-config"
|
||||
],
|
||||
"scripts": {
|
||||
"start": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
|
||||
"build:style": "node-sass sass/style-child-theme.scss style.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r style.css",
|
||||
"build:style-editor": "node-sass sass/style-child-theme-editor.scss style-editor.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r style-editor.css",
|
||||
"build:rtl": "rtlcss style.css style-rtl.css",
|
||||
"build:print": "node-sass sass/print.scss print.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r print.css",
|
||||
"build": "run-p \"build:*\"",
|
||||
"watch": "chokidar \"**/*.scss\" -c \"npm run build\" --initial"
|
||||
}
|
||||
}
|
13
mayland/postcss.config.js
Executable file
13
mayland/postcss.config.js
Executable file
|
@ -0,0 +1,13 @@
|
|||
var postcssFocusWithin = require('postcss-focus-within');
|
||||
|
||||
module.exports = {
|
||||
plugins: {
|
||||
autoprefixer: {}
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
postcssFocusWithin(/* pluginOptions */)
|
||||
]
|
||||
};
|
162
mayland/print.css
Normal file
162
mayland/print.css
Normal file
|
@ -0,0 +1,162 @@
|
|||
/*
|
||||
Theme Name: mayland
|
||||
|
||||
Adding print support. The print styles are based on the the great work of
|
||||
Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272/.
|
||||
*/
|
||||
/*--------------------------------------------------------------
|
||||
>>> TABLE OF CONTENTS:
|
||||
----------------------------------------------------------------
|
||||
# Margins
|
||||
# Typography
|
||||
# Page breaks
|
||||
# Links
|
||||
# Visibility
|
||||
--------------------------------------------------------------*/
|
||||
@media print {
|
||||
/* Margins */
|
||||
@page {
|
||||
margin: 2cm;
|
||||
}
|
||||
.entry {
|
||||
margin-top: 1em;
|
||||
}
|
||||
.entry .entry-header, .site-footer .site-info {
|
||||
margin: 0;
|
||||
}
|
||||
/* Fonts */
|
||||
body {
|
||||
font: 13pt Georgia, "Times New Roman", Times, serif;
|
||||
line-height: 1.3;
|
||||
background: #fff !important;
|
||||
color: #000;
|
||||
}
|
||||
h1 {
|
||||
font-size: 24pt;
|
||||
}
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
.has-regular-font-size,
|
||||
.has-large-font-size,
|
||||
h2.author-title,
|
||||
p.author-bio,
|
||||
.comments-title, h3 {
|
||||
font-size: 14pt;
|
||||
margin-top: 25px;
|
||||
}
|
||||
/* Page breaks */
|
||||
a {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
blockquote {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
page-break-after: avoid;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
img {
|
||||
page-break-inside: avoid;
|
||||
page-break-after: avoid;
|
||||
}
|
||||
table, pre {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
ul, ol, dl {
|
||||
page-break-before: avoid;
|
||||
}
|
||||
/* Links */
|
||||
a:link, a:visited, a {
|
||||
background: transparent;
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
text-align: left;
|
||||
}
|
||||
a {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
a[href^=http]:after {
|
||||
content: " < " attr(href) "> ";
|
||||
}
|
||||
a:after > img {
|
||||
content: "";
|
||||
}
|
||||
article a[href^="#"]:after {
|
||||
content: "";
|
||||
}
|
||||
a:not(:local-link):after {
|
||||
content: " < " attr(href) "> ";
|
||||
}
|
||||
/* Visibility */
|
||||
.main-navigation,
|
||||
.site-title + .main-navigation,
|
||||
.social-navigation,
|
||||
.site-branding-container:before,
|
||||
.entry .entry-title:before,
|
||||
.entry-footer,
|
||||
.author-description:before,
|
||||
.post-navigation,
|
||||
.widget-area,
|
||||
.comment-form-flex,
|
||||
.comment-reply,
|
||||
.comment .comment-metadata .edit-link {
|
||||
display: none;
|
||||
}
|
||||
.entry .entry-content .wp-block-button .wp-block-button__link,
|
||||
.entry .entry-content .button {
|
||||
color: #000;
|
||||
background: none;
|
||||
}
|
||||
/* Site Header (With Featured Image) */
|
||||
.site-header.featured-image {
|
||||
min-height: 0;
|
||||
}
|
||||
.site-header.featured-image .main-navigation a,
|
||||
.site-header.featured-image .main-navigation a + svg,
|
||||
.site-header.featured-image .social-navigation a,
|
||||
.site-header.featured-image .site-title a,
|
||||
.site-header.featured-image .site-featured-image a,
|
||||
.site-header.featured-image .site-branding .site-title,
|
||||
.site-header.featured-image .site-branding .site-description,
|
||||
.site-header.featured-image .main-navigation a:after,
|
||||
.site-header.featured-image .main-navigation .main-menu > li.menu-item-has-children:after,
|
||||
.site-header.featured-image .main-navigation li,
|
||||
.site-header.featured-image .social-navigation li,
|
||||
.site-header.featured-image .entry-meta,
|
||||
.site-header.featured-image .entry-title,
|
||||
.site-header.featured-image#masthead .site-title a {
|
||||
color: #000;
|
||||
text-shadow: none;
|
||||
}
|
||||
.site-header.featured-image .site-featured-image .entry-header,
|
||||
.site-header.featured-image .site-branding-container {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.site-header.featured-image .site-featured-image .post-thumbnail img {
|
||||
position: relative;
|
||||
height: initial;
|
||||
width: initial;
|
||||
object-fit: none;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
max-width: 100%;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
/* Remove image filters from featured image */
|
||||
.image-filters-enabled *:after {
|
||||
display: none !important;
|
||||
}
|
||||
.image-filters-enabled .site-header.featured-image .site-featured-image:before {
|
||||
display: none;
|
||||
}
|
||||
.image-filters-enabled .site-header.featured-image .site-featured-image .post-thumbnail img {
|
||||
filter: none;
|
||||
}
|
||||
}
|
358
mayland/sass/_config-child-theme-deep.scss
Normal file
358
mayland/sass/_config-child-theme-deep.scss
Normal file
|
@ -0,0 +1,358 @@
|
|||
/**
|
||||
* Redefine Sass map values for child theme output.
|
||||
* - See: style-child-theme.scss
|
||||
*/
|
||||
|
||||
/**
|
||||
* Global
|
||||
*/
|
||||
|
||||
// Vertical Rhythm Multiplier
|
||||
$baseline-unit: 8px;
|
||||
|
||||
$typescale-root: 20px; // Set 16px/1em default on html
|
||||
$typescale-base: 1rem; // Set 1em default on body == $typescale-root;
|
||||
$typescale-ratio: 1.2; // Run ratio math on 1em == $typescale-base * $typescale-root;
|
||||
|
||||
$config-global: (
|
||||
|
||||
/* Fonts */
|
||||
"font": (
|
||||
/* Font Family */
|
||||
"family": (
|
||||
"primary": "Poppins\, sans-serif",
|
||||
"secondary": "Poppins\, serif",
|
||||
"code": "monospace, monospace",
|
||||
"ui": "-apple-system\, BlinkMacSystemFont\, \"Segoe UI\"\, \"Roboto\"\, \"Oxygen\"\, \"Ubuntu\"\, \"Cantarell\"\, \"Fira Sans\"\, \"Droid Sans\"\, \"Helvetica Neue\"\, sans-serif",
|
||||
),
|
||||
/* Font Size */
|
||||
"size": (
|
||||
"root": $typescale-root,
|
||||
"ratio": $typescale-ratio,
|
||||
"xs": ($typescale-base / $typescale-ratio / $typescale-ratio),
|
||||
"sm": ($typescale-base / $typescale-ratio),
|
||||
"base": $typescale-base,
|
||||
"md": ($typescale-base * $typescale-ratio),
|
||||
"lg": ($typescale-base * $typescale-ratio * $typescale-ratio),
|
||||
"xl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio),
|
||||
"xxl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio),
|
||||
"xxxl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio),
|
||||
"xxxxl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio),
|
||||
),
|
||||
/* Letter Spacing */
|
||||
"letter-spacing": (
|
||||
"base": normal,
|
||||
"xs": normal,
|
||||
"sm": normal,
|
||||
"md": normal,
|
||||
"lg": normal,
|
||||
"xl": -0.015em,
|
||||
"xxl": -0.015em,
|
||||
"xxxl": -0.015em,
|
||||
),
|
||||
/* Line Height */
|
||||
"line-height": (
|
||||
"base": strip-unit($typescale-base),
|
||||
"body": 1.6,
|
||||
"heading": 1.125,
|
||||
),
|
||||
),
|
||||
|
||||
/* Colors */
|
||||
"color": (
|
||||
"primary": (
|
||||
"default": black,
|
||||
"hover": #666666,
|
||||
),
|
||||
"secondary": (
|
||||
"default": #1a1a1a,
|
||||
"hover": #666666,
|
||||
),
|
||||
"foreground": (
|
||||
"default": black,
|
||||
"light": #666666, // must be accessible against background
|
||||
"dark": #333333, // must be accessible against background
|
||||
),
|
||||
"background": (
|
||||
"default": white,
|
||||
"light": #f2f2f2, // must be accessible against foreground-default
|
||||
"dark": #d9d9d9, // must be accessible against foreground-default
|
||||
),
|
||||
"border": (
|
||||
"default": #e6e6e6,
|
||||
"light": #f2f2f2,
|
||||
"dark": #d9d9d9,
|
||||
),
|
||||
"text-selection": lightblue,
|
||||
"black": black,
|
||||
"white": white,
|
||||
),
|
||||
|
||||
/* Spacing */
|
||||
"spacing": (
|
||||
"unit": (2 * $baseline-unit), // 16px
|
||||
"measure": inherit, // Use ch units here. ie: 60ch = 60 character max-width
|
||||
"horizontal": (2 * $baseline-unit), // 16px
|
||||
"vertical": (4 * $baseline-unit), // 32px matches default spacing in the editor.
|
||||
),
|
||||
|
||||
/* Breakpoints */
|
||||
"breakpoint": (
|
||||
"sm": 560px,
|
||||
"md": 640px,
|
||||
"lg": 782px,
|
||||
"xl": 1024px,
|
||||
"xxl": 1280px,
|
||||
),
|
||||
|
||||
/* Elevation */
|
||||
"elevation": (
|
||||
"none": 0px 0px 0px 0px rgba( 0, 0, 0, 0 ),
|
||||
"2dp": 0px 0px 4px 2px rgba( 0, 0, 0, 0.1 ),
|
||||
"4dp": 0px 0px 8px 2px rgba( 0, 0, 0, 0.1 ),
|
||||
"6dp": 2px 2px 4px 2px rgba( 0, 0, 0, 0.1 ),
|
||||
"8dp": 2px 2px 8px 0px rgba( 0, 0, 0, 0.1 ),
|
||||
"10dp": 4px 4px 8px 0px rgba( 0, 0, 0, 0.1 ),
|
||||
),
|
||||
|
||||
/* Border radius */
|
||||
"border-radius": (
|
||||
"sm": (0.25 * $typescale-root),
|
||||
"md": (0.5 * $typescale-root),
|
||||
"lg": $typescale-root,
|
||||
"pill": (10 * $typescale-root),
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Elements
|
||||
*/
|
||||
$config-elements: (
|
||||
|
||||
"form": (
|
||||
|
||||
// Colors
|
||||
"color": (
|
||||
"text": map-deep-get($config-global, "color", "foreground", "default"),
|
||||
"border": map-deep-get($config-global, "color", "border", "default"),
|
||||
"border-focus": map-deep-get($config-global, "color", "primary", "hover"),
|
||||
),
|
||||
|
||||
// Fonts
|
||||
"font": (
|
||||
"family": map-deep-get($config-global, "font", "family", "primary"),
|
||||
"line-height": map-deep-get($config-global, "font", "line-height", "md"),
|
||||
"size": map-deep-get($config-global, "font", "size", "base"),
|
||||
"weight": bold,
|
||||
),
|
||||
|
||||
// Borders
|
||||
"border": (
|
||||
"width": 1px,
|
||||
"radius": 3px,
|
||||
),
|
||||
|
||||
"padding": #{map-deep-get($config-global, "spacing", "unit")},
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Button
|
||||
*/
|
||||
$config-button: (
|
||||
// Colors
|
||||
"color": (
|
||||
"text": map-deep-get($config-global, "color", "white"),
|
||||
"text-hover": map-deep-get($config-global, "color", "white"),
|
||||
"background": map-deep-get($config-global, "color", "primary", "default"),
|
||||
"background-hover": map-deep-get($config-global, "color", "primary", "hover"),
|
||||
),
|
||||
// Fonts
|
||||
"font": (
|
||||
"family": map-deep-get($config-global, "font", "family", "ui"),
|
||||
"size": map-deep-get($config-global, "font", "size", "sm"),
|
||||
"weight": 600,
|
||||
"line-height": 1,
|
||||
),
|
||||
// Borders
|
||||
"border-radius": map-deep-get($config-global, "border-radius", "sm"),
|
||||
"border-width": 2px,
|
||||
// Padding
|
||||
"padding": (
|
||||
"vertical": map-deep-get($config-global, "spacing", "unit"),
|
||||
"horizontal": map-deep-get($config-global, "spacing", "unit"),
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Cover
|
||||
*/
|
||||
$config-cover: (
|
||||
"color": (
|
||||
"foreground": #{map-deep-get($config-global, "color", "white")},
|
||||
"background": #{map-deep-get($config-global, "color", "black")},
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Heading
|
||||
*/
|
||||
$config-heading: (
|
||||
// Fonts & Typography
|
||||
"font": (
|
||||
// Family
|
||||
"family": map-deep-get($config-global, "font", "family", "primary"),
|
||||
// Size
|
||||
"size": (
|
||||
"h6": map-deep-get($config-global, "font", "size", "sm"),
|
||||
"h5": map-deep-get($config-global, "font", "size", "base"),
|
||||
"h4": map-deep-get($config-global, "font", "size", "md"),
|
||||
"h3": map-deep-get($config-global, "font", "size", "lg"),
|
||||
"h2": map-deep-get($config-global, "font", "size", "xl"),
|
||||
"h1": map-deep-get($config-global, "font", "size", "xxl"),
|
||||
),
|
||||
// Letter spacing
|
||||
"line-height": (
|
||||
"h6": map-deep-get($config-global, "font", "line-height", "heading"),
|
||||
"h5": map-deep-get($config-global, "font", "line-height", "heading"),
|
||||
"h4": map-deep-get($config-global, "font", "line-height", "heading"),
|
||||
"h3": map-deep-get($config-global, "font", "line-height", "heading"),
|
||||
"h2": map-deep-get($config-global, "font", "line-height", "heading"),
|
||||
"h1": map-deep-get($config-global, "font", "line-height", "heading"),
|
||||
),
|
||||
// Letter spacing
|
||||
"letter-spacing": (
|
||||
"h6": map-deep-get($config-global, "font", "letter-spacing", "sm"),
|
||||
"h5": map-deep-get($config-global, "font", "letter-spacing", "md"),
|
||||
"h4": map-deep-get($config-global, "font", "letter-spacing", "lg"),
|
||||
"h3": map-deep-get($config-global, "font", "letter-spacing", "xl"),
|
||||
"h2": map-deep-get($config-global, "font", "letter-spacing", "xxl"),
|
||||
"h1": map-deep-get($config-global, "font", "letter-spacing", "xxxl"),
|
||||
),
|
||||
// Font Weight
|
||||
"weight": 600,
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* List
|
||||
*/
|
||||
$config-list: (
|
||||
// Fonts
|
||||
"font": (
|
||||
"family": #{map-deep-get($config-global, "font", "family", "primary")},
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Pullquote
|
||||
*/
|
||||
$config-pullquote: (
|
||||
// Font
|
||||
"font": (
|
||||
"family": #{map-deep-get($config-global, "font", "family", "primary")},
|
||||
),
|
||||
// Border
|
||||
"color": (
|
||||
"border": #{map-deep-get($config-global, "color", "border", "default")},
|
||||
"background": #{map-deep-get($config-global, "color", "primary", "default")},
|
||||
),
|
||||
// Border
|
||||
"border": (
|
||||
"width": #{0.5 * $baseline-unit},
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Quote
|
||||
*/
|
||||
$config-quote: (
|
||||
// Font
|
||||
"font": (
|
||||
"family": #{map-deep-get($config-global, "font", "family", "primary")},
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Separator
|
||||
*/
|
||||
|
||||
$config-separator: (
|
||||
"height": #{0.25 * $baseline-unit},
|
||||
);
|
||||
|
||||
/**
|
||||
* Header
|
||||
*/
|
||||
$config-header: (
|
||||
"branding": (
|
||||
// Colors
|
||||
"color": (
|
||||
"text": map-deep-get($config-global, "color", "foreground", "light"),
|
||||
"link": map-deep-get($config-global, "color", "foreground", "default"),
|
||||
"link-hover": map-deep-get($config-global, "color", "primary", "hover"),
|
||||
),
|
||||
// Fonts & Typography
|
||||
"title": (
|
||||
// Fonts
|
||||
"font": (
|
||||
"family": map-deep-get($config-global, "font", "family", "primary"),
|
||||
"size": map-deep-get($config-global, "font", "size", "lg"),
|
||||
"weight": 600,
|
||||
"line-height": 1,
|
||||
),
|
||||
),
|
||||
// Fonts & Typography
|
||||
"description": (
|
||||
// Fonts
|
||||
"font": (
|
||||
"family": map-deep-get($config-global, "font", "family", "primary"),
|
||||
"size": map-deep-get($config-global, "font", "size", "sm"),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
"main-nav": (
|
||||
// Colors
|
||||
"color": (
|
||||
"text": map-deep-get($config-global, "color", "foreground", "default"),
|
||||
"link": map-deep-get($config-global, "color", "primary", "default"),
|
||||
"link-hover": map-deep-get($config-global, "color", "primary", "hover"),
|
||||
),
|
||||
// Fonts
|
||||
"font": (
|
||||
"family": map-deep-get($config-global, "font", "family", "primary"),
|
||||
"size": map-deep-get($config-global, "font", "size", "sm"),
|
||||
"weight": 400,
|
||||
"line-height": 1,
|
||||
),
|
||||
"link-padding": $baseline-unit,
|
||||
),
|
||||
|
||||
"social-nav": (
|
||||
// Colors
|
||||
"color": (
|
||||
"link": map-deep-get($config-global, "color", "foreground", "default"),
|
||||
"link-hover": map-deep-get($config-global, "color", "primary", "hover"),
|
||||
),
|
||||
"link-padding": calc( 0.5 * calc(0.66 * #{map-deep-get($config-global, "spacing", "unit")} ) ),
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Footer
|
||||
*/
|
||||
$config-footer: (
|
||||
// Colors
|
||||
"color": (
|
||||
"text": map-deep-get($config-global, "color", "foreground", "light"),
|
||||
"link": map-deep-get($config-global, "color", "primary", "default"),
|
||||
"link-hover": map-deep-get($config-global, "color", "primary", "hover"),
|
||||
),
|
||||
// Fonts
|
||||
"font": (
|
||||
"family": map-deep-get($config-global, "font", "family", "primary"),
|
||||
"size": map-deep-get($config-global, "font", "size", "sm"),
|
||||
"line-height": map-deep-get($config-global, "font", "line-height", "sm"),
|
||||
),
|
||||
);
|
295
mayland/sass/_extra-child-theme.scss
Normal file
295
mayland/sass/_extra-child-theme.scss
Normal file
|
@ -0,0 +1,295 @@
|
|||
/**
|
||||
* Extra Child Theme Styles
|
||||
*/
|
||||
$spacing_unit: map-deep-get($config-global, "spacing", "unit");
|
||||
$spacing_horizontal: map-deep-get($config-global, "spacing", "horizontal");
|
||||
$spacing_vertical: map-deep-get($config-global, "spacing", "vertical");
|
||||
|
||||
b, strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
a {
|
||||
.site-header &,
|
||||
&:hover,
|
||||
&:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Header
|
||||
*/
|
||||
.site-header,
|
||||
.site-footer {
|
||||
max-width: 100%;
|
||||
padding-left: $spacing_unit;
|
||||
padding-right: $spacing_unit;
|
||||
position: relative;
|
||||
|
||||
@include media(mobile) {
|
||||
padding: $spacing_vertical;
|
||||
}
|
||||
}
|
||||
|
||||
.site-branding {
|
||||
.site-description {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation > div > ul li.current-menu-item a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* CSS-grid Desktop Menu
|
||||
*/
|
||||
@include media(laptop) {
|
||||
.site-header {
|
||||
display: flex;
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
content: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
& > * {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.site-branding {
|
||||
align-self: center;
|
||||
flex: 1 1 auto;
|
||||
padding-right: #{map-deep-get($config-global, "spacing", "unit")};
|
||||
}
|
||||
|
||||
.site-logo {
|
||||
& + .site-title {
|
||||
margin-top: #{map-deep-get($config-global, "spacing", "unit")};
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation {
|
||||
align-self: center;
|
||||
|
||||
> div > ul > li > .sub-menu {
|
||||
border: 1px solid map-deep-get($config-global, "color", "border", "default");
|
||||
box-shadow: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.sub-menu .menu-item a {
|
||||
padding-top: #{map-deep-get($config-header, "main-nav", "link-padding")};
|
||||
padding-bottom: #{map-deep-get($config-header, "main-nav", "link-padding")};
|
||||
}
|
||||
}
|
||||
|
||||
.social-navigation {
|
||||
align-self: center;
|
||||
justify-self: flex-end;
|
||||
padding-left: #{map-deep-get($config-global, "spacing", "vertical")};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Main
|
||||
*/
|
||||
.site-main {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.site-main > article > .entry-header,
|
||||
.site-main > .page-header,
|
||||
.site-main > .not-found > .page-header {
|
||||
margin-top: #{0.666 * $spacing_vertical};
|
||||
@include media(mobile) {
|
||||
margin-top: #{2 * $spacing_vertical};
|
||||
}
|
||||
}
|
||||
|
||||
.site-main > {
|
||||
article > .entry-header,
|
||||
.page-header,
|
||||
.not-found > .page-header {
|
||||
margin-top: #{0.666 * $spacing_vertical};
|
||||
|
||||
@include media(mobile) {
|
||||
margin-top: #{2 * $spacing_vertical};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#main .entry-content .entry-attachment {
|
||||
max-width: calc( 100% - #{2 * $spacing_vertical} );
|
||||
}
|
||||
|
||||
// Entry Title Link
|
||||
.entry-title,
|
||||
.page-title,
|
||||
.a8c-posts-list .a8c-posts-list-item__title {
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
|
||||
&:active,
|
||||
&:focus,
|
||||
&:hover {
|
||||
color: map-deep-get($config-global, "color", "primary", "default");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Sticky tag
|
||||
.sticky-post,
|
||||
.a8c-posts-list .a8c-posts-list-item__featured span {
|
||||
font-weight: 600;
|
||||
padding: #{0.25 * $baseline-unit} #{0.66 * $spacing_unit};
|
||||
}
|
||||
|
||||
/**
|
||||
* Next/Previous navigation
|
||||
*/
|
||||
// Singular navigation
|
||||
.post-navigation {
|
||||
.meta-nav {
|
||||
color: map-deep-get($config-global, "color", "foreground", "light");
|
||||
}
|
||||
|
||||
.post-title {
|
||||
font-size: #{map-deep-get($config-heading, "font", "size", "h4")};
|
||||
line-height: #{map-deep-get($config-global, "font", "line-height", "heading")};
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Comments
|
||||
*/
|
||||
.logged-in-as,
|
||||
.comment-notes,
|
||||
.comment-form-cookies-consent {
|
||||
font-size: map-deep-get($config-global, "font", "size", "sm");
|
||||
}
|
||||
|
||||
.comment-form-cookies-consent input[type=checkbox] + label {
|
||||
line-height: #{map-deep-get($config-global, "font", "line-height", "body")};
|
||||
}
|
||||
|
||||
.comment-notes {
|
||||
color: map-deep-get($config-global, "color", "foreground", "light");
|
||||
}
|
||||
|
||||
.comment-form > p:not(.comment-form-cookies-consent) label {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/**
|
||||
* Blocks
|
||||
*/
|
||||
.wp-block-columns.alignfull {
|
||||
@include media(mobile) {
|
||||
padding-right: $spacing_vertical;
|
||||
padding-left: $spacing_vertical;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Widgets
|
||||
*/
|
||||
|
||||
@include media(laptop) {
|
||||
.site-footer .widget-area {
|
||||
max-width: 100%;
|
||||
|
||||
& > * {
|
||||
max-width: 50%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.widget {
|
||||
select {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.widget-title {
|
||||
font-size: #{map-deep-get($config-heading, "font", "size", "h3")};
|
||||
margin-bottom: #{0.5 * $spacing_vertical};
|
||||
}
|
||||
|
||||
.widget_archive,
|
||||
.widget_categories,
|
||||
.widget_meta,
|
||||
.widget_nav_menu,
|
||||
.widget_pages,
|
||||
.widget_recent_comments,
|
||||
.widget_recent_entries,
|
||||
.widget_rss {
|
||||
|
||||
ul {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
list-style: none;
|
||||
|
||||
li {
|
||||
color: map-deep-get($config-global, "color", "foreground", "light");
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
ul {
|
||||
counter-reset: submenu;
|
||||
}
|
||||
|
||||
ul > li > a::before {
|
||||
font-weight: normal;
|
||||
content: "\2013\00a0" counters(submenu, "\2013\00a0", none);
|
||||
counter-increment: submenu
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.widget_tag_cloud {
|
||||
.tagcloud {
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
.widget_search {
|
||||
.search-field {
|
||||
width: 100%;
|
||||
|
||||
@include media(mobile) {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.search-submit {
|
||||
display: block;
|
||||
margin-top: $typescale-base;
|
||||
}
|
||||
}
|
||||
|
||||
.widget_calendar .calendar_wrap {
|
||||
text-align: center;
|
||||
|
||||
table td,
|
||||
table th {
|
||||
border: none;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.widget_links li,
|
||||
.widget_jp_blogs_i_follow li,
|
||||
.widget_rss_links li {
|
||||
font-family: inherit;
|
||||
}
|
198
mayland/sass/print.scss
Executable file
198
mayland/sass/print.scss
Executable file
|
@ -0,0 +1,198 @@
|
|||
/*
|
||||
Theme Name: mayland
|
||||
|
||||
Adding print support. The print styles are based on the the great work of
|
||||
Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272/.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
>>> TABLE OF CONTENTS:
|
||||
----------------------------------------------------------------
|
||||
# Margins
|
||||
# Typography
|
||||
# Page breaks
|
||||
# Links
|
||||
# Visibility
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
@media print {
|
||||
|
||||
/* Margins */
|
||||
|
||||
@page {
|
||||
margin: 2cm;
|
||||
}
|
||||
|
||||
.entry {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.entry .entry-header, .site-footer .site-info {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Fonts */
|
||||
|
||||
body {
|
||||
font: 13pt Georgia, "Times New Roman", Times, serif;
|
||||
line-height: 1.3;
|
||||
background: #fff !important;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 24pt;
|
||||
}
|
||||
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
.has-regular-font-size,
|
||||
.has-large-font-size,
|
||||
h2.author-title,
|
||||
p.author-bio,
|
||||
.comments-title, h3 {
|
||||
font-size: 14pt;
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
/* Page breaks */
|
||||
|
||||
a {
|
||||
page-break-inside: avoid
|
||||
}
|
||||
|
||||
blockquote {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
page-break-after: avoid;
|
||||
page-break-inside: avoid
|
||||
}
|
||||
|
||||
img {
|
||||
page-break-inside: avoid;
|
||||
page-break-after: avoid;
|
||||
}
|
||||
|
||||
table, pre {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
ul, ol, dl {
|
||||
page-break-before: avoid;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
||||
a:link, a:visited, a {
|
||||
background: transparent;
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
a {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
a[href^=http]:after {
|
||||
content: " < " attr(href) "> ";
|
||||
}
|
||||
|
||||
a:after > img {
|
||||
content: "";
|
||||
}
|
||||
|
||||
article a[href^="#"]:after {
|
||||
content: "";
|
||||
}
|
||||
|
||||
a:not(:local-link):after {
|
||||
content: " < " attr(href) "> ";
|
||||
}
|
||||
|
||||
/* Visibility */
|
||||
.main-navigation,
|
||||
.site-title + .main-navigation,
|
||||
.social-navigation,
|
||||
.site-branding-container:before,
|
||||
.entry .entry-title:before,
|
||||
.entry-footer,
|
||||
.author-description:before,
|
||||
.post-navigation,
|
||||
.widget-area,
|
||||
.comment-form-flex,
|
||||
.comment-reply,
|
||||
.comment .comment-metadata .edit-link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-button .wp-block-button__link,
|
||||
.entry .entry-content .button {
|
||||
color: #000;
|
||||
background: none;
|
||||
}
|
||||
|
||||
/* Site Header (With Featured Image) */
|
||||
.site-header.featured-image {
|
||||
min-height: 0;
|
||||
|
||||
.main-navigation a,
|
||||
.main-navigation a + svg,
|
||||
.social-navigation a,
|
||||
.site-title a,
|
||||
.site-featured-image a,
|
||||
.site-branding .site-title,
|
||||
.site-branding .site-description,
|
||||
.main-navigation a:after,
|
||||
.main-navigation .main-menu > li.menu-item-has-children:after,
|
||||
.main-navigation li,
|
||||
.social-navigation li,
|
||||
.entry-meta,
|
||||
.entry-title,
|
||||
&#masthead .site-title a {
|
||||
color: #000;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.site-featured-image .entry-header,
|
||||
.site-branding-container {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.site-featured-image .post-thumbnail img {
|
||||
position: relative;
|
||||
height: initial;
|
||||
width: initial;
|
||||
object-fit: none;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
max-width: 100%;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Remove image filters from featured image */
|
||||
.image-filters-enabled {
|
||||
|
||||
*:after {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.site-header.featured-image .site-featured-image:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.site-header.featured-image .site-featured-image .post-thumbnail img {
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
}
|
33
mayland/sass/style-child-theme-editor.scss
Normal file
33
mayland/sass/style-child-theme-editor.scss
Normal file
|
@ -0,0 +1,33 @@
|
|||
/**
|
||||
* These styles should be loaded by the Block Editor only
|
||||
*/
|
||||
|
||||
/**
|
||||
* Abstracts
|
||||
* - Mixins, variables and functions
|
||||
*/
|
||||
@import "../../varia/sass/abstracts/imports";
|
||||
|
||||
/**
|
||||
* Child Theme Name
|
||||
*/
|
||||
@import "config-child-theme-deep";
|
||||
|
||||
/**
|
||||
* Base
|
||||
* - Reset the browser
|
||||
*/
|
||||
@import "../../varia/sass/base/editor";
|
||||
|
||||
/**
|
||||
* Elements
|
||||
* - Styles for basic HTML elemants
|
||||
*/
|
||||
@import "../../varia/sass/elements/editor";
|
||||
|
||||
/**
|
||||
* Blocks
|
||||
* - These styles replace key Gutenberg Block styles for fonts, colors, and
|
||||
* spacing with CSS-variables overrides
|
||||
*/
|
||||
@import "../../varia/sass/blocks/editor";
|
90
mayland/sass/style-child-theme.scss
Normal file
90
mayland/sass/style-child-theme.scss
Normal file
|
@ -0,0 +1,90 @@
|
|||
/*
|
||||
Theme Name: Mayland
|
||||
Theme URI: https://github.com/Automattic/themes/tree/master/mayland
|
||||
Author: Automattic
|
||||
Author URI: https://automattic.com/
|
||||
Description: Make your online portfolio wonderfully uncluttered with Mayland. Gracefully highlight your photography and other projects. Mayland is versatile enough to be your personal site too.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.0.0
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
Text Domain: mayland
|
||||
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
|
||||
|
||||
This theme, like WordPress, is licensed under the GPL.
|
||||
Use it to make something cool, have fun, and share what you've learned with others.
|
||||
|
||||
Varia is based on Underscores https://underscores.me/, (C) 2012-2019 Automattic, Inc.
|
||||
Underscores is distributed under the terms of the GNU GPL v2 or later.
|
||||
|
||||
Normalizing styles have been helped along thanks to the fine work of
|
||||
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
|
||||
*/
|
||||
|
||||
/**
|
||||
* Abstracts
|
||||
* - Mixins, variables and functions
|
||||
*/
|
||||
@import "../../varia/sass/abstracts/imports";
|
||||
|
||||
/**
|
||||
* Child Theme Deep
|
||||
*/
|
||||
@import "config-child-theme-deep";
|
||||
|
||||
/**
|
||||
* Base
|
||||
* - Reset the browser
|
||||
*/
|
||||
@import "../../varia/sass/base/imports";
|
||||
|
||||
/**
|
||||
* Layout
|
||||
* - Structral and responsive styles
|
||||
*/
|
||||
@import "../../varia/sass/layout/imports";
|
||||
|
||||
/**
|
||||
* Elements
|
||||
* - Styles for basic HTML elemants
|
||||
*/
|
||||
@import "../../varia/sass/elements/imports";
|
||||
|
||||
/**
|
||||
* Blocks
|
||||
* - These styles replace key Gutenberg Block styles for fonts, colors, and
|
||||
* spacing with CSS-variables overrides
|
||||
* - In the future the Block styles may get compiled to individual .css
|
||||
* files and conditionally loaded
|
||||
*/
|
||||
@import "../../varia/sass/blocks/imports";
|
||||
|
||||
/**
|
||||
* Components
|
||||
* - Similar to Blocks but exist outside of the "current" editor context
|
||||
*/
|
||||
@import "../../varia/sass/components/imports";
|
||||
|
||||
/**
|
||||
* Site Pages
|
||||
* - Page specific styles
|
||||
*/
|
||||
@import "../../varia/sass/pages/imports";
|
||||
|
||||
/**
|
||||
* Responsive Logic
|
||||
* - Loading this last to respect cascaing rules
|
||||
*/
|
||||
@import "../../varia/sass/abstracts/responsive-logic";
|
||||
|
||||
/**
|
||||
* Vendors
|
||||
* - Styles for 3rd party plugins and WP extensions
|
||||
*/
|
||||
@import "../../varia/sass/vendors/imports";
|
||||
|
||||
/**
|
||||
* Child Theme Extra Styles
|
||||
*/
|
||||
@import "extra-child-theme";
|
BIN
mayland/screenshot.png
Normal file
BIN
mayland/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 361 KiB |
881
mayland/style-editor.css
Normal file
881
mayland/style-editor.css
Normal file
|
@ -0,0 +1,881 @@
|
|||
/**
|
||||
* These styles should be loaded by the Block Editor only
|
||||
*/
|
||||
/**
|
||||
* Abstracts
|
||||
* - Mixins, variables and functions
|
||||
*/
|
||||
/**
|
||||
* Abstracts
|
||||
* - Mixins, variables and functions
|
||||
*/
|
||||
/* Sass Functions go here */
|
||||
/**
|
||||
* Map deep get
|
||||
* @author Hugo Giraudel
|
||||
* @access public
|
||||
* @param {Map} $map - Map
|
||||
* @param {Arglist} $keys - Key chain
|
||||
* @return {*} - Desired value
|
||||
*
|
||||
* Example:
|
||||
* $m-breakpoint: map-deep-get($__prefix-default-config, "layouts", "M");
|
||||
*/
|
||||
/**
|
||||
* Deep set function to set a value in nested maps
|
||||
* @author Hugo Giraudel
|
||||
* @access public
|
||||
* @param {Map} $map - Map
|
||||
* @param {List} $keys - Key chaine
|
||||
* @param {*} $value - Value to assign
|
||||
* @return {Map}
|
||||
*
|
||||
* Example:
|
||||
* $__prefix-default-config: map-deep-set($__prefix-default-config, "layouts" "M", 650px);
|
||||
*/
|
||||
/**
|
||||
* jQuery-style extend function
|
||||
* - Child themes can use this function to `reset` the values in
|
||||
* config maps without editing the `master` Sass files.
|
||||
* - src: https://www.sitepoint.com/extra-map-functions-sass/
|
||||
* - About `map-merge()`:
|
||||
* - - only takes 2 arguments
|
||||
* - - is not recursive
|
||||
* @param {Map} $map - first map
|
||||
* @param {ArgList} $maps - other maps
|
||||
* @param {Bool} $deep - recursive mode
|
||||
* @return {Map}
|
||||
*
|
||||
* Examples:
|
||||
|
||||
$grid-configuration-default: (
|
||||
'columns': 12,
|
||||
'layouts': (
|
||||
'small': 800px,
|
||||
'medium': 1000px,
|
||||
'large': 1200px,
|
||||
),
|
||||
);
|
||||
|
||||
$grid-configuration-custom: (
|
||||
'layouts': (
|
||||
'large': 1300px,
|
||||
'huge': 1500px
|
||||
),
|
||||
);
|
||||
|
||||
$grid-configuration-user: (
|
||||
'direction': 'ltr',
|
||||
'columns': 16,
|
||||
'layouts': (
|
||||
'large': 1300px,
|
||||
'huge': 1500px
|
||||
),
|
||||
);
|
||||
|
||||
// $deep: false
|
||||
$grid-configuration: map-extend($grid-configuration-default, $grid-configuration-custom, $grid-configuration-user);
|
||||
// --> ("columns": 16, "layouts": (("large": 1300px, "huge": 1500px)), "direction": "ltr")
|
||||
|
||||
// $deep: true
|
||||
$grid-configuration: map-extend($grid-configuration-default, $grid-configuration-custom, $grid-configuration-user, true);
|
||||
// --> ("columns": 16, "layouts": (("small": 800px, "medium": 1000px, "large": 1300px, "huge": 1500px)), "direction": "ltr")
|
||||
|
||||
*/
|
||||
/**
|
||||
* Button
|
||||
*/
|
||||
/**
|
||||
* Cover
|
||||
*/
|
||||
/**
|
||||
* Heading
|
||||
*/
|
||||
/**
|
||||
* List
|
||||
*/
|
||||
/**
|
||||
* Pullquote
|
||||
*/
|
||||
/**
|
||||
* Quote
|
||||
*/
|
||||
/**
|
||||
* Separator
|
||||
*/
|
||||
/**
|
||||
* Responsive breakpoints
|
||||
* - breakpoints values are defined in _config-global.scss
|
||||
*/
|
||||
/**
|
||||
* Align wide widths
|
||||
* - Sets .alignwide widths
|
||||
*/
|
||||
/**
|
||||
* Crop Text Boundry
|
||||
* - Sets a fixed-width on content within alignwide and alignfull blocks
|
||||
*/
|
||||
/**
|
||||
* Child Theme Name
|
||||
*/
|
||||
/**
|
||||
* Redefine Sass map values for child theme output.
|
||||
* - See: style-child-theme.scss
|
||||
*/
|
||||
/**
|
||||
* Global
|
||||
*/
|
||||
/**
|
||||
* Elements
|
||||
*/
|
||||
/**
|
||||
* Button
|
||||
*/
|
||||
/**
|
||||
* Cover
|
||||
*/
|
||||
/**
|
||||
* Heading
|
||||
*/
|
||||
/**
|
||||
* List
|
||||
*/
|
||||
/**
|
||||
* Pullquote
|
||||
*/
|
||||
/**
|
||||
* Quote
|
||||
*/
|
||||
/**
|
||||
* Separator
|
||||
*/
|
||||
/**
|
||||
* Header
|
||||
*/
|
||||
/**
|
||||
* Footer
|
||||
*/
|
||||
/**
|
||||
* Base
|
||||
* - Reset the browser
|
||||
*/
|
||||
body {
|
||||
color: black;
|
||||
background-color: white;
|
||||
font-family: Poppins, serif;
|
||||
font-size: 20px;
|
||||
font-weight: normal;
|
||||
line-height: 1.6;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
.editor-post-title__block {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1em;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
a {
|
||||
color: black;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
button,
|
||||
a {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Elements
|
||||
* - Styles for basic HTML elemants
|
||||
*/
|
||||
/**
|
||||
* Elements
|
||||
* - Styles for basic HTML elemants
|
||||
*/
|
||||
blockquote {
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
blockquote p {
|
||||
font-size: 1.2rem;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
blockquote cite,
|
||||
blockquote footer {
|
||||
font-size: 0.83333rem;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
|
||||
blockquote > * {
|
||||
margin-top: 16px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
blockquote > *:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
blockquote > *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
blockquote.alignleft, blockquote.alignright {
|
||||
padding-left: inherit;
|
||||
}
|
||||
|
||||
blockquote.alignleft p, blockquote.alignright p {
|
||||
font-size: 1rem;
|
||||
max-width: inherit;
|
||||
width: inherit;
|
||||
}
|
||||
|
||||
blockquote.alignleft cite,
|
||||
blockquote.alignleft footer, blockquote.alignright cite,
|
||||
blockquote.alignright footer {
|
||||
font-size: 0.69444rem;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
color: #666666;
|
||||
font-size: 0.69444rem;
|
||||
margin-top: calc(0.5 * 16px);
|
||||
margin-bottom: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.alignleft figcaption,
|
||||
.alignright figcaption {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* WP Smiley */
|
||||
.page-content .wp-smiley,
|
||||
.entry-content .wp-smiley,
|
||||
.comment-content .wp-smiley {
|
||||
border: none;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Make sure embeds and iframes fit their containers. */
|
||||
embed,
|
||||
iframe,
|
||||
object {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Blocks
|
||||
* - These styles replace key Gutenberg Block styles for fonts, colors, and
|
||||
* spacing with CSS-variables overrides
|
||||
*/
|
||||
/**
|
||||
* Block Styles for the Editor
|
||||
*
|
||||
* - These styles replace key Gutenberg Block styles for fonts, colors, and
|
||||
* spacing with CSS-variables overrides in the Block Editor
|
||||
* - In the future the Block styles may get compiled to individual .css
|
||||
* files and conditionally loaded
|
||||
*/
|
||||
.wp-block-button {
|
||||
/* Default Style */
|
||||
/* Outline Style */
|
||||
/* Squared Style */
|
||||
}
|
||||
|
||||
.wp-block-button .wp-block-button__link {
|
||||
color: white;
|
||||
font-weight: 600;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 0.83333em;
|
||||
line-height: 1;
|
||||
background-color: black;
|
||||
border-radius: 5px;
|
||||
padding: 16px 16px;
|
||||
}
|
||||
|
||||
.wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus, .wp-block-button .wp-block-button__link.has-focus {
|
||||
color: white;
|
||||
background-color: #666666;
|
||||
}
|
||||
|
||||
.wp-block-button.is-style-outline .wp-block-button__link {
|
||||
color: black;
|
||||
background: transparent;
|
||||
border: 2px solid currentcolor;
|
||||
}
|
||||
|
||||
.wp-block-button.is-style-outline .wp-block-button__link:hover, .wp-block-button.is-style-outline .wp-block-button__link:focus, .wp-block-button.is-style-outline .wp-block-button__link.has-focus {
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.wp-block-button.is-style-squared .wp-block-button__link {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.wp-block-cover,
|
||||
.wp-block-cover-image {
|
||||
background-color: black;
|
||||
color: white;
|
||||
/* Treating H2 separately to account for legacy /core styles */
|
||||
}
|
||||
|
||||
.wp-block-cover .wp-block-cover__inner-container,
|
||||
.wp-block-cover .wp-block-cover-image-text,
|
||||
.wp-block-cover .wp-block-cover-text,
|
||||
.wp-block-cover .block-editor-block-list__block,
|
||||
.wp-block-cover-image .wp-block-cover__inner-container,
|
||||
.wp-block-cover-image .wp-block-cover-image-text,
|
||||
.wp-block-cover-image .wp-block-cover-text,
|
||||
.wp-block-cover-image .block-editor-block-list__block {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.wp-block-cover .wp-block-cover__inner-container a,
|
||||
.wp-block-cover .wp-block-cover-image-text a,
|
||||
.wp-block-cover .wp-block-cover-text a,
|
||||
.wp-block-cover .block-editor-block-list__block a,
|
||||
.wp-block-cover-image .wp-block-cover__inner-container a,
|
||||
.wp-block-cover-image .wp-block-cover-image-text a,
|
||||
.wp-block-cover-image .wp-block-cover-text a,
|
||||
.wp-block-cover-image .block-editor-block-list__block a {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.wp-block-cover h2,
|
||||
.wp-block-cover-image h2 {
|
||||
font-size: 1.728em;
|
||||
letter-spacing: -0.015em;
|
||||
line-height: 1.125;
|
||||
padding: 0;
|
||||
max-width: inherit;
|
||||
text-align: inherit;
|
||||
}
|
||||
|
||||
.wp-block-cover h2.has-text-align-left,
|
||||
.wp-block-cover-image h2.has-text-align-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.wp-block-cover h2.has-text-align-center,
|
||||
.wp-block-cover-image h2.has-text-align-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wp-block-cover h2.has-text-align-right,
|
||||
.wp-block-cover-image h2.has-text-align-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.wp-block-heading h1, h1, .h1,
|
||||
.wp-block-heading h2, h2, .h2,
|
||||
.wp-block-heading h3, h3, .h3,
|
||||
.wp-block-heading h4, h4, .h4,
|
||||
.wp-block-heading h5, h5, .h5,
|
||||
.wp-block-heading h6, h6, .h6 {
|
||||
font-family: Poppins, sans-serif;
|
||||
font-weight: 600;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.wp-block-heading h1, h1, .h1 {
|
||||
font-size: 2.0736em;
|
||||
letter-spacing: -0.015em;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-heading h2, h2, .h2 {
|
||||
font-size: 1.728em;
|
||||
letter-spacing: -0.015em;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-heading h3, h3, .h3 {
|
||||
font-size: 1.44em;
|
||||
letter-spacing: -0.015em;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-heading h4, h4, .h4 {
|
||||
font-size: 1.2em;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-heading h5, h5, .h5 {
|
||||
font-size: 1em;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-heading h6, h6, .h6 {
|
||||
font-size: 0.83333em;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-gallery figcaption {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-posts {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-posts > li > a {
|
||||
font-family: Poppins, sans-serif;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-latest-posts:not(.is-grid) > li {
|
||||
/* Vertical margins logic */
|
||||
margin-top: 32px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.wp-block-latest-posts:not(.is-grid) > li:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-posts:not(.is-grid) > li:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-posts .wp-block-latest-posts__post-date {
|
||||
color: #666666;
|
||||
font-size: 0.83333rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
[class*="inner-container"] .wp-block-latest-posts .wp-block-latest-posts__post-date,
|
||||
.has-background .wp-block-latest-posts .wp-block-latest-posts__post-date {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.wp-block-latest-posts .wp-block-latest-posts__post-excerpt,
|
||||
.wp-block-latest-posts .wp-block-latest-posts__post-full-content {
|
||||
font-size: 0.83333rem;
|
||||
line-height: 1.6;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.wp-block-media-text .block-editor-inner-blocks {
|
||||
padding-right: 16px;
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.wp-block-media-text .block-editor-inner-blocks {
|
||||
padding-right: 32px;
|
||||
padding-left: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
.wp-block-media-text .block-editor-inner-blocks[style*="background-color"]:not(.has-background-background-color) a {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.a8c-posts-list {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
p.has-background {
|
||||
padding: 16px 16px;
|
||||
}
|
||||
|
||||
p.has-background:not(.has-background-background-color) a {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.wp-block-pullquote {
|
||||
padding: calc( 3 * 16px) 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
text-align: center;
|
||||
border-top-color: #e6e6e6;
|
||||
border-top-width: 4px;
|
||||
border-bottom-color: #e6e6e6;
|
||||
border-bottom-width: 4px;
|
||||
color: black;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
}
|
||||
|
||||
.wp-block-pullquote blockquote {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.wp-block-pullquote p {
|
||||
font-family: Poppins, sans-serif;
|
||||
font-size: 1.2em;
|
||||
letter-spacing: normal;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-pullquote a {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.wp-block-pullquote .wp-block-pullquote__citation,
|
||||
.wp-block-pullquote cite,
|
||||
.wp-block-pullquote footer {
|
||||
color: #666666;
|
||||
font-size: 0.83333em;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
|
||||
.wp-block-pullquote:not(.is-style-solid-color) {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.is-style-solid-color {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.is-style-solid-color.alignleft blockquote,
|
||||
.wp-block-pullquote.is-style-solid-color.alignright blockquote {
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.is-style-solid-color blockquote {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation,
|
||||
.wp-block-pullquote.is-style-solid-color cite,
|
||||
.wp-block-pullquote.is-style-solid-color footer {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.alignwide > p,
|
||||
.wp-block-pullquote.alignfull > p,
|
||||
.wp-block-pullquote.alignwide blockquote,
|
||||
.wp-block-pullquote.alignfull blockquote {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.wp-block-quote {
|
||||
border-left-color: black;
|
||||
margin: 32px 0;
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
.wp-block-quote p {
|
||||
font-family: Poppins, sans-serif;
|
||||
font-size: 1.2em;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
|
||||
.wp-block-quote.is-large, .wp-block-quote.is-style-large {
|
||||
border: none;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.wp-block-quote.is-large p, .wp-block-quote.is-style-large p {
|
||||
font-family: Poppins, sans-serif;
|
||||
font-size: 1.44em;
|
||||
letter-spacing: -0.015em;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.wp-block-separator,
|
||||
hr {
|
||||
border-bottom: 2px solid #e6e6e6;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.wp-block-separator[style*="text-align:right"], .wp-block-separator[style*="text-align: right"],
|
||||
hr[style*="text-align:right"],
|
||||
hr[style*="text-align: right"] {
|
||||
border-right-color: #e6e6e6;
|
||||
}
|
||||
|
||||
.wp-block-separator.is-style-wide,
|
||||
hr.is-style-wide {
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
.wp-block-separator.is-style-dots,
|
||||
hr.is-style-dots {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.wp-block-separator.is-style-dots:before,
|
||||
hr.is-style-dots:before {
|
||||
color: #e6e6e6;
|
||||
}
|
||||
|
||||
table th,
|
||||
.wp-block-table th {
|
||||
font-family: Poppins, sans-serif;
|
||||
}
|
||||
|
||||
table td,
|
||||
table th,
|
||||
.wp-block-table td,
|
||||
.wp-block-table th {
|
||||
padding: calc( 0.5 * 16px);
|
||||
}
|
||||
|
||||
/**
|
||||
* Editor Post Title
|
||||
* - Needs a special styles
|
||||
*/
|
||||
.editor-post-title__block .editor-post-title__input {
|
||||
color: black;
|
||||
font-family: Poppins, sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 1.728em;
|
||||
letter-spacing: -0.015em;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.has-primary-color[class] {
|
||||
color: black !important;
|
||||
}
|
||||
|
||||
.has-secondary-color[class] {
|
||||
color: #1a1a1a !important;
|
||||
}
|
||||
|
||||
.has-foreground-color[class] {
|
||||
color: black !important;
|
||||
}
|
||||
|
||||
.has-foreground-light-color[class] {
|
||||
color: #666666 !important;
|
||||
}
|
||||
|
||||
.has-foreground-dark-color[class] {
|
||||
color: #333333 !important;
|
||||
}
|
||||
|
||||
.has-background-light-color[class] {
|
||||
color: #f2f2f2 !important;
|
||||
}
|
||||
|
||||
.has-background-dark-color[class] {
|
||||
color: #d9d9d9 !important;
|
||||
}
|
||||
|
||||
.has-background-color[class] {
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.has-background:not(.has-background-background-color) a,
|
||||
.has-background p, .has-background h1, .has-background h2, .has-background h3, .has-background h4, .has-background h5, .has-background h6,
|
||||
.has-background .wp-block-quote__citation {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.has-primary-background-color[class] {
|
||||
background-color: black !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.has-primary-background-color[class] {
|
||||
background-color: black !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.has-secondary-background-color[class] {
|
||||
background-color: #1a1a1a !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.has-foreground-background-color[class] {
|
||||
background-color: black !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.has-foreground-light-background-color[class] {
|
||||
background-color: #666666 !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.has-foreground-dark-background-color[class] {
|
||||
background-color: #333333 !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.has-background-light-background-color[class] {
|
||||
background-color: #f2f2f2 !important;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.has-background-dark-background-color[class] {
|
||||
background-color: #d9d9d9 !important;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.has-background-background-color[class] {
|
||||
background-color: white !important;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.is-small-text,
|
||||
.has-small-font-size {
|
||||
font-size: 0.83333em;
|
||||
}
|
||||
|
||||
.is-regular-text,
|
||||
.has-regular-font-size,
|
||||
.has-normal-font-size,
|
||||
.has-medium-font-size {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.is-large-text,
|
||||
.has-large-font-size {
|
||||
font-size: 1.44em;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.is-larger-text,
|
||||
.has-larger-font-size,
|
||||
.has-huge-font-size {
|
||||
font-size: 1.728em;
|
||||
line-height: 1.125;
|
||||
}
|
||||
|
||||
.has-drop-cap:not(:focus)::first-letter {
|
||||
font-family: Poppins, sans-serif;
|
||||
font-size: calc(2 * 2.0736em);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/**
|
||||
* Spacing Overrides
|
||||
*/
|
||||
/*
|
||||
* Margins
|
||||
*/
|
||||
.margin-top-none {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.margin-top-half {
|
||||
margin-top: 16px !important;
|
||||
}
|
||||
|
||||
.margin-top-default {
|
||||
margin-top: 32px !important;
|
||||
}
|
||||
|
||||
.margin-right-none {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.margin-bottom-half {
|
||||
margin-bottom: 16px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-default {
|
||||
margin-bottom: 32px !important;
|
||||
}
|
||||
|
||||
.margin-left-none {
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
* Padding
|
||||
*/
|
||||
.padding-top-none {
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
|
||||
.padding-top-half {
|
||||
padding-top: 16px !important;
|
||||
}
|
||||
|
||||
.padding-top-default {
|
||||
padding-top: 32px !important;
|
||||
}
|
||||
|
||||
.padding-right-none {
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.padding-bottom-half {
|
||||
padding-bottom: 16px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-default {
|
||||
padding-bottom: 32px !important;
|
||||
}
|
||||
|
||||
.padding-left-none {
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
3689
mayland/style-rtl.css
Normal file
3689
mayland/style-rtl.css
Normal file
File diff suppressed because it is too large
Load diff
3718
mayland/style.css
Normal file
3718
mayland/style.css
Normal file
File diff suppressed because it is too large
Load diff
|
@ -99,6 +99,9 @@ if ( ! function_exists( 'maywood_setup' ) ) :
|
|||
),
|
||||
)
|
||||
);
|
||||
|
||||
// Enable Full Site Editing
|
||||
add_theme_support( 'full-site-editing');
|
||||
}
|
||||
endif;
|
||||
add_action( 'after_setup_theme', 'maywood_setup', 12 );
|
||||
|
|
252
maywood/inc/headstart/en.json
Normal file
252
maywood/inc/headstart/en.json
Normal file
File diff suppressed because one or more lines are too long
112
maywood/languages/maywood.pot
Normal file
112
maywood/languages/maywood.pot
Normal file
|
@ -0,0 +1,112 @@
|
|||
# Copyright (C) 2019 Automattic
|
||||
# This file is distributed under the GNU General Public License v2 or later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Maywood 1.1.1\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/support/theme/maywood\n"
|
||||
"POT-Creation-Date: 2019-08-28 16:20:11+00:00\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
||||
#: functions.php:30
|
||||
msgid "Small"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:31
|
||||
msgid "S"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:36
|
||||
msgid "Normal"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:37
|
||||
msgid "M"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:42
|
||||
msgid "Large"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:43
|
||||
msgid "L"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:48
|
||||
msgid "Huge"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:49
|
||||
msgid "XL"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:61
|
||||
msgid "Primary"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:66
|
||||
msgid "Secondary"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:71
|
||||
msgid "Black"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:76
|
||||
msgid "Dark Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:81
|
||||
msgid "Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:86
|
||||
msgid "Light Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:91
|
||||
msgid "Subtle Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:96
|
||||
msgid "White"
|
||||
msgstr ""
|
||||
|
||||
#. Translators: If there are characters in your language that are not supported
|
||||
#. by IBM Plex Sans, translate this to 'off'. Do not translate into your own
|
||||
#. language.
|
||||
#: functions.php:127
|
||||
msgctxt "IBM Plex Sans font: on or off"
|
||||
msgid "on"
|
||||
msgstr ""
|
||||
|
||||
#. Theme Name of the plugin/theme
|
||||
#: wp-content/themes/pub/maywood/style.css
|
||||
msgid "Maywood"
|
||||
msgstr ""
|
||||
|
||||
#. Theme URI of the plugin/theme
|
||||
#: wp-content/themes/pub/maywood/style.css
|
||||
msgid "https://github.com/Automattic/themes/tree/master/maywood"
|
||||
msgstr ""
|
||||
|
||||
#. Description of the plugin/theme
|
||||
#: wp-content/themes/pub/maywood/style.css
|
||||
msgid ""
|
||||
"Maywood is a refined theme designed for restaurants and food-related "
|
||||
"businesses seeking a modern look."
|
||||
msgstr ""
|
||||
|
||||
#. Author of the plugin/theme
|
||||
#: wp-content/themes/pub/maywood/style.css
|
||||
msgid "Automattic"
|
||||
msgstr ""
|
||||
|
||||
#. Author URI of the plugin/theme
|
||||
#: wp-content/themes/pub/maywood/style.css
|
||||
msgid "https://automattic.com/"
|
||||
msgstr ""
|
2635
maywood/package-lock.json
generated
2635
maywood/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -7,12 +7,12 @@
|
|||
},
|
||||
"homepage": "https://github.com/Automattic/themes/varia#readme",
|
||||
"devDependencies": {
|
||||
"@wordpress/browserslist-config": "^2.2.2",
|
||||
"autoprefixer": "^9.5.1",
|
||||
"chokidar-cli": "^1.2.2",
|
||||
"@wordpress/browserslist-config": "^2.6.0",
|
||||
"autoprefixer": "^9.6.1",
|
||||
"chokidar-cli": "^2.0.0",
|
||||
"node-sass": "^4.12.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss-cli": "^6.1.2",
|
||||
"postcss-cli": "^6.1.3",
|
||||
"postcss-focus-within": "^3.0.0",
|
||||
"rtlcss": "^2.4.0"
|
||||
},
|
||||
|
|
|
@ -38,7 +38,6 @@ $config-global: (
|
|||
"xxl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio),
|
||||
"xxxl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio),
|
||||
"xxxxl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio),
|
||||
"xxxxxl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio),
|
||||
),
|
||||
/* Letter Spacing */
|
||||
"letter-spacing": (
|
||||
|
|
|
@ -231,28 +231,28 @@ a {
|
|||
min-height: #{20 * map-deep-get($config-global, "spacing", "vertical")};
|
||||
|
||||
h1 {
|
||||
font-size: #{map-deep-get($config-global, "font", "size", "xxxxxl")};
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: #{map-deep-get($config-global, "font", "size", "xxxxl")};
|
||||
}
|
||||
|
||||
h3 {
|
||||
h2 {
|
||||
font-size: #{map-deep-get($config-global, "font", "size", "xxxl")};
|
||||
}
|
||||
|
||||
h4 {
|
||||
h3 {
|
||||
font-size: #{map-deep-get($config-global, "font", "size", "xxl")};
|
||||
}
|
||||
|
||||
h5 {
|
||||
h4 {
|
||||
font-size: #{map-deep-get($config-global, "font", "size", "xl")};
|
||||
}
|
||||
|
||||
h6 {
|
||||
h5 {
|
||||
font-size: #{map-deep-get($config-global, "font", "size", "lg")};
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: #{map-deep-get($config-global, "font", "size", "md")};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
66
maywood/sass/_full-site-editing-editor.scss
Normal file
66
maywood/sass/_full-site-editing-editor.scss
Normal file
|
@ -0,0 +1,66 @@
|
|||
@import "../../varia/sass/full-site-editing/editor";
|
||||
|
||||
.site-header, .site-footer {
|
||||
.site-title {
|
||||
font-size: 20px;
|
||||
@include media(mobile) {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.site-description {
|
||||
font-size: 13.8px;
|
||||
@include media(mobile) {
|
||||
font-size: 16.6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.site-header {
|
||||
.site-title {
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.site-description{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.main-navigation {
|
||||
text-align: center;
|
||||
ul {
|
||||
justify-content: center;
|
||||
a {
|
||||
font-size: 20px;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
.site-title {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.main-navigation .footer-menu {
|
||||
justify-content: center;
|
||||
|
||||
@include media(tablet) {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
a {
|
||||
font-size: 16.6px;
|
||||
text-decoration: none;
|
||||
@include media(mobile-only) {
|
||||
font-size: 13.8px;
|
||||
padding: 0 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.post-content__block {
|
||||
margin-top: -36px;
|
||||
}
|
37
maywood/sass/_full-site-editing.scss
Normal file
37
maywood/sass/_full-site-editing.scss
Normal file
|
@ -0,0 +1,37 @@
|
|||
@import "../../varia/sass/full-site-editing/imports";
|
||||
|
||||
.fse-enabled {
|
||||
.site-header.entry-content {
|
||||
margin-bottom: 0;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
|
||||
@include media(mobile-only) {
|
||||
.main-navigation > div {
|
||||
padding: 0 32px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
.wp-block-a8c-navigation-menu {
|
||||
@include media(tablet) {
|
||||
margin-bottom: #{ 0.666 * map-deep-get($config-global, "spacing", "vertical") };
|
||||
margin-top: #{ 0.666 * map-deep-get($config-global, "spacing", "vertical") };
|
||||
}
|
||||
@include media(mobile) {
|
||||
.footer-menu a {
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#colophon {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: none;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
|
@ -35,18 +35,22 @@
|
|||
/**
|
||||
* Extras
|
||||
*/
|
||||
$font_size_xxxxxl: map-deep-get($config-global, "font", "size", "xxxxxl");
|
||||
$font_size_xxxxl: map-deep-get($config-global, "font", "size", "xxxxl");
|
||||
$font_size_xxxl: map-deep-get($config-global, "font", "size", "xxxl");
|
||||
$font_size_xxl: map-deep-get($config-global, "font", "size", "xxl");
|
||||
$font_size_xl: map-deep-get($config-global, "font", "size", "xl");
|
||||
$font_size_lg: map-deep-get($config-global, "font", "size", "lg");
|
||||
$font_size_md: map-deep-get($config-global, "font", "size", "md");
|
||||
|
||||
html,
|
||||
body {
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
b, strong {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.editor-post-title__block .editor-post-title__input {
|
||||
font-weight: 300;
|
||||
text-align: center;
|
||||
|
@ -73,27 +77,33 @@ body {
|
|||
min-height: #{20 * map-deep-get($config-global, "spacing", "vertical")};
|
||||
|
||||
h1 {
|
||||
font-size: (strip-unit( $font_size_xxxxxl ) + 0em);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: (strip-unit( $font_size_xxxxl ) + 0em);
|
||||
}
|
||||
|
||||
h3 {
|
||||
h2 {
|
||||
font-size: (strip-unit( $font_size_xxxl ) + 0em);
|
||||
}
|
||||
|
||||
h4 {
|
||||
h3 {
|
||||
font-size: (strip-unit( $font_size_xxl ) + 0em);
|
||||
}
|
||||
|
||||
h5 {
|
||||
h4 {
|
||||
font-size: (strip-unit( $font_size_xl ) + 0em);
|
||||
}
|
||||
|
||||
h6 {
|
||||
h5 {
|
||||
font-size: (strip-unit( $font_size_lg ) + 0em);
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: (strip-unit( $font_size_md ) + 0em);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Full Site Editing
|
||||
* - Full Site Editing overrides
|
||||
*/
|
||||
@import "full-site-editing-editor";
|
||||
|
|
|
@ -5,7 +5,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: Maywood is a refined theme designed for restaurants and food-related businesses seeking a modern look.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.0.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -88,3 +88,9 @@ Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
|
|||
* Child Theme Extra Styles
|
||||
*/
|
||||
@import "extra-child-theme";
|
||||
|
||||
/**
|
||||
* Full Site Editing
|
||||
* - Full Site Editing overrides
|
||||
*/
|
||||
@import "full-site-editing";
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 405 KiB |
|
@ -1,3 +1,4 @@
|
|||
@charset "UTF-8";
|
||||
/**
|
||||
* These styles should be loaded by the Block Editor only
|
||||
*/
|
||||
|
@ -783,15 +784,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -807,15 +811,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -834,15 +841,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -858,15 +868,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -877,6 +890,10 @@ body {
|
|||
font-weight: 300;
|
||||
}
|
||||
|
||||
b, strong {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.editor-post-title__block .editor-post-title__input {
|
||||
font-weight: 300;
|
||||
text-align: center;
|
||||
|
@ -912,26 +929,637 @@ body {
|
|||
}
|
||||
.wp-block-cover h1,
|
||||
.wp-block-cover-image h1 {
|
||||
font-size: 3.58318em;
|
||||
font-size: 2.98598em;
|
||||
}
|
||||
.wp-block-cover h2,
|
||||
.wp-block-cover-image h2 {
|
||||
font-size: 2.98598em;
|
||||
font-size: 2.48832em;
|
||||
}
|
||||
.wp-block-cover h3,
|
||||
.wp-block-cover-image h3 {
|
||||
font-size: 2.48832em;
|
||||
font-size: 2.0736em;
|
||||
}
|
||||
.wp-block-cover h4,
|
||||
.wp-block-cover-image h4 {
|
||||
font-size: 2.0736em;
|
||||
font-size: 1.728em;
|
||||
}
|
||||
.wp-block-cover h5,
|
||||
.wp-block-cover-image h5 {
|
||||
font-size: 1.728em;
|
||||
font-size: 1.44em;
|
||||
}
|
||||
.wp-block-cover h6,
|
||||
.wp-block-cover-image h6 {
|
||||
font-size: 1.44em;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Full Site Editing
|
||||
* - Full Site Editing overrides
|
||||
*/
|
||||
.site-branding {
|
||||
color: #686868;
|
||||
}
|
||||
|
||||
.site-title {
|
||||
color: #181818;
|
||||
font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 1.2rem;
|
||||
letter-spacing: normal;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.site-title a {
|
||||
color: currentColor;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.site-title a:link, .site-title a:visited {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.site-title a:hover {
|
||||
color: #897248;
|
||||
}
|
||||
|
||||
.site-description {
|
||||
color: currentColor;
|
||||
font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 0.83333rem;
|
||||
}
|
||||
|
||||
.main-navigation {
|
||||
color: #181818;
|
||||
}
|
||||
|
||||
.main-navigation > div {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-navigation #toggle-menu {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.main-navigation #toggle:checked ~ div {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-navigation #toggle:focus + #toggle-menu {
|
||||
background-color: #897248;
|
||||
outline: inherit;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.main-navigation .dropdown-icon.close {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-navigation #toggle:checked + #toggle-menu .open {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-navigation #toggle:checked + #toggle-menu .close {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.main-navigation > div {
|
||||
display: block;
|
||||
}
|
||||
.main-navigation #toggle-menu {
|
||||
display: none;
|
||||
}
|
||||
.main-navigation > div > ul > li > ul {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation > div > ul {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
max-width: none;
|
||||
position: relative;
|
||||
/* Sub-menus Flyout */
|
||||
}
|
||||
|
||||
.main-navigation > div > ul li {
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.main-navigation > div > ul li:hover, .main-navigation > div > ul li[focus-within] {
|
||||
cursor: pointer;
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
.main-navigation > div > ul li:hover, .main-navigation > div > ul li:focus-within {
|
||||
cursor: pointer;
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.main-navigation > div > ul li {
|
||||
display: inherit;
|
||||
width: inherit;
|
||||
/* Submenu display */
|
||||
}
|
||||
.main-navigation > div > ul li:hover > ul,
|
||||
.main-navigation > div > ul li[focus-within] > ul,
|
||||
.main-navigation > div > ul li ul:hover,
|
||||
.main-navigation > div > ul li ul:focus {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
display: block;
|
||||
}
|
||||
.main-navigation > div > ul li:hover > ul,
|
||||
.main-navigation > div > ul li:focus-within > ul,
|
||||
.main-navigation > div > ul li ul:hover,
|
||||
.main-navigation > div > ul li ul:focus {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.main-navigation > div > ul > li > a {
|
||||
line-height: 1;
|
||||
}
|
||||
.main-navigation > div > ul > li > a:before, .main-navigation > div > ul > li > a:after {
|
||||
content: '';
|
||||
display: block;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
.main-navigation > div > ul > li > a:before {
|
||||
margin-bottom: -0.12em;
|
||||
}
|
||||
.main-navigation > div > ul > li > a:after {
|
||||
margin-top: -0.11em;
|
||||
}
|
||||
.main-navigation > div > ul > li:first-of-type > a {
|
||||
padding-left: 0;
|
||||
}
|
||||
.main-navigation > div > ul > li:last-of-type > a {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation > div > ul > li > .sub-menu {
|
||||
margin: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.main-navigation > div > ul > li > .sub-menu {
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.1);
|
||||
left: 0;
|
||||
top: 100%;
|
||||
min-width: max-content;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
transition: all 0.5s ease;
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation > div > ul > li > .sub-menu .sub-menu {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.main-navigation a {
|
||||
color: #181818;
|
||||
display: block;
|
||||
font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 1rem;
|
||||
font-weight: 700;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.main-navigation a {
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation a:link, .main-navigation a:visited {
|
||||
color: #181818;
|
||||
}
|
||||
|
||||
.main-navigation a:hover {
|
||||
color: #897248;
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu {
|
||||
list-style: none;
|
||||
margin-left: 0;
|
||||
/* Reset the counter for each UL */
|
||||
counter-reset: nested-list;
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu .menu-item a {
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu .menu-item a::before {
|
||||
/* Increment the dashes */
|
||||
counter-increment: nested-list;
|
||||
/* Insert dashes with spaces in between */
|
||||
content: "– " counters(nested-list, "– ", none);
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.main-navigation > div > ul > .menu-item-has-children > a::after {
|
||||
content: "\00a0\25BC";
|
||||
display: inline-block;
|
||||
font-size: 0.69444rem;
|
||||
height: inherit;
|
||||
width: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation .hide-visually {
|
||||
position: absolute !important;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
padding: 0 !important;
|
||||
border: 0 !important;
|
||||
height: 1px !important;
|
||||
width: 1px !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.social-navigation > div > ul {
|
||||
align-content: center;
|
||||
display: flex;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.social-navigation > div > ul > li:first-of-type > a {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.social-navigation > div > ul > li:last-of-type > a {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.social-navigation a {
|
||||
color: #181818;
|
||||
display: inline-block;
|
||||
padding: 0 calc( 0.5 * calc(0.66 * 16px ));
|
||||
}
|
||||
|
||||
.social-navigation a:hover {
|
||||
color: #897248;
|
||||
}
|
||||
|
||||
.social-navigation svg {
|
||||
fill: currentColor;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.site-footer {
|
||||
align-items: flex-end;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
.site-info {
|
||||
color: #686868;
|
||||
font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 0.83333rem;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.site-info {
|
||||
order: 1;
|
||||
flex: 1 0 50%;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.site-info .site-name {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.site-info a {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.site-info a:link, .site-info a:visited {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.site-info a:hover {
|
||||
color: #685636;
|
||||
}
|
||||
|
||||
.footer-navigation, .site-footer .main-navigation {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.footer-navigation, .site-footer .main-navigation {
|
||||
flex: 1 0 50%;
|
||||
order: 2;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-navigation > div, .site-footer .main-navigation > div {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu, .site-footer .main-navigation .footer-menu {
|
||||
color: #686868;
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.footer-navigation .footer-menu, .site-footer .main-navigation .footer-menu {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu > li, .site-footer .main-navigation .footer-menu > li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu > li:first-of-type > a, .site-footer .main-navigation .footer-menu > li:first-of-type > a {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu > li:last-of-type, .site-footer .main-navigation .footer-menu > li:last-of-type {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu a, .site-footer .main-navigation .footer-menu a {
|
||||
font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 0.83333rem;
|
||||
font-weight: 700;
|
||||
padding: 8px;
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu a:link, .site-footer .main-navigation .footer-menu a:link, .footer-navigation .footer-menu a:visited, .site-footer .main-navigation .footer-menu a:visited {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu a:hover, .site-footer .main-navigation .footer-menu a:hover {
|
||||
color: #685636;
|
||||
}
|
||||
|
||||
.template-block .site-header,
|
||||
.template-block .site-footer {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.template-block .site-header,
|
||||
.template-block .site-footer {
|
||||
padding: 32px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.a8c-template-editor .wp-block:not(.is-selected) [data-block] {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.a8c-template-editor .wp-block:not(:first-child):not(.is-selected) [data-block] {
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.site-header .site-title {
|
||||
font-size: 21.6px;
|
||||
font-weight: 700;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.site-header .site-title:focus {
|
||||
color: #181818;
|
||||
}
|
||||
|
||||
.site-header .site-description {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.site-header .main-navigation {
|
||||
/**
|
||||
* Placeholder button style
|
||||
* - Since buttons appear in various blocks,
|
||||
* let’s use a placeholder to keep them all
|
||||
* in-sync
|
||||
*/
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
}
|
||||
|
||||
.site-header .main-navigation button,
|
||||
.site-header .main-navigation .button,
|
||||
.site-header .main-navigation input[type="submit"],
|
||||
.site-header .main-navigation .wp-block-button__link,
|
||||
.site-header .main-navigation .wp-block-file__button {
|
||||
line-height: 1;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 0.83333rem;
|
||||
background-color: #897248;
|
||||
border-radius: 5px;
|
||||
border-width: 0;
|
||||
padding: 16px 16px;
|
||||
}
|
||||
|
||||
.site-header .main-navigation button:before,
|
||||
.site-header .main-navigation .button:before,
|
||||
.site-header .main-navigation input[type="submit"]:before,
|
||||
.site-header .main-navigation .wp-block-button__link:before,
|
||||
.site-header .main-navigation .wp-block-file__button:before, .site-header .main-navigation button:after,
|
||||
.site-header .main-navigation .button:after,
|
||||
.site-header .main-navigation input[type="submit"]:after,
|
||||
.site-header .main-navigation .wp-block-button__link:after,
|
||||
.site-header .main-navigation .wp-block-file__button:after {
|
||||
content: '';
|
||||
display: block;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.site-header .main-navigation button:before,
|
||||
.site-header .main-navigation .button:before,
|
||||
.site-header .main-navigation input[type="submit"]:before,
|
||||
.site-header .main-navigation .wp-block-button__link:before,
|
||||
.site-header .main-navigation .wp-block-file__button:before {
|
||||
margin-bottom: -0.12em;
|
||||
}
|
||||
|
||||
.site-header .main-navigation button:after,
|
||||
.site-header .main-navigation .button:after,
|
||||
.site-header .main-navigation input[type="submit"]:after,
|
||||
.site-header .main-navigation .wp-block-button__link:after,
|
||||
.site-header .main-navigation .wp-block-file__button:after {
|
||||
margin-top: -0.11em;
|
||||
}
|
||||
|
||||
.site-header .main-navigation button:hover,
|
||||
.site-header .main-navigation .button:hover,
|
||||
.site-header .main-navigation input:hover[type="submit"],
|
||||
.site-header .main-navigation .wp-block-button__link:hover,
|
||||
.site-header .main-navigation .wp-block-file__button:hover, .site-header .main-navigation button:focus,
|
||||
.site-header .main-navigation .button:focus,
|
||||
.site-header .main-navigation input:focus[type="submit"],
|
||||
.site-header .main-navigation .wp-block-button__link:focus,
|
||||
.site-header .main-navigation .wp-block-file__button:focus, .site-header .main-navigation button.has-focus,
|
||||
.site-header .main-navigation .has-focus.button,
|
||||
.site-header .main-navigation input.has-focus[type="submit"],
|
||||
.site-header .main-navigation .has-focus.wp-block-button__link,
|
||||
.site-header .main-navigation .has-focus.wp-block-file__button {
|
||||
color: white;
|
||||
background-color: #685636;
|
||||
}
|
||||
|
||||
.site-header .main-navigation .wp-block-button.is-style-outline .wp-block-button__link {
|
||||
color: #897248;
|
||||
background: transparent;
|
||||
border: 2px solid currentcolor;
|
||||
padding: 14px 16px;
|
||||
}
|
||||
|
||||
.site-header .main-navigation .wp-block-button.is-style-outline .wp-block-button__link:hover, .site-header .main-navigation .wp-block-button.is-style-outline .wp-block-button__link:focus, .site-header .main-navigation .wp-block-button.is-style-outline .wp-block-button__link.has-focus {
|
||||
color: #685636;
|
||||
}
|
||||
|
||||
.site-header .main-navigation .wp-block-button.is-style-squared .wp-block-button__link {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.site-header .main-navigation a {
|
||||
font-size: 21.6px;
|
||||
}
|
||||
|
||||
.post-content__block {
|
||||
margin-bottom: 160px;
|
||||
margin-top: 36px;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.site-footer {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.site-footer .main-navigation {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.site-footer .main-navigation .hide-visually,
|
||||
.site-footer .main-navigation #toggle-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 559px) {
|
||||
.site-footer .main-navigation > div {
|
||||
display: block;
|
||||
}
|
||||
.site-footer .main-navigation li {
|
||||
width: auto;
|
||||
}
|
||||
.site-footer .main-navigation li .sub-menu {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.site-header .site-title, .site-footer .site-title {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.site-header .site-title, .site-footer .site-title {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.site-header .site-description, .site-footer .site-description {
|
||||
font-size: 13.8px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.site-header .site-description, .site-footer .site-description {
|
||||
font-size: 16.6px;
|
||||
}
|
||||
}
|
||||
|
||||
.site-header .site-title {
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.site-header .site-description {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.site-header .main-navigation {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.site-header .main-navigation ul {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.site-header .main-navigation ul a {
|
||||
font-size: 20px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.site-footer .site-title {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.site-footer .main-navigation .footer-menu {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.site-footer .main-navigation .footer-menu {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
.site-footer .main-navigation .footer-menu a {
|
||||
font-size: 16.6px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 559px) {
|
||||
.site-footer .main-navigation .footer-menu a {
|
||||
font-size: 13.8px;
|
||||
padding: 0 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.post-content__block {
|
||||
margin-top: -36px;
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: Maywood is a refined theme designed for restaurants and food-related businesses seeking a modern look.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.0.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -1896,25 +1896,19 @@ p.has-background {
|
|||
}
|
||||
|
||||
hr {
|
||||
border-bottom-color: #CCCCCC;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom: 2px solid #CCCCCC;
|
||||
clear: both;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator {
|
||||
border-bottom-color: #CCCCCC;
|
||||
border-bottom: 2px solid #CCCCCC;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-wide {
|
||||
border-bottom-color: #CCCCCC;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-dots:before {
|
||||
color: #CCCCCC;
|
||||
font-size: 1.728rem;
|
||||
|
@ -2018,10 +2012,6 @@ table th,
|
|||
/**
|
||||
* .aligndefault
|
||||
*/
|
||||
.entry-content [class*="inner-container"] {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* .alignwide
|
||||
*/
|
||||
|
@ -2198,15 +2188,15 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -2222,15 +2212,15 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2249,15 +2239,15 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -2273,15 +2263,15 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2604,12 +2594,12 @@ table th,
|
|||
color: #685636;
|
||||
}
|
||||
|
||||
.footer-navigation {
|
||||
.footer-navigation, .fse-enabled .site-footer .main-navigation {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.footer-navigation {
|
||||
.footer-navigation, .fse-enabled .site-footer .main-navigation {
|
||||
flex: 1 0 50%;
|
||||
order: 2;
|
||||
margin-top: 0;
|
||||
|
@ -2618,37 +2608,37 @@ table th,
|
|||
}
|
||||
}
|
||||
|
||||
.footer-navigation > div {
|
||||
.footer-navigation > div, .fse-enabled .site-footer .main-navigation > div {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu {
|
||||
.footer-navigation .footer-menu, .fse-enabled .site-footer .main-navigation .footer-menu {
|
||||
color: #686868;
|
||||
margin: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.footer-navigation .footer-menu {
|
||||
.footer-navigation .footer-menu, .fse-enabled .site-footer .main-navigation .footer-menu {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu > li {
|
||||
.footer-navigation .footer-menu > li, .fse-enabled .site-footer .main-navigation .footer-menu > li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu > li:first-of-type > a {
|
||||
.footer-navigation .footer-menu > li:first-of-type > a, .fse-enabled .site-footer .main-navigation .footer-menu > li:first-of-type > a {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu > li:last-of-type {
|
||||
.footer-navigation .footer-menu > li:last-of-type, .fse-enabled .site-footer .main-navigation .footer-menu > li:last-of-type {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu a {
|
||||
.footer-navigation .footer-menu a, .fse-enabled .site-footer .main-navigation .footer-menu a {
|
||||
font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 0.83333rem;
|
||||
font-weight: 700;
|
||||
|
@ -2656,11 +2646,11 @@ table th,
|
|||
color: currentColor;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu a:link, .footer-navigation .footer-menu a:visited {
|
||||
.footer-navigation .footer-menu a:link, .fse-enabled .site-footer .main-navigation .footer-menu a:link, .footer-navigation .footer-menu a:visited, .fse-enabled .site-footer .main-navigation .footer-menu a:visited {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu a:hover {
|
||||
.footer-navigation .footer-menu a:hover, .fse-enabled .site-footer .main-navigation .footer-menu a:hover {
|
||||
color: #685636;
|
||||
}
|
||||
|
||||
|
@ -3641,27 +3631,27 @@ p:not(.site-title) a:hover {
|
|||
}
|
||||
.wp-block-cover h1,
|
||||
.wp-block-cover-image h1 {
|
||||
font-size: 3.58318rem;
|
||||
font-size: 2.98598rem;
|
||||
}
|
||||
.wp-block-cover h2,
|
||||
.wp-block-cover-image h2 {
|
||||
font-size: 2.98598rem;
|
||||
font-size: 2.48832rem;
|
||||
}
|
||||
.wp-block-cover h3,
|
||||
.wp-block-cover-image h3 {
|
||||
font-size: 2.48832rem;
|
||||
font-size: 2.0736rem;
|
||||
}
|
||||
.wp-block-cover h4,
|
||||
.wp-block-cover-image h4 {
|
||||
font-size: 2.0736rem;
|
||||
font-size: 1.728rem;
|
||||
}
|
||||
.wp-block-cover h5,
|
||||
.wp-block-cover-image h5 {
|
||||
font-size: 1.728rem;
|
||||
font-size: 1.44rem;
|
||||
}
|
||||
.wp-block-cover h6,
|
||||
.wp-block-cover-image h6 {
|
||||
font-size: 1.44rem;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3770,10 +3760,76 @@ p:not(.site-title) a:hover {
|
|||
/**
|
||||
* Footer Navigation
|
||||
*/
|
||||
.footer-navigation .footer-menu a {
|
||||
.footer-navigation .footer-menu a, .fse-enabled .site-footer .main-navigation .footer-menu a {
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu > li:last-of-type {
|
||||
.footer-navigation .footer-menu > li:last-of-type, .fse-enabled .site-footer .main-navigation .footer-menu > li:last-of-type {
|
||||
margin-left: -8px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Full Site Editing
|
||||
* - Full Site Editing overrides
|
||||
*/
|
||||
.fse-enabled .site-footer {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.fse-enabled .site-footer .main-navigation {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.fse-enabled .site-footer .main-navigation .hide-visually,
|
||||
.fse-enabled .site-footer .main-navigation #toggle-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 559px) {
|
||||
.fse-enabled .site-footer .main-navigation > div {
|
||||
display: block;
|
||||
}
|
||||
.fse-enabled .site-footer .main-navigation li {
|
||||
width: auto;
|
||||
}
|
||||
.fse-enabled .site-footer .main-navigation li .sub-menu {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.fse-enabled .site-footer .site-info {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.fse-enabled .site-header.entry-content {
|
||||
margin-bottom: 0;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 559px) {
|
||||
.fse-enabled .site-header.entry-content .main-navigation > div {
|
||||
padding: 0 32px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.fse-enabled .site-footer .wp-block-a8c-navigation-menu {
|
||||
margin-bottom: 21.312px;
|
||||
margin-top: 21.312px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.fse-enabled .site-footer .wp-block-a8c-navigation-menu .footer-menu a {
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.fse-enabled #colophon {
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
max-width: none;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ Author: Automattic
|
|||
Author URI: https://automattic.com/
|
||||
Description: Maywood is a refined theme designed for restaurants and food-related businesses seeking a modern look.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Version: 1.0.0
|
||||
Version: 1.1.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Template: varia
|
||||
|
@ -1896,25 +1896,19 @@ p.has-background {
|
|||
}
|
||||
|
||||
hr {
|
||||
border-bottom-color: #CCCCCC;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom: 2px solid #CCCCCC;
|
||||
clear: both;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator {
|
||||
border-bottom-color: #CCCCCC;
|
||||
border-bottom: 2px solid #CCCCCC;
|
||||
/**
|
||||
* Block Options
|
||||
*/
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-wide {
|
||||
border-bottom-color: #CCCCCC;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator.is-style-dots:before {
|
||||
color: #CCCCCC;
|
||||
font-size: 1.728rem;
|
||||
|
@ -2023,10 +2017,6 @@ table th,
|
|||
/**
|
||||
* .aligndefault
|
||||
*/
|
||||
.entry-content [class*="inner-container"] {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* .alignwide
|
||||
*/
|
||||
|
@ -2203,15 +2193,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-right-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.margin-right-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 16px !important;
|
||||
}
|
||||
|
||||
.margin-right-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 32px !important;
|
||||
}
|
||||
|
||||
.margin-bottom-none {
|
||||
|
@ -2227,15 +2220,18 @@ table th,
|
|||
}
|
||||
|
||||
.margin-left-none {
|
||||
margin-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.margin-left-half {
|
||||
margin-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
.margin-left-default {
|
||||
margin-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 32px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2254,15 +2250,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-right-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.padding-right-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 16px !important;
|
||||
}
|
||||
|
||||
.padding-right-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
|
@ -2278,15 +2277,18 @@ table th,
|
|||
}
|
||||
|
||||
.padding-left-none {
|
||||
padding-top: 0 !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.padding-left-half {
|
||||
padding-top: 16px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
/*rtl:ignore*/
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2609,12 +2611,12 @@ table th,
|
|||
color: #685636;
|
||||
}
|
||||
|
||||
.footer-navigation {
|
||||
.footer-navigation, .fse-enabled .site-footer .main-navigation {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.footer-navigation {
|
||||
.footer-navigation, .fse-enabled .site-footer .main-navigation {
|
||||
flex: 1 0 50%;
|
||||
order: 2;
|
||||
margin-top: 0;
|
||||
|
@ -2623,37 +2625,37 @@ table th,
|
|||
}
|
||||
}
|
||||
|
||||
.footer-navigation > div {
|
||||
.footer-navigation > div, .fse-enabled .site-footer .main-navigation > div {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu {
|
||||
.footer-navigation .footer-menu, .fse-enabled .site-footer .main-navigation .footer-menu {
|
||||
color: #686868;
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.footer-navigation .footer-menu {
|
||||
.footer-navigation .footer-menu, .fse-enabled .site-footer .main-navigation .footer-menu {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu > li {
|
||||
.footer-navigation .footer-menu > li, .fse-enabled .site-footer .main-navigation .footer-menu > li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu > li:first-of-type > a {
|
||||
.footer-navigation .footer-menu > li:first-of-type > a, .fse-enabled .site-footer .main-navigation .footer-menu > li:first-of-type > a {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu > li:last-of-type {
|
||||
.footer-navigation .footer-menu > li:last-of-type, .fse-enabled .site-footer .main-navigation .footer-menu > li:last-of-type {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu a {
|
||||
.footer-navigation .footer-menu a, .fse-enabled .site-footer .main-navigation .footer-menu a {
|
||||
font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 0.83333rem;
|
||||
font-weight: 700;
|
||||
|
@ -2661,11 +2663,11 @@ table th,
|
|||
color: currentColor;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu a:link, .footer-navigation .footer-menu a:visited {
|
||||
.footer-navigation .footer-menu a:link, .fse-enabled .site-footer .main-navigation .footer-menu a:link, .footer-navigation .footer-menu a:visited, .fse-enabled .site-footer .main-navigation .footer-menu a:visited {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu a:hover {
|
||||
.footer-navigation .footer-menu a:hover, .fse-enabled .site-footer .main-navigation .footer-menu a:hover {
|
||||
color: #685636;
|
||||
}
|
||||
|
||||
|
@ -3658,27 +3660,27 @@ p:not(.site-title) a:hover {
|
|||
}
|
||||
.wp-block-cover h1,
|
||||
.wp-block-cover-image h1 {
|
||||
font-size: 3.58318rem;
|
||||
font-size: 2.98598rem;
|
||||
}
|
||||
.wp-block-cover h2,
|
||||
.wp-block-cover-image h2 {
|
||||
font-size: 2.98598rem;
|
||||
font-size: 2.48832rem;
|
||||
}
|
||||
.wp-block-cover h3,
|
||||
.wp-block-cover-image h3 {
|
||||
font-size: 2.48832rem;
|
||||
font-size: 2.0736rem;
|
||||
}
|
||||
.wp-block-cover h4,
|
||||
.wp-block-cover-image h4 {
|
||||
font-size: 2.0736rem;
|
||||
font-size: 1.728rem;
|
||||
}
|
||||
.wp-block-cover h5,
|
||||
.wp-block-cover-image h5 {
|
||||
font-size: 1.728rem;
|
||||
font-size: 1.44rem;
|
||||
}
|
||||
.wp-block-cover h6,
|
||||
.wp-block-cover-image h6 {
|
||||
font-size: 1.44rem;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3787,10 +3789,76 @@ p:not(.site-title) a:hover {
|
|||
/**
|
||||
* Footer Navigation
|
||||
*/
|
||||
.footer-navigation .footer-menu a {
|
||||
.footer-navigation .footer-menu a, .fse-enabled .site-footer .main-navigation .footer-menu a {
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
.footer-navigation .footer-menu > li:last-of-type {
|
||||
.footer-navigation .footer-menu > li:last-of-type, .fse-enabled .site-footer .main-navigation .footer-menu > li:last-of-type {
|
||||
margin-right: -8px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Full Site Editing
|
||||
* - Full Site Editing overrides
|
||||
*/
|
||||
.fse-enabled .site-footer {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.fse-enabled .site-footer .main-navigation {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.fse-enabled .site-footer .main-navigation .hide-visually,
|
||||
.fse-enabled .site-footer .main-navigation #toggle-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 559px) {
|
||||
.fse-enabled .site-footer .main-navigation > div {
|
||||
display: block;
|
||||
}
|
||||
.fse-enabled .site-footer .main-navigation li {
|
||||
width: auto;
|
||||
}
|
||||
.fse-enabled .site-footer .main-navigation li .sub-menu {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.fse-enabled .site-footer .site-info {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.fse-enabled .site-header.entry-content {
|
||||
margin-bottom: 0;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 559px) {
|
||||
.fse-enabled .site-header.entry-content .main-navigation > div {
|
||||
padding: 0 32px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
.fse-enabled .site-footer .wp-block-a8c-navigation-menu {
|
||||
margin-bottom: 21.312px;
|
||||
margin-top: 21.312px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.fse-enabled .site-footer .wp-block-a8c-navigation-menu .footer-menu a {
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.fse-enabled #colophon {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: none;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
|
@ -20,14 +20,7 @@
|
|||
</div><!-- #content -->
|
||||
|
||||
<footer id="colophon" class="site-footer">
|
||||
<?php
|
||||
if ( class_exists( 'A8C\FSE\WP_Template' ) ) {
|
||||
$template = new A8C\FSE\WP_Template();
|
||||
$template->output_template_content( A8C\FSE\WP_Template::FOOTER );
|
||||
} else {
|
||||
get_template_part( 'template-parts/footer/footer', 'widgets' );
|
||||
}
|
||||
?>
|
||||
<?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?>
|
||||
|
||||
<div class="site-info">
|
||||
<?php $blog_info = get_bloginfo( 'name' ); ?>
|
||||
|
@ -43,29 +36,26 @@
|
|||
?>
|
||||
</a>
|
||||
|
||||
<?php if ( !class_exists( 'A8C\FSE\WP_Template' ) ) : ?>
|
||||
|
||||
<?php
|
||||
if ( function_exists( 'the_privacy_policy_link' ) ) {
|
||||
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if ( has_nav_menu( 'footer' ) ) : ?>
|
||||
<nav class="footer-navigation" aria-label="<?php esc_attr_e( 'Footer Menu', 'twentynineteen' ); ?>">
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'footer',
|
||||
'menu_class' => 'footer-menu',
|
||||
'depth' => 1,
|
||||
)
|
||||
);
|
||||
?>
|
||||
</nav><!-- .footer-navigation -->
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if ( function_exists( 'the_privacy_policy_link' ) ) {
|
||||
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if ( has_nav_menu( 'footer' ) ) : ?>
|
||||
<nav class="footer-navigation" aria-label="<?php esc_attr_e( 'Footer Menu', 'twentynineteen' ); ?>">
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'footer',
|
||||
'menu_class' => 'footer-menu',
|
||||
'depth' => 1,
|
||||
)
|
||||
);
|
||||
?>
|
||||
</nav><!-- .footer-navigation -->
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- .site-info -->
|
||||
|
||||
</footer><!-- #colophon -->
|
||||
|
|
|
@ -24,20 +24,6 @@
|
|||
<div id="page" class="site">
|
||||
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentynineteen' ); ?></a>
|
||||
|
||||
<?php // If FSE plugin is active, use Header template for content. ?>
|
||||
<?php if( class_exists( 'A8C\FSE\WP_Template' ) ) : ?>
|
||||
<header id="masthead" class="<?php echo is_singular() && twentynineteen_can_show_post_thumbnail() ? 'site-header featured-image' : 'site-header'; ?>">
|
||||
<?php
|
||||
$template = new A8C\FSE\WP_Template();
|
||||
$template->output_template_content( A8C\FSE\WP_Template::HEADER );
|
||||
?>
|
||||
</header>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php // Otherwise we'll fall back to default Twenty Nineteen header below. ?>
|
||||
|
||||
<?php if( ! class_exists( 'A8C\FSE\WP_Template' ) ) : ?>
|
||||
|
||||
<header id="masthead" class="<?php echo is_singular() && twentynineteen_can_show_post_thumbnail() ? 'site-header featured-image' : 'site-header'; ?>">
|
||||
<div class="site-branding-container">
|
||||
<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
|
||||
|
@ -62,6 +48,5 @@
|
|||
</div>
|
||||
<?php endif; ?>
|
||||
</header><!-- #masthead -->
|
||||
<?php endif; ?>
|
||||
|
||||
<div id="content" class="site-content">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# This file is distributed under the GNU General Public License v2 or later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Modern Business 1.0\n"
|
||||
"Project-Id-Version: Modern Business 1.7\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/support/theme/modern-business\n"
|
||||
"POT-Creation-Date: 2019-02-01 00:04:35+00:00\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
|
41
modern-business/package-lock.json
generated
41
modern-business/package-lock.json
generated
|
@ -1180,7 +1180,8 @@
|
|||
"version": "2.1.1",
|
||||
"resolved": false,
|
||||
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"aproba": {
|
||||
"version": "1.2.0",
|
||||
|
@ -1204,13 +1205,15 @@
|
|||
"version": "1.0.0",
|
||||
"resolved": false,
|
||||
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"brace-expansion": {
|
||||
"version": "1.1.11",
|
||||
"resolved": false,
|
||||
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"balanced-match": "^1.0.0",
|
||||
"concat-map": "0.0.1"
|
||||
|
@ -1227,19 +1230,22 @@
|
|||
"version": "1.1.0",
|
||||
"resolved": false,
|
||||
"integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"concat-map": {
|
||||
"version": "0.0.1",
|
||||
"resolved": false,
|
||||
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"console-control-strings": {
|
||||
"version": "1.1.0",
|
||||
"resolved": false,
|
||||
"integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"core-util-is": {
|
||||
"version": "1.0.2",
|
||||
|
@ -1370,7 +1376,8 @@
|
|||
"version": "2.0.3",
|
||||
"resolved": false,
|
||||
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"ini": {
|
||||
"version": "1.3.5",
|
||||
|
@ -1384,6 +1391,7 @@
|
|||
"resolved": false,
|
||||
"integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"number-is-nan": "^1.0.0"
|
||||
}
|
||||
|
@ -1400,6 +1408,7 @@
|
|||
"resolved": false,
|
||||
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
}
|
||||
|
@ -1408,13 +1417,15 @@
|
|||
"version": "0.0.8",
|
||||
"resolved": false,
|
||||
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"minipass": {
|
||||
"version": "2.3.5",
|
||||
"resolved": false,
|
||||
"integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"safe-buffer": "^5.1.2",
|
||||
"yallist": "^3.0.0"
|
||||
|
@ -1435,6 +1446,7 @@
|
|||
"resolved": false,
|
||||
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"minimist": "0.0.8"
|
||||
}
|
||||
|
@ -1523,7 +1535,8 @@
|
|||
"version": "1.0.1",
|
||||
"resolved": false,
|
||||
"integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"object-assign": {
|
||||
"version": "4.1.1",
|
||||
|
@ -1537,6 +1550,7 @@
|
|||
"resolved": false,
|
||||
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"wrappy": "1"
|
||||
}
|
||||
|
@ -1632,7 +1646,8 @@
|
|||
"version": "5.1.2",
|
||||
"resolved": false,
|
||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"safer-buffer": {
|
||||
"version": "2.1.2",
|
||||
|
@ -1674,6 +1689,7 @@
|
|||
"resolved": false,
|
||||
"integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"code-point-at": "^1.0.0",
|
||||
"is-fullwidth-code-point": "^1.0.0",
|
||||
|
@ -1695,6 +1711,7 @@
|
|||
"resolved": false,
|
||||
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"ansi-regex": "^2.0.0"
|
||||
}
|
||||
|
@ -1743,13 +1760,15 @@
|
|||
"version": "1.0.2",
|
||||
"resolved": false,
|
||||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"yallist": {
|
||||
"version": "3.0.3",
|
||||
"resolved": false,
|
||||
"integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==",
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
/* !Block styles */
|
||||
|
||||
.entry .entry-content > *,
|
||||
.entry .entry-summary > *,
|
||||
.fse-enabled .site-header > * {
|
||||
.entry .entry-summary > * {
|
||||
margin: $size__vertical-spacing-unit 0;
|
||||
max-width: 100%;
|
||||
|
||||
|
@ -97,9 +96,7 @@
|
|||
/*
|
||||
* Make sure the first block has margin-top: 0
|
||||
*/
|
||||
.entry:not(.has-post-thumbnail) .entry-content > :first-child,
|
||||
.fse-enabled .site-header > :first-child,
|
||||
.fse-enabled .site-footer > :first-child {
|
||||
.entry:not(.has-post-thumbnail) .entry-content > :first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
|
@ -126,9 +123,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.entry .entry-content,
|
||||
.fse-enabled .site-header,
|
||||
.fse-enabled .site-footer {
|
||||
.entry .entry-content {
|
||||
|
||||
//! Headers
|
||||
& > h1,
|
||||
|
@ -1264,35 +1259,3 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fse-enabled .site-footer {
|
||||
|
||||
padding: $size__spacing-unit $size__vertical-spacing-unit;
|
||||
|
||||
@include media(tablet) {
|
||||
padding: $size__spacing-unit 0;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
margin: $size__vertical-spacing-unit 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.wp-block-button, p {
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
.wp-block-separator {
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
&#colophon .site-info {
|
||||
text-align: left;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,73 +0,0 @@
|
|||
.a8c-template-editor, .template-block {
|
||||
&.site-branding, &.site-footer {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.wp-block[data-align='full'] {
|
||||
left: calc( -12.5% - 12px );
|
||||
max-width: calc( 125% + 114px );
|
||||
width: calc( 125% + 114px );
|
||||
}
|
||||
|
||||
.template__site-logo .components-placeholder.block-editor-media-placeholder {
|
||||
margin: 0 auto;
|
||||
max-width: 380px;
|
||||
}
|
||||
|
||||
.wp-block-a8c-site-description {
|
||||
color: $color__text-main;
|
||||
font-size: $font__size-xs;
|
||||
font-weight: 300;
|
||||
// Line height rounded up from the description text-size set in style.css.
|
||||
// It needs to be a bit larger to prevent text from getting cropped on top.
|
||||
line-height: 0.8em;
|
||||
margin: 0;
|
||||
order: 1;
|
||||
text-align: center;
|
||||
}
|
||||
[data-type='a8c/site-description'] [data-block] {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.wp-block-a8c-site-title {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
[data-type='a8c/site-title'] [data-block] {
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.wp-block-a8c-navigation-menu {
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
&.site-header .wp-block-a8c-navigation-menu {
|
||||
text-align: center;
|
||||
}
|
||||
&.site-footer .wp-block-a8c-navigation-menu {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
&.site-footer {
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.wp-block-separator {
|
||||
margin: 16px 0;
|
||||
}
|
||||
.wp-block-a8c-navigation-menu {
|
||||
margin-top: 0.6rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.template-block .site-header {
|
||||
margin-bottom: 2rem;
|
||||
}
|
|
@ -6,11 +6,6 @@
|
|||
margin-top: #{0.6 * $size__spacing-unit};
|
||||
order: 3;
|
||||
|
||||
body.fse-enabled & {
|
||||
// With FSE, we want the placement of the nav menu to be set in gutenberg:
|
||||
order: initial;
|
||||
}
|
||||
|
||||
body.page & {
|
||||
display: block;
|
||||
}
|
||||
|
|
|
@ -24,18 +24,6 @@
|
|||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.fse-site-logo {
|
||||
margin-bottom: 0;
|
||||
img {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fse-enabled .site-header .wp-block-image.alignfull {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
// Site branding
|
||||
|
|
|
@ -12,740 +12,6 @@ Modern Business Editor Styles
|
|||
/* Fallback for non-latin fonts */
|
||||
/* Calculates maximum width for post content */
|
||||
/* Nested sub-menu padding: 10 levels deep */
|
||||
.site-header {
|
||||
padding: 1em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.site-header.featured-image {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
min-height: 90vh;
|
||||
}
|
||||
|
||||
.site-header.featured-image .site-branding-container {
|
||||
margin-bottom: auto;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.site-header {
|
||||
margin: 0;
|
||||
padding: 2rem 0;
|
||||
}
|
||||
.site-header.featured-image {
|
||||
min-height: 100vh;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.site-header .fse-site-logo {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.site-header .fse-site-logo img {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.fse-enabled .site-header .wp-block-image.alignfull {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
.site-branding {
|
||||
color: #686868;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.site-branding {
|
||||
margin: 0 calc(10% + 60px);
|
||||
}
|
||||
}
|
||||
|
||||
.site-logo {
|
||||
order: 2;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.site-logo .custom-logo-link {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.site-logo .custom-logo-link .custom-logo {
|
||||
max-height: 50px;
|
||||
vertical-align: top;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.site-logo .custom-logo-link .custom-logo {
|
||||
max-height: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
.site-logo + .site-title,
|
||||
.featured-image .site-logo + .site-title {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.site-title {
|
||||
color: #181818;
|
||||
margin: 0;
|
||||
order: 2;
|
||||
/* When there is no description set, make sure navigation appears below title. */
|
||||
}
|
||||
|
||||
.site-title a {
|
||||
color: #181818;
|
||||
}
|
||||
|
||||
.site-title a:link, .site-title a:visited {
|
||||
color: #181818;
|
||||
}
|
||||
|
||||
.site-title a:hover {
|
||||
color: #4a4a4a;
|
||||
}
|
||||
|
||||
.featured-image .site-title {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.site-title + .main-navigation {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.site-title:not(:empty) + .site-description:not(:empty):before {
|
||||
margin: 0 0.2em;
|
||||
}
|
||||
|
||||
.site-description {
|
||||
color: #181818;
|
||||
font-size: 0.71111em;
|
||||
font-weight: 300;
|
||||
margin: 0 0 calc(0.5 * 1rem);
|
||||
order: 1;
|
||||
}
|
||||
|
||||
/* Site footer */
|
||||
.site-footer {
|
||||
padding: 1em 0;
|
||||
color: #686868;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.site-footer {
|
||||
margin: 0 calc(10% + 60px);
|
||||
}
|
||||
}
|
||||
|
||||
.site-footer .wp-block-separator {
|
||||
margin: 0 0 1em;
|
||||
background-color: #686868;
|
||||
border: 0;
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
#colophon .widget-area,
|
||||
#colophon .site-info {
|
||||
margin: calc(2 * 1rem) 1rem;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
#colophon .widget-area,
|
||||
#colophon .site-info {
|
||||
margin: 0 calc(10% + 60px);
|
||||
max-width: calc(8 * (100vw / 12) - 28px);
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1168px) {
|
||||
#colophon .widget-area,
|
||||
#colophon .site-info {
|
||||
max-width: calc(6 * (100vw / 12) - 28px);
|
||||
}
|
||||
}
|
||||
|
||||
#colophon .widget-column {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
#colophon .widget-column .widget {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1168px) {
|
||||
#colophon .widget-column .widget {
|
||||
margin-right: calc(3 * 1rem);
|
||||
width: calc(50% - (3 * 1rem));
|
||||
}
|
||||
}
|
||||
|
||||
#colophon .site-info {
|
||||
color: #686868;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
#colophon .site-info {
|
||||
max-width: calc(8 * (100vw / 12) - 28px);
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1168px) {
|
||||
#colophon .site-info {
|
||||
max-width: calc(6 * (100vw / 12) - 28px);
|
||||
}
|
||||
}
|
||||
|
||||
#colophon .site-info a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
#colophon .site-info a:hover {
|
||||
text-decoration: none;
|
||||
color: #c43d80;
|
||||
}
|
||||
|
||||
#colophon .site-info .imprint,
|
||||
#colophon .site-info .privacy-policy-link {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
/** === Main menu === */
|
||||
.main-navigation {
|
||||
display: block;
|
||||
font-size: 0.88889em;
|
||||
margin-top: 0.6rem;
|
||||
order: 3;
|
||||
/* Un-style buttons */
|
||||
/*
|
||||
* Sub-menu styles
|
||||
*
|
||||
* :focus-within needs its own selector so other similar
|
||||
* selectors don’t get ignored if a browser doesn’t recognize it
|
||||
*/
|
||||
/**
|
||||
* Fade-in animation for top-level submenus
|
||||
*/
|
||||
/**
|
||||
* Off-canvas touch device styles
|
||||
*/
|
||||
}
|
||||
|
||||
body.fse-enabled .main-navigation {
|
||||
order: initial;
|
||||
}
|
||||
|
||||
body.page .main-navigation {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-navigation > div {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.main-navigation button {
|
||||
display: inline-block;
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
text-decoration: none;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
transition: background 250ms ease-in-out, transform 150ms ease;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
}
|
||||
|
||||
.main-navigation button:hover, .main-navigation button:focus {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.main-navigation button:focus {
|
||||
outline: 1px solid transparent;
|
||||
outline-offset: -4px;
|
||||
}
|
||||
|
||||
.main-navigation button:active {
|
||||
transform: scale(0.99);
|
||||
}
|
||||
|
||||
.main-navigation .main-menu {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu > li {
|
||||
color: #c43d80;
|
||||
display: inline;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu > li > a {
|
||||
font-weight: 700;
|
||||
color: #c43d80;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu > li > a + svg {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu > li > a:hover,
|
||||
.main-navigation .main-menu > li > a:hover + svg {
|
||||
color: #9e3067;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu > li.menu-item-has-children {
|
||||
display: inline-block;
|
||||
position: inherit;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.main-navigation .main-menu > li.menu-item-has-children {
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation .main-menu > li.menu-item-has-children > a {
|
||||
margin-right: 0.125rem;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu > li.menu-item-has-children > a:after,
|
||||
.main-navigation .main-menu > li.menu-item-has-children .menu-item-has-children > a:after {
|
||||
content: "";
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu > li.menu-item-has-children .submenu-expand {
|
||||
display: inline-block;
|
||||
margin-right: 0.25rem;
|
||||
/* Priority+ Menu */
|
||||
}
|
||||
|
||||
.main-navigation .main-menu > li.menu-item-has-children .submenu-expand.main-menu-more-toggle {
|
||||
position: relative;
|
||||
height: 24px;
|
||||
line-height: 1.2;
|
||||
width: 24px;
|
||||
padding: 0;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu > li.menu-item-has-children .submenu-expand.main-menu-more-toggle svg {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
top: -0.125rem;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
.wp-customizer-unloading .main-navigation .main-menu > li.menu-item-has-children .submenu-expand, .main-navigation .main-menu > li.menu-item-has-children .submenu-expand.is-empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu > li.menu-item-has-children .submenu-expand svg {
|
||||
position: relative;
|
||||
top: 0.2rem;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu > li:last-child > a,
|
||||
.main-navigation .main-menu > li:last-child.menu-item-has-children .submenu-expand {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.main-navigation .default-menu > li > a {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
.main-navigation .default-menu > li.menu-item-has-children > a {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
.main-navigation .default-menu > li:last-child > a,
|
||||
.main-navigation .default-menu > li:last-child.menu-item-has-children .submenu-expand {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu {
|
||||
background-color: #c43d80;
|
||||
color: #fff;
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
left: -9999px;
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.main-navigation .sub-menu {
|
||||
width: auto;
|
||||
min-width: -moz-max-content;
|
||||
min-width: -webkit-max-content;
|
||||
min-width: max-content;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu > li {
|
||||
display: block;
|
||||
float: none;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu > li.menu-item-has-children .submenu-expand {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
width: calc( 24px + 1rem);
|
||||
right: 0;
|
||||
top: calc( .125 * 1rem);
|
||||
bottom: 0;
|
||||
color: white;
|
||||
line-height: 1;
|
||||
padding: calc( .5 * 1rem);
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu > li.menu-item-has-children .submenu-expand svg {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu > li.menu-item-has-children .submenu-expand {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.main-navigation .sub-menu > li.menu-item-has-children .menu-item-has-children > a:after {
|
||||
content: "\203a";
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu > li > a,
|
||||
.main-navigation .sub-menu > li > .menu-item-link-return {
|
||||
color: #fff;
|
||||
display: block;
|
||||
line-height: 1.2;
|
||||
text-shadow: none;
|
||||
padding: calc( .5 * 1rem) calc( 24px + 1rem) calc( .5 * 1rem) 1rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu > li > a:hover, .main-navigation .sub-menu > li > a:focus,
|
||||
.main-navigation .sub-menu > li > .menu-item-link-return:hover,
|
||||
.main-navigation .sub-menu > li > .menu-item-link-return:focus {
|
||||
background: #9e3067;
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu > li > a:hover:after, .main-navigation .sub-menu > li > a:focus:after,
|
||||
.main-navigation .sub-menu > li > .menu-item-link-return:hover:after,
|
||||
.main-navigation .sub-menu > li > .menu-item-link-return:focus:after {
|
||||
background: #9e3067;
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu > li > .menu-item-link-return {
|
||||
width: 100%;
|
||||
font-size: 22px;
|
||||
font-weight: normal;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu > li > a:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu > li.mobile-parent-nav-menu-item {
|
||||
display: none;
|
||||
font-size: 0.88889em;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu > li.mobile-parent-nav-menu-item svg {
|
||||
position: relative;
|
||||
top: 0.2rem;
|
||||
margin-right: calc( .25 * 1rem);
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu {
|
||||
display: block;
|
||||
left: 0;
|
||||
margin-top: 0;
|
||||
opacity: 1;
|
||||
width: auto;
|
||||
min-width: 100%;
|
||||
/* Non-mobile position */
|
||||
/* Nested sub-menu dashes */
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu {
|
||||
display: block;
|
||||
margin-top: 0;
|
||||
opacity: 1;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: auto;
|
||||
top: auto;
|
||||
bottom: auto;
|
||||
height: auto;
|
||||
min-width: -moz-max-content;
|
||||
min-width: -webkit-max-content;
|
||||
min-width: max-content;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu.hidden-links {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
display: table;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu.hidden-links {
|
||||
right: 0;
|
||||
left: auto;
|
||||
display: block;
|
||||
width: -webkit-max-content;
|
||||
width: -moz-max-content;
|
||||
width: max-content;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .submenu-expand {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .sub-menu {
|
||||
display: block;
|
||||
margin-top: inherit;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
opacity: 1;
|
||||
/* Non-mobile position */
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .sub-menu {
|
||||
float: none;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .sub-menu {
|
||||
counter-reset: submenu;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .sub-menu > li > a::before {
|
||||
font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-weight: normal;
|
||||
content: "– " counters(submenu, "– ", none);
|
||||
counter-increment: submenu;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu,
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu,
|
||||
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu {
|
||||
display: block;
|
||||
left: 0;
|
||||
margin-top: 0;
|
||||
opacity: 1;
|
||||
width: auto;
|
||||
min-width: 100%;
|
||||
/* Non-mobile position */
|
||||
/* Nested sub-menu dashes */
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu,
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu,
|
||||
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu {
|
||||
display: block;
|
||||
float: none;
|
||||
margin-top: 0;
|
||||
opacity: 1;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: auto;
|
||||
top: auto;
|
||||
bottom: auto;
|
||||
height: auto;
|
||||
min-width: -moz-max-content;
|
||||
min-width: -webkit-max-content;
|
||||
min-width: max-content;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu.hidden-links,
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu.hidden-links,
|
||||
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu.hidden-links {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
display: table;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu.hidden-links,
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu.hidden-links,
|
||||
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu.hidden-links {
|
||||
right: 0;
|
||||
left: auto;
|
||||
display: table;
|
||||
width: -webkit-max-content;
|
||||
width: -moz-max-content;
|
||||
width: max-content;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu .submenu-expand,
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu .submenu-expand,
|
||||
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu .submenu-expand {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu .sub-menu,
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu .sub-menu,
|
||||
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu .sub-menu {
|
||||
display: block;
|
||||
margin-top: inherit;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
opacity: 1;
|
||||
/* Non-mobile position */
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu .sub-menu,
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu .sub-menu,
|
||||
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu .sub-menu {
|
||||
float: none;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu .sub-menu,
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu .sub-menu,
|
||||
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu .sub-menu {
|
||||
counter-reset: submenu;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu .sub-menu > li > a::before,
|
||||
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu .sub-menu > li > a::before,
|
||||
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu .sub-menu > li > a::before {
|
||||
font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-weight: normal;
|
||||
content: "– " counters(submenu, "– ", none);
|
||||
counter-increment: submenu;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu > .menu-item-has-children:not(.off-canvas):hover > .sub-menu {
|
||||
animation: fade_in 0.1s forwards;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu .submenu-expand .svg-icon {
|
||||
transform: rotate(270deg);
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu .sub-menu {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu li:hover,
|
||||
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu li:focus,
|
||||
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu li > a:hover,
|
||||
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu li > a:focus {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu > li > a,
|
||||
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu > li > .menu-item-link-return {
|
||||
white-space: inherit;
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu.expanded-true {
|
||||
display: table;
|
||||
margin-top: 0;
|
||||
opacity: 1;
|
||||
padding-left: 0;
|
||||
/* Mobile position */
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
position: fixed;
|
||||
z-index: 100000;
|
||||
/* Make sure appears above mobile admin bar */
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
max-width: 100vw;
|
||||
transform: translateX(100%);
|
||||
animation: slide_in_right 0.3s forwards;
|
||||
/* Prevent menu from being blocked by admin bar */
|
||||
}
|
||||
|
||||
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu.expanded-true > .mobile-parent-nav-menu-item {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.admin-bar .main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu.expanded-true {
|
||||
top: 46px;
|
||||
height: calc( 100vh - 46px);
|
||||
/* WP core breakpoint */
|
||||
}
|
||||
|
||||
.admin-bar .main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu.expanded-true .sub-menu.expanded-true {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 782px) {
|
||||
.admin-bar .main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu.expanded-true {
|
||||
top: 32px;
|
||||
height: calc( 100vh - 32px);
|
||||
}
|
||||
.admin-bar .main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu.expanded-true .sub-menu.expanded-true {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.main-navigation .main-menu-more:nth-child(n+3) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Menu animation */
|
||||
@keyframes slide_in_right {
|
||||
100% {
|
||||
transform: translateX(0%);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fade_in {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.author-description .author-link,
|
||||
.comment-metadata,
|
||||
.comment-reply-link,
|
||||
|
@ -894,81 +160,6 @@ blockquote {
|
|||
}
|
||||
}
|
||||
|
||||
.a8c-template-editor.site-branding, .a8c-template-editor.site-footer, .template-block.site-branding, .template-block.site-footer {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.a8c-template-editor .wp-block[data-align='full'], .template-block .wp-block[data-align='full'] {
|
||||
left: calc( -12.5% - 12px);
|
||||
max-width: calc( 125% + 114px);
|
||||
width: calc( 125% + 114px);
|
||||
}
|
||||
|
||||
.a8c-template-editor .template__site-logo .components-placeholder.block-editor-media-placeholder, .template-block .template__site-logo .components-placeholder.block-editor-media-placeholder {
|
||||
margin: 0 auto;
|
||||
max-width: 380px;
|
||||
}
|
||||
|
||||
.a8c-template-editor .wp-block-a8c-site-description, .template-block .wp-block-a8c-site-description {
|
||||
color: #181818;
|
||||
font-size: 0.71111em;
|
||||
font-weight: 300;
|
||||
line-height: 0.8em;
|
||||
margin: 0;
|
||||
order: 1;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.a8c-template-editor [data-type='a8c/site-description'] [data-block], .template-block [data-type='a8c/site-description'] [data-block] {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.a8c-template-editor .wp-block-a8c-site-title, .template-block .wp-block-a8c-site-title {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.a8c-template-editor [data-type='a8c/site-title'] [data-block], .template-block [data-type='a8c/site-title'] [data-block] {
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.a8c-template-editor .wp-block-a8c-navigation-menu a, .template-block .wp-block-a8c-navigation-menu a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.a8c-template-editor.site-header .wp-block-a8c-navigation-menu, .template-block.site-header .wp-block-a8c-navigation-menu {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.a8c-template-editor.site-footer .wp-block-a8c-navigation-menu, .template-block.site-footer .wp-block-a8c-navigation-menu {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.a8c-template-editor.site-footer h1,
|
||||
.a8c-template-editor.site-footer h2,
|
||||
.a8c-template-editor.site-footer h3,
|
||||
.a8c-template-editor.site-footer h4,
|
||||
.a8c-template-editor.site-footer h5,
|
||||
.a8c-template-editor.site-footer h6, .template-block.site-footer h1,
|
||||
.template-block.site-footer h2,
|
||||
.template-block.site-footer h3,
|
||||
.template-block.site-footer h4,
|
||||
.template-block.site-footer h5,
|
||||
.template-block.site-footer h6 {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.a8c-template-editor.site-footer .wp-block-separator, .template-block.site-footer .wp-block-separator {
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
.a8c-template-editor.site-footer .wp-block-a8c-navigation-menu, .template-block.site-footer .wp-block-a8c-navigation-menu {
|
||||
margin-top: 0.6rem;
|
||||
}
|
||||
|
||||
.template-block .site-header {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
/** === Helper Functions === */
|
||||
/**
|
||||
Given a string, $alignment, returns the nested FSE block selectors
|
||||
|
@ -1036,11 +227,6 @@ body .wp-block[data-align="full"] {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
/** === FSE Template Blocks === */
|
||||
.wp-block.post-content__block {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/** === Base Typography === */
|
||||
body {
|
||||
font-size: 22px;
|
||||
|
|
|
@ -6,11 +6,7 @@ Modern Business Editor Styles
|
|||
|
||||
@import "sass/variables-site/variables-site";
|
||||
@import "sass/mixins/mixins-master";
|
||||
@import "sass/site/header/site-header";
|
||||
@import "sass/site/footer/site-footer";
|
||||
@import "sass/navigation/menu-main-navigation";
|
||||
@import "sass/typography/headings";
|
||||
@import "sass/blocks/template-block";
|
||||
|
||||
/** === Helper Functions === */
|
||||
|
||||
|
@ -94,11 +90,6 @@ body {
|
|||
}
|
||||
}
|
||||
|
||||
/** === FSE Template Blocks === */
|
||||
.wp-block.post-content__block {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/** === Base Typography === */
|
||||
|
||||
body {
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -6,7 +6,7 @@ Author URI: https://wordpress.org/
|
|||
Description: A minimalist theme for those with an eye for style. Modern Business is a perfect choice for stores offering high-end products and services, or the fashion and beauty industries -- any site where elegance and polish is key.
|
||||
Requires at least: WordPress 4.9.6
|
||||
Template: twentynineteen
|
||||
Version: 1.6
|
||||
Version: 1.7
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Text Domain: twentynineteen
|
||||
|
|
2
morden/package-lock.json
generated
2
morden/package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "morden",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue