|
@@ -88,16 +88,17 @@ a {
|
|
|
}
|
|
|
|
|
|
@include media(tablet) {
|
|
|
+
|
|
|
.site-description {
|
|
|
display: inline;
|
|
|
}
|
|
|
|
|
|
- .site-title:not(:empty) + .site-description:not(:empty):before {
|
|
|
+ .site-title:not(:empty) + .site-description:not(:empty)::before {
|
|
|
color: map-deep-get($config-global, "color", "foreground", "light");
|
|
|
content: "\2022";
|
|
|
font-family: Arial, Helvetica, sans-serif; // For browsers without CSS custom properties support.
|
|
|
- font-family: var( --font-headings, 'Arial, Helvetica, sans-serif' );
|
|
|
- margin: 0 .25em;
|
|
|
+ font-family: var(--font-headings, "Arial, Helvetica, sans-serif");
|
|
|
+ margin: 0 0.25em;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -136,6 +137,7 @@ a {
|
|
|
}
|
|
|
|
|
|
.sub-menu .menu-item a {
|
|
|
+
|
|
|
&::before {
|
|
|
display: none;
|
|
|
}
|
|
@@ -147,12 +149,14 @@ a {
|
|
|
}
|
|
|
|
|
|
@include media(mobile) {
|
|
|
+
|
|
|
> li {
|
|
|
- &:not(:first-child):before {
|
|
|
+
|
|
|
+ &:not(:first-child)::before {
|
|
|
color: map-deep-get($config-global, "color", "foreground", "light");
|
|
|
content: "\2022";
|
|
|
font-family: Arial, Helvetica, sans-serif; // For browsers without CSS custom properties support.
|
|
|
- font-family: var( --font-headings, Arial, Helvetica, sans-serif );
|
|
|
+ font-family: var(--font-headings, Arial, Helvetica, sans-serif);
|
|
|
line-height: 1;
|
|
|
padding-bottom: #{0.5 * map-deep-get($config-global, "spacing", "unit")};
|
|
|
padding-top: #{0.5 * map-deep-get($config-global, "spacing", "unit")};
|
|
@@ -162,8 +166,8 @@ a {
|
|
|
padding-bottom: #{0.5 * map-deep-get($config-global, "spacing", "unit")};
|
|
|
padding-top: #{0.5 * map-deep-get($config-global, "spacing", "unit")};
|
|
|
|
|
|
- &:before,
|
|
|
- &:after {
|
|
|
+ &::before,
|
|
|
+ &::after {
|
|
|
margin: 0;
|
|
|
}
|
|
|
}
|
|
@@ -192,7 +196,7 @@ a {
|
|
|
display: flex;
|
|
|
padding: #{0.5 * map-deep-get($config-global, "spacing", "unit")} #{map-deep-get($config-global, "spacing", "unit")};
|
|
|
|
|
|
- &:after {
|
|
|
+ &::after {
|
|
|
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;
|
|
@@ -208,7 +212,8 @@ a {
|
|
|
}
|
|
|
|
|
|
#site-navigation #toggle:checked + #toggle-menu {
|
|
|
- &:after {
|
|
|
+
|
|
|
+ &::after {
|
|
|
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");
|
|
|
}
|
|
|
}
|
|
@@ -227,8 +232,10 @@ a {
|
|
|
}
|
|
|
|
|
|
@include media(mobile) {
|
|
|
+
|
|
|
#main {
|
|
|
padding-top: #{2 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+
|
|
|
.hide-homepage-header & {
|
|
|
padding-top: 0;
|
|
|
}
|
|
@@ -236,6 +243,7 @@ a {
|
|
|
}
|
|
|
|
|
|
@include media(tablet) {
|
|
|
+
|
|
|
#primary {
|
|
|
margin-top: 44px; // JS Fallback
|
|
|
}
|
|
@@ -251,6 +259,7 @@ a {
|
|
|
|
|
|
.meta-nav {
|
|
|
color: #{map-deep-get($config-global, "color", "foreground", "light")};
|
|
|
+
|
|
|
@include font-family( map-deep-get($config-global, "font", "family", "ui") );
|
|
|
font-weight: bold;
|
|
|
text-transform: uppercase;
|
|
@@ -266,6 +275,7 @@ a {
|
|
|
*/
|
|
|
// Entry Header
|
|
|
.entry-header {
|
|
|
+
|
|
|
.entry-meta {
|
|
|
display: none;
|
|
|
}
|
|
@@ -289,14 +299,18 @@ a {
|
|
|
.a8c-posts-list .a8c-posts-list-item__featured span {
|
|
|
background: #{map-deep-get($config-global, "color", "secondary", "default")};
|
|
|
color: #{map-deep-get($config-global, "color", "background", "default")};
|
|
|
+
|
|
|
@include font-family( map-deep-get($config-global, "font", "family", "ui") );
|
|
|
text-transform: uppercase;
|
|
|
}
|
|
|
|
|
|
// Remove margin if alignfull is first element
|
|
|
.home.hide-homepage-title {
|
|
|
+
|
|
|
.hentry .entry-content {
|
|
|
+
|
|
|
& > *:first-child {
|
|
|
+
|
|
|
&.alignfull {
|
|
|
margin-top: -#{map-deep-get($config-global, "spacing", "unit")};
|
|
|
|
|
@@ -310,21 +324,25 @@ a {
|
|
|
|
|
|
// Remove margin if alignfull is first element and header is hidden.
|
|
|
@include media(mobile) {
|
|
|
+
|
|
|
.home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content {
|
|
|
|
|
|
- > .wp-block-image.alignfull:first-child,
|
|
|
- > .wp-block-cover.alignfull:first-child,
|
|
|
- > .wp-block-media-text.alignfull:first-child,
|
|
|
- > .wp-block-group.has-background.alignfull:first-child {
|
|
|
- margin-top: -#{2.75 * map-deep-get($config-global, "spacing", "unit")};
|
|
|
- }
|
|
|
+ > .wp-block-image.alignfull:first-child,
|
|
|
+ > .wp-block-cover.alignfull:first-child,
|
|
|
+ > .wp-block-media-text.alignfull:first-child,
|
|
|
+ > .wp-block-group.has-background.alignfull:first-child {
|
|
|
+ margin-top: -#{2.75 * map-deep-get($config-global, "spacing", "unit")};
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// Remove margin if alignfull is last element
|
|
|
.page:not(.logged-in) {
|
|
|
+
|
|
|
.hentry .entry-content {
|
|
|
+
|
|
|
& > *:last-child {
|
|
|
+
|
|
|
&.alignfull {
|
|
|
margin-bottom: -#{map-deep-get($config-global, "spacing", "vertical")};
|
|
|
|
|
@@ -352,6 +370,7 @@ a {
|
|
|
// Cover & Hero block
|
|
|
.wp-block-cover .wp-block-cover__inner-container,
|
|
|
.wp-block-coblocks-hero .wp-block-coblocks-hero__box {
|
|
|
+
|
|
|
& > * {
|
|
|
margin-top: #{0.666 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
margin-bottom: #{0.666 * map-deep-get($config-global, "spacing", "vertical")};
|
|
@@ -383,6 +402,7 @@ a {
|
|
|
// Table block
|
|
|
table,
|
|
|
.wp-block-table {
|
|
|
+
|
|
|
td,
|
|
|
th {
|
|
|
border-color: #{map-deep-get($config-global, "color", "border", "default")};
|
|
@@ -424,8 +444,11 @@ table,
|
|
|
* Blog Posts (Newspack)
|
|
|
*/
|
|
|
.wp-block-newspack-blocks-homepage-articles {
|
|
|
+
|
|
|
article {
|
|
|
- .entry-title a{
|
|
|
+
|
|
|
+ .entry-title a {
|
|
|
+
|
|
|
&:active,
|
|
|
&:focus,
|
|
|
&:hover {
|
|
@@ -447,7 +470,9 @@ table,
|
|
|
}
|
|
|
|
|
|
&.image-alignbehind article {
|
|
|
- .entry-title a{
|
|
|
+
|
|
|
+ .entry-title a {
|
|
|
+
|
|
|
&:active,
|
|
|
&:focus,
|
|
|
&:hover {
|
|
@@ -460,8 +485,11 @@ table,
|
|
|
.has-background:not(.has-background-background-color),
|
|
|
[class*="background-color"]:not(.has-background-background-color),
|
|
|
[style*="background-color"] {
|
|
|
+
|
|
|
.wp-block-newspack-blocks-homepage-articles article {
|
|
|
- .entry-title a{
|
|
|
+
|
|
|
+ .entry-title a {
|
|
|
+
|
|
|
&:active,
|
|
|
&:focus,
|
|
|
&:hover {
|
|
@@ -479,6 +507,7 @@ table,
|
|
|
}
|
|
|
|
|
|
.comment-list {
|
|
|
+
|
|
|
> li:first-child {
|
|
|
border-top-width: 2px;
|
|
|
}
|
|
@@ -492,6 +521,7 @@ table,
|
|
|
}
|
|
|
|
|
|
.comment-meta .comment-metadata {
|
|
|
+
|
|
|
@include font-family( map-deep-get($config-global, "font", "family", "ui") );
|
|
|
font-size: #{map-deep-get($config-global, "font", "size", "sm")};
|
|
|
font-weight: bold;
|
|
@@ -512,6 +542,7 @@ table,
|
|
|
}
|
|
|
|
|
|
.comment-respond {
|
|
|
+
|
|
|
.form-submit {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
@@ -519,6 +550,7 @@ table,
|
|
|
}
|
|
|
|
|
|
@include media(tablet) {
|
|
|
+
|
|
|
.comment-meta {
|
|
|
border-right: 1px solid #{map-deep-get($config-global, "color", "border", "default")};
|
|
|
display: block;
|
|
@@ -538,7 +570,8 @@ table,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .comment-content, .reply {
|
|
|
+ .comment-content,
|
|
|
+ .reply {
|
|
|
float: right;
|
|
|
width: 75%;
|
|
|
width: calc(80% - #{map-deep-get($config-global, "spacing", "horizontal")} - 1px);
|
|
@@ -557,8 +590,8 @@ table,
|
|
|
.widget-area {
|
|
|
width: 100%;
|
|
|
|
|
|
- &:before {
|
|
|
- background: map-deep-get($config-global, "color", "border", "default");;
|
|
|
+ &::before {
|
|
|
+ background: map-deep-get($config-global, "color", "border", "default");
|
|
|
height: 1px;
|
|
|
content: "";
|
|
|
display: block;
|
|
@@ -574,6 +607,7 @@ table,
|
|
|
.widget-title,
|
|
|
.widgettitle {
|
|
|
font-size: #{map-deep-get($config-global, "font", "size", "base")};
|
|
|
+
|
|
|
@include font-family( map-deep-get($config-global, "font", "family", "ui") );
|
|
|
margin-bottom: #{0.5 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
|
|
@@ -600,6 +634,7 @@ table,
|
|
|
// Widgets
|
|
|
.widget_calendar,
|
|
|
.widget_calendar {
|
|
|
+
|
|
|
caption {
|
|
|
font-weight: bold;
|
|
|
}
|
|
@@ -625,6 +660,7 @@ table,
|
|
|
.widget_jp_blogs_i_follow,
|
|
|
.widget_top-click,
|
|
|
.widget_upcoming_events_widget {
|
|
|
+
|
|
|
ul {
|
|
|
border-bottom: 1px solid map-deep-get($config-global, "color", "border", "default");
|
|
|
list-style: none;
|
|
@@ -651,6 +687,7 @@ table,
|
|
|
}
|
|
|
|
|
|
.widget_rss {
|
|
|
+
|
|
|
cite,
|
|
|
.rssSummary,
|
|
|
.rss-date {
|
|
@@ -659,6 +696,7 @@ table,
|
|
|
}
|
|
|
|
|
|
.widget_search {
|
|
|
+
|
|
|
input[type="search"] {
|
|
|
display: block;
|
|
|
margin-bottom: #{0.25 * map-deep-get($config-global, "spacing", "vertical")};
|
|
@@ -712,11 +750,12 @@ table,
|
|
|
text-align: inherit;
|
|
|
|
|
|
> li {
|
|
|
- &:not(:first-child):before {
|
|
|
+
|
|
|
+ &:not(:first-child)::before {
|
|
|
color: map-deep-get($config-global, "color", "border", "dark");
|
|
|
content: "\2022";
|
|
|
font-family: Arial, Helvetica, sans-serif; // For browsers without CSS custom properties support.
|
|
|
- font-family: var( --font-headings, 'Arial, Helvetica, sans-serif' );
|
|
|
+ font-family: var(--font-headings, "Arial, Helvetica, sans-serif");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -747,8 +786,9 @@ table,
|
|
|
.a8c-posts-list__view-all {
|
|
|
position: relative;
|
|
|
|
|
|
- &:before {
|
|
|
+ &::before {
|
|
|
border: 2px solid;
|
|
|
+ border-radius: inherit;
|
|
|
content: "";
|
|
|
display: block;
|
|
|
left: 3px;
|
|
@@ -766,18 +806,13 @@ input[type="submit"] {
|
|
|
outline-offset: -5px;
|
|
|
}
|
|
|
|
|
|
-.is-style-circular .wp-block-button__link {
|
|
|
- &:before {
|
|
|
- border-radius: 100px;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
/**
|
|
|
* AMP Support
|
|
|
*/
|
|
|
html[amp] {
|
|
|
|
|
|
@include media( tablet ) {
|
|
|
+
|
|
|
#masthead {
|
|
|
position: sticky;
|
|
|
top: 0;
|
|
@@ -787,7 +822,9 @@ html[amp] {
|
|
|
top: 32px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
@media screen and ( max-width: 782px ) {
|
|
|
+
|
|
|
.logged-in #masthead {
|
|
|
top: 46px;
|
|
|
}
|
|
@@ -797,11 +834,13 @@ html[amp] {
|
|
|
/**
|
|
|
* Search block
|
|
|
*/
|
|
|
- .wp-block-search {
|
|
|
+.wp-block-search {
|
|
|
+
|
|
|
.wp-block-search__input {
|
|
|
- margin-right: calc( .1 * #{map-deep-get($config-button, "padding", "horizontal")} );
|
|
|
+ margin-right: calc(0.1 * #{map-deep-get($config-button, "padding", "horizontal")});
|
|
|
}
|
|
|
+
|
|
|
.wp-block-search__button {
|
|
|
- margin-left: calc( .1 * #{map-deep-get($config-button, "padding", "horizontal")} );
|
|
|
+ margin-left: calc(0.1 * #{map-deep-get($config-button, "padding", "horizontal")});
|
|
|
}
|
|
|
}
|