|
@@ -188,6 +188,16 @@ a {
|
|
|
/**
|
|
|
* Content Area
|
|
|
*/
|
|
|
+.site-main > * {
|
|
|
+ margin-bottom: #{map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+ margin-top: #{map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+
|
|
|
+ @include media(mobile) {
|
|
|
+ margin-bottom: #{2 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+ margin-top: #{2 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
@include media(mobile) {
|
|
|
#main {
|
|
|
padding-top: #{2 * map-deep-get($config-global, "spacing", "vertical")};
|
|
@@ -239,6 +249,68 @@ a {
|
|
|
text-transform: uppercase;
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * Blocks
|
|
|
+ */
|
|
|
+// 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") };
|
|
|
+
|
|
|
+ @include media(mobile) {
|
|
|
+ margin-top: map-deep-get($config-global, "spacing", "vertical");
|
|
|
+ margin-bottom: map-deep-get($config-global, "spacing", "vertical");
|
|
|
+ }
|
|
|
+
|
|
|
+ &:first-child {
|
|
|
+ margin-top: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ &:last-child {
|
|
|
+ margin-bottom: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// Pullquote
|
|
|
+.wp-block-pullquote {
|
|
|
+ border-bottom-width: 1px;
|
|
|
+
|
|
|
+ blockquote {
|
|
|
+ padding: 0;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// Table block
|
|
|
+table,
|
|
|
+.wp-block-table {
|
|
|
+ td,
|
|
|
+ th {
|
|
|
+ border-color: #{map-deep-get($config-global, "color", "border", "default")};
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// Blog Posts Listing
|
|
|
+.a8c-posts-list__item {
|
|
|
+ margin-bottom: #{map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+ margin-top: #{map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+
|
|
|
+ @include media(mobile) {
|
|
|
+ margin-bottom: #{2 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+ margin-top: #{2 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.a8c-posts-list__listing:not(:last-child) {
|
|
|
+ margin-bottom: #{map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+
|
|
|
+ @include media(mobile) {
|
|
|
+ margin-bottom: #{2 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* Comments
|
|
|
*/
|
|
@@ -274,6 +346,13 @@ a {
|
|
|
display: flex;
|
|
|
}
|
|
|
|
|
|
+.comment-respond {
|
|
|
+ .form-submit {
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-end;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
@include media(tablet) {
|
|
|
.comment-meta {
|
|
|
border-right: 1px solid #{map-deep-get($config-global, "color", "border", "default")};
|