|
@@ -31,17 +31,17 @@ a {
|
|
|
|
|
|
&:before {
|
|
|
border-top: 1px solid rgba(#fff, 0.5);
|
|
|
- content: "";
|
|
|
- left: 0;
|
|
|
- position: absolute;
|
|
|
- top: -5px;
|
|
|
- width: 100%;
|
|
|
+ content: "";
|
|
|
+ left: 0;
|
|
|
+ position: absolute;
|
|
|
+ top: -5px;
|
|
|
+ width: 100%;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// Header
|
|
|
#masthead {
|
|
|
- padding-top: map-deep-get($config-global, "spacing", "vertical");
|
|
|
+ padding-top: map-deep-get($config-global, "spacing", "vertical");
|
|
|
|
|
|
.custom-logo-link {
|
|
|
display: inline-block;
|
|
@@ -175,7 +175,7 @@ a {
|
|
|
}
|
|
|
|
|
|
& > div > ul > .menu-item-has-children > a::after {
|
|
|
- opacity: 0.67;
|
|
|
+ opacity: 0.67;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -240,9 +240,9 @@ a {
|
|
|
|
|
|
// Quote block
|
|
|
.wp-block-quote {
|
|
|
- p {
|
|
|
- @include font-family( map-deep-get($config-global, "font", "family", "primary") );
|
|
|
- }
|
|
|
+ p {
|
|
|
+ @include font-family( map-deep-get($config-global, "font", "family", "primary") );
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// Table block
|
|
@@ -275,20 +275,36 @@ table,
|
|
|
|
|
|
article .entry-header .entry-title,
|
|
|
.page-title,
|
|
|
-.a8c-posts-list-item__title {
|
|
|
+.a8c-posts-list-item__title {
|
|
|
@include font-family( map-deep-get($config-global, "font", "family", "primary") );
|
|
|
font-size: #{map-deep-get($config-global, "font", "size", "xxxl")};
|
|
|
margin-bottom: #{1.5 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
|
|
|
- a {
|
|
|
- color: inherit;
|
|
|
+ a {
|
|
|
+ color: inherit;
|
|
|
+
|
|
|
+ &:active,
|
|
|
+ &:focus,
|
|
|
+ &:hover {
|
|
|
+ color: #{map-deep-get($config-global, "color", "primary", "default")};
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-newspack-blocks-homepage-articles article .entry-title {
|
|
|
+ @include font-family( map-deep-get($config-global, "font", "family", "primary") );
|
|
|
+ margin-top: #{map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+
|
|
|
+ a {
|
|
|
+ color: inherit;
|
|
|
+ text-decoration: none;
|
|
|
|
|
|
- &:active,
|
|
|
- &:focus,
|
|
|
- &:hover {
|
|
|
- color: #{map-deep-get($config-global, "color", "primary", "default")};
|
|
|
- }
|
|
|
- }
|
|
|
+ &:active,
|
|
|
+ &:focus,
|
|
|
+ &:hover {
|
|
|
+ color: #{map-deep-get($config-global, "color", "primary", "default")};
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.entry-content {
|
|
@@ -297,27 +313,27 @@ article .entry-header .entry-title,
|
|
|
|
|
|
// Pagination
|
|
|
.pagination {
|
|
|
- text-align: center;
|
|
|
-
|
|
|
- .nav-links > * {
|
|
|
- color: map-deep-get($config-global, "color", "foreground", "light");
|
|
|
- @include font-family( map-deep-get($config-global, "font", "family", "secondary") );
|
|
|
- font-size: #{map-deep-get($config-global, "font", "size", "base")};
|
|
|
- text-transform: uppercase;
|
|
|
-
|
|
|
- &.current,
|
|
|
- &:active,
|
|
|
- &:focus,
|
|
|
- &:hover {
|
|
|
- color: map-deep-get($config-global, "color", "primary", "default");
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- svg {
|
|
|
- fill: currentColor;
|
|
|
- }
|
|
|
-
|
|
|
- &:before {
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ .nav-links > * {
|
|
|
+ color: map-deep-get($config-global, "color", "foreground", "light");
|
|
|
+ @include font-family( map-deep-get($config-global, "font", "family", "secondary") );
|
|
|
+ font-size: #{map-deep-get($config-global, "font", "size", "base")};
|
|
|
+ text-transform: uppercase;
|
|
|
+
|
|
|
+ &.current,
|
|
|
+ &:active,
|
|
|
+ &:focus,
|
|
|
+ &:hover {
|
|
|
+ color: map-deep-get($config-global, "color", "primary", "default");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ svg {
|
|
|
+ fill: currentColor;
|
|
|
+ }
|
|
|
+
|
|
|
+ &:before {
|
|
|
background: map-deep-get($config-global, "color", "border", "default");;
|
|
|
height: 1px;
|
|
|
content: "";
|
|
@@ -409,87 +425,87 @@ article .entry-header .entry-title,
|
|
|
}
|
|
|
|
|
|
.comment-meta {
|
|
|
- .comment-metadata {
|
|
|
- color: map-deep-get($config-global, "color", "foreground", "light");
|
|
|
- @include font-family( map-deep-get($config-global, "font", "family", "secondary") );
|
|
|
+ .comment-metadata {
|
|
|
+ color: map-deep-get($config-global, "color", "foreground", "light");
|
|
|
+ @include font-family( map-deep-get($config-global, "font", "family", "secondary") );
|
|
|
|
|
|
- a {
|
|
|
- color: inherit;
|
|
|
- }
|
|
|
+ a {
|
|
|
+ color: inherit;
|
|
|
+ }
|
|
|
|
|
|
- a:active,
|
|
|
- a:focus,
|
|
|
- a:hover {
|
|
|
- color: map-deep-get($config-global, "color", "primary", "default");
|
|
|
- }
|
|
|
- }
|
|
|
+ a:active,
|
|
|
+ a:focus,
|
|
|
+ a:hover {
|
|
|
+ color: map-deep-get($config-global, "color", "primary", "default");
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// Comments Navigation
|
|
|
.comment-navigation {
|
|
|
- a {
|
|
|
- color: map-deep-get($config-global, "color", "foreground", "light");
|
|
|
- @include font-family( map-deep-get($config-global, "font", "family", "secondary") );
|
|
|
- font-size: #{map-deep-get($config-global, "font", "size", "sm")};
|
|
|
- text-transform: uppercase;
|
|
|
+ a {
|
|
|
+ color: map-deep-get($config-global, "color", "foreground", "light");
|
|
|
+ @include font-family( map-deep-get($config-global, "font", "family", "secondary") );
|
|
|
+ font-size: #{map-deep-get($config-global, "font", "size", "sm")};
|
|
|
+ text-transform: uppercase;
|
|
|
|
|
|
- &:active,
|
|
|
- &:focus,
|
|
|
- &:hover {
|
|
|
- color: map-deep-get($config-global, "color", "primary", "default");
|
|
|
- }
|
|
|
- }
|
|
|
+ &:active,
|
|
|
+ &:focus,
|
|
|
+ &:hover {
|
|
|
+ color: map-deep-get($config-global, "color", "primary", "default");
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- .comments-title + & {
|
|
|
- display: none;
|
|
|
- }
|
|
|
+ .comments-title + & {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// Widgets
|
|
|
.widget-area {
|
|
|
- font-size: #{map-deep-get($config-global, "font", "size", "sm")};
|
|
|
+ font-size: #{map-deep-get($config-global, "font", "size", "sm")};
|
|
|
|
|
|
- .widget-title,
|
|
|
- .widgettitle {
|
|
|
- @include font-family( map-deep-get($config-global, "font", "family", "secondary") );
|
|
|
- font-size: #{map-deep-get($config-global, "font", "size", "base")};
|
|
|
- margin-bottom: #{0.5 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
- text-transform: uppercase;
|
|
|
+ .widget-title,
|
|
|
+ .widgettitle {
|
|
|
+ @include font-family( map-deep-get($config-global, "font", "family", "secondary") );
|
|
|
+ font-size: #{map-deep-get($config-global, "font", "size", "base")};
|
|
|
+ margin-bottom: #{0.5 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+ text-transform: uppercase;
|
|
|
|
|
|
- &:empty {
|
|
|
- display: none;
|
|
|
- }
|
|
|
- }
|
|
|
+ &:empty {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- @include media(mobile) {
|
|
|
- padding-top: map-deep-get($config-global, "spacing", "vertical");
|
|
|
- }
|
|
|
+ @include media(mobile) {
|
|
|
+ padding-top: map-deep-get($config-global, "spacing", "vertical");
|
|
|
+ }
|
|
|
|
|
|
- @include media(laptop) {
|
|
|
- display: flex;
|
|
|
- flex-wrap: wrap;
|
|
|
- justify-content: space-between;
|
|
|
+ @include media(laptop) {
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ justify-content: space-between;
|
|
|
|
|
|
- & > *:nth-child(2) {
|
|
|
- margin-top: 0;
|
|
|
- }
|
|
|
+ & > *:nth-child(2) {
|
|
|
+ margin-top: 0;
|
|
|
+ }
|
|
|
|
|
|
- .widget {
|
|
|
- width: calc(50% - #{map-deep-get($config-global, "spacing", "horizontal")});
|
|
|
- }
|
|
|
- }
|
|
|
+ .widget {
|
|
|
+ width: calc(50% - #{map-deep-get($config-global, "spacing", "horizontal")});
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.widget_calendar,
|
|
|
.widget_calendar {
|
|
|
- caption {
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
+ caption {
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
|
|
|
- td,
|
|
|
- th {
|
|
|
- text-align: center;
|
|
|
- }
|
|
|
+ td,
|
|
|
+ th {
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.widget_archive,
|
|
@@ -507,43 +523,43 @@ article .entry-header .entry-title,
|
|
|
.widget_jp_blogs_i_follow,
|
|
|
.widget_top-click,
|
|
|
.widget_upcoming_events_widget {
|
|
|
- ul {
|
|
|
- border-bottom: 1px solid map-deep-get($config-global, "color", "border", "light");
|
|
|
- list-style: none;
|
|
|
- padding-left: 0;
|
|
|
- }
|
|
|
+ ul {
|
|
|
+ border-bottom: 1px solid map-deep-get($config-global, "color", "border", "light");
|
|
|
+ list-style: none;
|
|
|
+ padding-left: 0;
|
|
|
+ }
|
|
|
|
|
|
- li {
|
|
|
- border-top: 1px solid map-deep-get($config-global, "color", "border", "light");
|
|
|
- padding: #{0.25 * map-deep-get($config-global, "spacing", "vertical")} 0;
|
|
|
- }
|
|
|
+ li {
|
|
|
+ border-top: 1px solid map-deep-get($config-global, "color", "border", "light");
|
|
|
+ padding: #{0.25 * map-deep-get($config-global, "spacing", "vertical")} 0;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.widget_categories .children,
|
|
|
.widget_nav_menu .sub-menu,
|
|
|
.widget_pages .children {
|
|
|
- border-bottom: 0;
|
|
|
- margin-bottom: #{-0.25 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
- margin-top: #{0.25 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
- padding-left: map-deep-get($config-global, "spacing", "horizontal");
|
|
|
+ border-bottom: 0;
|
|
|
+ margin-bottom: #{-0.25 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+ margin-top: #{0.25 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+ padding-left: map-deep-get($config-global, "spacing", "horizontal");
|
|
|
}
|
|
|
|
|
|
.widget_recent_entries .post-date {
|
|
|
- display: block;
|
|
|
+ display: block;
|
|
|
}
|
|
|
|
|
|
.widget_rss {
|
|
|
- cite,
|
|
|
- .rssSummary,
|
|
|
- .rss-date {
|
|
|
- display: block;
|
|
|
- }
|
|
|
+ cite,
|
|
|
+ .rssSummary,
|
|
|
+ .rss-date {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.widget_search {
|
|
|
- input[type="search"] {
|
|
|
- display: block;
|
|
|
- margin-bottom: #{0.25 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
- width: 100%;
|
|
|
- }
|
|
|
+ input[type="search"] {
|
|
|
+ display: block;
|
|
|
+ margin-bottom: #{0.25 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
}
|