Browse Source

various cosmetic tweaks

dependabot/npm_and_yarn/acorn-5.7.4
rdrew 5 years ago
parent
commit
6d992210a1
  1. 61
      css/style.css
  2. 2
      css/style.css.map
  3. 3
      js/js.js
  4. 3
      src/js/js.js
  5. 187
      src/js/js.js.bk
  6. 33
      src/scss/_article-pages.scss
  7. 12
      src/scss/_cite-this.scss
  8. 501
      src/scss/_typography.scss

61
css/style.css

@ -98,7 +98,7 @@ a.link--hover-style-2:before,
left: -15px; left: -15px;
top: 50%; top: 50%;
margin-top: -5px; margin-top: -5px;
font-family: "FontAwesome"; font-family: 'FontAwesome';
font-size: 10px; font-size: 10px;
line-height: 1; line-height: 1;
-webkit-transition: all 0.3s; -webkit-transition: all 0.3s;
@ -111,7 +111,7 @@ a.link--hover-style-2:before,
transition-delay: 0s; transition-delay: 0s;
opacity: 0; opacity: 0;
filter: alpha(opacity=0); filter: alpha(opacity=0);
content: "\f105"; } content: '\f105'; }
a.link--hover-style-2:hover, a.link--hover-style-2:hover,
.link--hover-style-2 a:hover { .link--hover-style-2 a:hover {
@ -227,13 +227,13 @@ blockquote p {
line-height: 1.65; } line-height: 1.65; }
.paragraph-responsive-typography-enabled blockquote p { .paragraph-responsive-typography-enabled blockquote p {
font-size: calc(1.5*(0.9em + 0.3vw)); } font-size: calc(1.5 * (0.9em + 0.3vw)); }
p + blockquote { p + blockquote {
margin-top: 30px; } margin-top: 30px; }
blockquote:before { blockquote:before {
content: ""; content: '';
width: 170px; width: 170px;
height: 5px; height: 5px;
background-color: #f4f4f4; background-color: #f4f4f4;
@ -242,7 +242,7 @@ blockquote:before {
left: 0; } left: 0; }
blockquote p:first-child:before { blockquote p:first-child:before {
content: "- "; } content: '- '; }
blockquote footer { blockquote footer {
font-style: normal; font-style: normal;
@ -277,7 +277,7 @@ h3,
h4, h4,
h5, h5,
h6 { h6 {
line-height: 1.20; line-height: 1.2;
padding: 0; padding: 0;
margin: 20px 0 15px 0; margin: 20px 0 15px 0;
font-weight: 400; } font-weight: 400; }
@ -291,7 +291,11 @@ h6 {
letter-spacing: 0.2em; letter-spacing: 0.2em;
text-transform: uppercase; } text-transform: uppercase; }
h1, h2, h3, h4, h5 { h1,
h2,
h3,
h4,
h5 {
margin: 2.75rem 0 1rem; margin: 2.75rem 0 1rem;
font-family: 'Libre Baskerville', serif; font-family: 'Libre Baskerville', serif;
font-weight: 400; font-weight: 400;
@ -299,7 +303,11 @@ h1, h2, h3, h4, h5 {
h1 { h1 {
margin-top: 0; margin-top: 0;
font-size: 2.441em; } font-size: 2em; }
@media (min-width: 768px) {
h1 {
font-size: 2.441em; } }
h2 { h2 {
font-size: 1.953em; } font-size: 1.953em; }
@ -614,6 +622,12 @@ figure.align-left {
background-size: cover; background-size: cover;
position: relative; } position: relative; }
@media (min-width: 0px) and (max-width: 767px) {
h1.article--title {
text-align: center;
line-height: 1.2;
font-size: 1.8em; } }
.article-info--wrapper { .article-info--wrapper {
padding: 0; padding: 0;
position: absolute; position: absolute;
@ -662,17 +676,20 @@ h3 {
font-size: initial; } font-size: initial; }
.article-header--metadata { .article-header--metadata {
display: flex; text-align: center; }
justify-content: space-between; }
.article-header--metadata .left,
.article-header--metadata .right {
flex-direction: column;
align-items: flex-end; }
.article-header--metadata .right { @media (min-width: 768px) {
justify-content: flex-end; .article-header--metadata {
text-align: right; } text-align: left;
display: flex;
justify-content: space-between; }
.article-header--metadata .left,
.article-header--metadata .right {
flex-direction: column;
align-items: flex-end; }
.article-header--metadata .right {
justify-content: flex-end;
text-align: right; } }
.article-title-banner .field--name-title { .article-title-banner .field--name-title {
color: #fff; } color: #fff; }
@ -726,7 +743,7 @@ h3 {
grid-area: toc; } grid-area: toc; }
@media (min-width: 992px) { @media (min-width: 992px) {
.node__container { .page-node-type-journal-article .node__container {
display: grid; display: grid;
column-gap: 2rem; column-gap: 2rem;
grid-template-columns: 70% 30%; grid-template-columns: 70% 30%;
@ -968,12 +985,6 @@ h3.field-group-format-toggler.accordion-item a {
.citeproc-title.no-italics { .citeproc-title.no-italics {
font-style: normal; } font-style: normal; }
.bibcite-citation {
display: inline; }
span.endnote-text {
float: left; }
.article_attachment a { .article_attachment a {
line-height: calc(155% + 0.2vw); line-height: calc(155% + 0.2vw);
font-size: calc(0.9em + 0.3vw); font-size: calc(0.9em + 0.3vw);

2
css/style.css.map

File diff suppressed because one or more lines are too long

3
js/js.js

@ -26,6 +26,7 @@
//find the href of the related anchor from the id of this //find the href of the related anchor from the id of this
var _id_ = $(this).attr("id"); var _id_ = $(this).attr("id");
var _footnoteText_ = "test"; var _footnoteText_ = "test";
var _footnoteText_ = _footnoteEndnote_;
//console.log("start"); //console.log("start");
//console.log(_id_); //console.log(_id_);
//console.log(_footnoteBibcite_); //console.log(_footnoteBibcite_);
@ -55,7 +56,7 @@
attach: function attach(context, settings) { attach: function attach(context, settings) {
$.each($(".csl-entry"), function(index, value) { $.each($(".csl-entry"), function(index, value) {
if ($('.citeproc-container-title', this).length ){ if ($('.citeproc-container-title', this).length ){
console.log("yay"); //console.log("yay");
$('.citeproc-title', this).addClass("no-italics"); $('.citeproc-title', this).addClass("no-italics");
} }
}); });

3
src/js/js.js

@ -26,6 +26,7 @@
//find the href of the related anchor from the id of this //find the href of the related anchor from the id of this
var _id_ = $(this).attr("id"); var _id_ = $(this).attr("id");
var _footnoteText_ = "test"; var _footnoteText_ = "test";
var _footnoteText_ = _footnoteEndnote_;
//console.log("start"); //console.log("start");
//console.log(_id_); //console.log(_id_);
//console.log(_footnoteBibcite_); //console.log(_footnoteBibcite_);
@ -55,7 +56,7 @@
attach: function attach(context, settings) { attach: function attach(context, settings) {
$.each($(".csl-entry"), function(index, value) { $.each($(".csl-entry"), function(index, value) {
if ($('.citeproc-container-title', this).length ){ if ($('.citeproc-container-title', this).length ){
console.log("yay"); //console.log("yay");
$('.citeproc-title', this).addClass("no-italics"); $('.citeproc-title', this).addClass("no-italics");
} }
}); });

187
src/js/js.js.bk

@ -0,0 +1,187 @@
(function ($, Drupal) {
Drupal.behaviors.footnote_popups = {
attach: function attach(context, settings) {
/*
//target he footnotes list
$.each($(".footnote-list ul.footnotes a"), function(index, value) {
//find the footnotes at the bottom and extract the text
var _footnoteText_ = $(this).siblings(".endnote-text").text();
//var _bibCiteText_ = $(this).siblings(".endnote-text").text();
console.log(_footnoteText_);
//find the href of the related anchor from the id of this
var _id_ = $(this).attr("id");
console.log(_id_);
//use the id to fing the links href and insert the text from the 1st var
$('a[href$="' + _id_ + '"]').attr('data-toggle', 'tooltip').attr('data-original-title', _footnoteText_).attr('title', '');
}); */
$.each($(".footnote-list ul.footnotes a"), function(index, value) {
//find the footnotes at the bottom and extract the text
//var _footnoteText_ = $(this).siblings(".csl-bib-body").text();
var _footnoteBibcite_ = $(this).siblings(".bibcite-citation").text();
var _footnoteEndnote_ = $(this).siblings(".endnote-text").text();
//find the href of the related anchor from the id of this
var _id_ = $(this).attr("id");
var _footnoteText_ = "test";
//console.log("start");
//console.log(_id_);
//console.log(_footnoteBibcite_);
//console.log(_footnoteEndnote_);
//console.log("end");
//use the id to fing the links href and insert the text from the 1st var
$('a[href$="' + _id_ + '"]').attr('data-toggle', 'tooltip').attr('data-original-title', _footnoteText_).attr('title', '');
});
//$.each($("li.footnote"), function(index, value) {
////find the footnotes at the bottom and extract the text
//var _footnoteText_ = $(value).text();
//console.log(_footnoteText_);
////find the href of the related anchor from the id of this
//var _id_ = $('.footnote-link', this).attr("id");
//console.log(_id_);
////use the id to fing the links href and insert the text from the 1st var
//$('a[href$="' + _id_ + '"]').attr('data-toggle', 'tooltip').attr('data-original-title', _footnoteText_).attr('title', '');
//});
}
};
Drupal.behaviors.citationItalics = {
attach: function attach(context, settings) {
$.each($(".csl-entry"), function(index, value) {
if ($('.citeproc-container-title', this).length ){
console.log("yay");
$('.citeproc-title', this).addClass("no-italics");
}
});
}
};
Drupal.behaviors.author_tasks_menu = {
attach: function attach(context, settings) {
$.each($(".menu__author-tasks .menu-item a "), function(index, value) {
var titleText = $(this).attr("title");
var linkInfo = '<span class="link-info">' +titleText+ '</span>';
console.log(titleText);
$(this).append(linkInfo);
});
}
};
Drupal.behaviors.stickyTOC = {
attach: function attach(context, settings) {
var container_height = $('.node__main-content').css("height");
//console.log(height);
//$('.toc-container .toc-sticky-wrapper').css('height', container_height);
//$( ".toc-block--wide" ).wrap( "<div class='new' />");
}
};
Drupal.behaviors.article_keyword_copier = {
attach: function attach(context, settings) {
$('.field--name-field-journal-article-keywords').appendTo("#toc-sections");
}
};
Drupal.behaviors.slickSliderInit = {
attach: function attach(context, settings) {
$('.lp-slideshow').slick({
fade: true,
cssEase: 'linear',
pauseOnHover: false,
autoplay: true,
autoplaySpeed: 5000
});
}
};
Drupal.behaviors.tocScroll = {
attach: function attach(context, settings) {
$('.toc a').on('click',function(e) {
e.preventDefault();
var offset = 100;
var target = this.hash;
if ($(this).data('offset') != undefined) offset = $(this).data('offset');
$('html, body').stop().animate({
'scrollTop': $(target).offset().top - offset
}, 500, 'swing', function() {
// window.location.hash = target;
});
});
}
};
Drupal.behaviors.footnoteScroll = {
attach: function attach(context, settings) {
$('.see-footnote').on('click',function(e) {
e.preventDefault();
var offset = 100;
var target = this.hash;
if ($(this).data('offset') != undefined) offset = $(this).data('offset');
$('html, body').stop().animate({
'scrollTop': $(target).offset().top - offset
}, 500, 'swing', function() {
// window.location.hash = target;
});
});
}
};
Drupal.behaviors.slideLink = {
attach: function attach(context, settings) {
$( ".slideshow-slide header" ).each(function( index ) {
let url = $("a.slide_link", this).attr("href");
$( this ).wrap('<a href="' + url + '"></a>');
});
}
};
})(jQuery, Drupal);

33
src/scss/_article-pages.scss

@ -45,7 +45,12 @@ figure.align-left {
position: relative; position: relative;
} }
//hero text //hero text
.article--title { h1.article--title {
@include breakpoint($mobile-only) {
text-align: center;
line-height: 1.2;
font-size: 1.8em;
}
//font-size: 25px; //font-size: 25px;
} }
.article-info--wrapper { .article-info--wrapper {
@ -115,16 +120,20 @@ header.article-header {
//padding: 1rem; //padding: 1rem;
} }
.article-header--metadata { .article-header--metadata {
display: flex; text-align: center;
justify-content: space-between; @include breakpoint($tablet-up) {
.left, text-align: left;
.right { display: flex;
flex-direction: column; justify-content: space-between;
align-items: flex-end; .left,
} .right {
.right { flex-direction: column;
justify-content: flex-end; align-items: flex-end;
text-align: right; }
.right {
justify-content: flex-end;
text-align: right;
}
} }
} }
@ -199,7 +208,7 @@ header.article-header {
grid-area: toc; grid-area: toc;
} }
.node__container { .page-node-type-journal-article .node__container {
@include breakpoint($desktop-up) { @include breakpoint($desktop-up) {
display: grid; display: grid;
column-gap: 2rem; column-gap: 2rem;

12
src/scss/_cite-this.scss

@ -26,9 +26,9 @@
font-style: normal; font-style: normal;
} }
} }
.bibcite-citation { //.bibcite-citation {
display:inline; //display:inline;
} //}
span.endnote-text { //span.endnote-text {
float: left; //float: left;
} //}

501
src/scss/_typography.scss

@ -1,165 +1,167 @@
//@format
/* /*
* @file * @file
* Overall specifications for Magazine+. * Overall specifications for Magazine+.
*/ */
body { body {
font-size: 15px; font-size: 15px;
font-weight: 400; font-weight: 400;
line-height: 1.6; line-height: 1.6;
color: #2d2d2d; color: #2d2d2d;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
text-rendering: optimizelegibility; text-rendering: optimizelegibility;
} }
/*Paragraphs and links*/ /*Paragraphs and links*/
p { p {
margin: 0; margin: 0;
padding: 0 0 15px 0; padding: 0 0 15px 0;
} }
p.large { p.large {
font-size: 18px; font-size: 18px;
line-height: 1.45; line-height: 1.45;
} }
p.highlighted { p.highlighted {
background-color: #f4f4f4; background-color: #f4f4f4;
display: inline-block; display: inline-block;
padding: 10px 40px; padding: 10px 40px;
margin-bottom: 45px; margin-bottom: 45px;
border-radius: 50px; border-radius: 50px;
font-size: 16px; font-size: 16px;
} }
.region--gray-background p.highlighted { .region--gray-background p.highlighted {
background-color: #ffffff; background-color: #ffffff;
} }
.region--light-typography p.highlighted { .region--light-typography p.highlighted {
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1);
} }
a { a {
-webkit-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
text-decoration: none; text-decoration: none;
} }
a:hover { a:hover {
text-decoration: none; text-decoration: none;
} }
a:focus { a:focus {
outline: none; outline: none;
text-decoration: none; text-decoration: none;
} }
p a { p a {
text-decoration: underline; text-decoration: underline;
} }
p a:hover, p a:hover,
p a:focus { p a:focus {
text-decoration: none; text-decoration: none;
} }
.region--light-typography.region--dark-background a.is-active { .region--light-typography.region--dark-background a.is-active {
color: #ddd; color: #ddd;
} }
a.link--bordered, a.link--bordered,
.link--bordered a { .link--bordered a {
border-bottom-width: 1px; border-bottom-width: 1px;
border-bottom-style: solid; border-bottom-style: solid;
text-decoration: none; text-decoration: none;
display: inline-block; display: inline-block;
} }
a.link--bordered:hover, a.link--bordered:hover,
.link--bordered a:hover { .link--bordered a:hover {
border-bottom-width: 1px; border-bottom-width: 1px;
border-bottom-style: solid; border-bottom-style: solid;
text-decoration: none; text-decoration: none;
border-color: transparent; border-color: transparent;
} }
.region--light-typography a.link--bordered, .region--light-typography a.link--bordered,
.region--light-typography .link--bordered a { .region--light-typography .link--bordered a {
border-color: #ffffff; border-color: #ffffff;
text-decoration: none; text-decoration: none;
} }
.region--light-typography a.link--bordered:hover, .region--light-typography a.link--bordered:hover,
.region--light-typography .link--bordered a:hover { .region--light-typography .link--bordered a:hover {
border-color: transparent; border-color: transparent;
text-decoration: none; text-decoration: none;
} }
a.link--hover-style-2, a.link--hover-style-2,
.link--hover-style-2 a { .link--hover-style-2 a {
-webkit-transition: all 0.3s; -webkit-transition: all 0.3s;
-moz-transition: all 0.3s; -moz-transition: all 0.3s;
-ms-transition: all 0.3s; -ms-transition: all 0.3s;
-o-transition: all 0.3s; -o-transition: all 0.3s;
transition: all 0.3s; transition: all 0.3s;
position: relative; position: relative;
display: block; display: block;
} }
a.link--hover-style-2:before, a.link--hover-style-2:before,
.link--hover-style-2 a:before { .link--hover-style-2 a:before {
position: absolute; position: absolute;
left: -15px; left: -15px;
top: 50%; top: 50%;
margin-top: -5px; margin-top: -5px;
font-family: "FontAwesome"; font-family: 'FontAwesome';
font-size: 10px; font-size: 10px;
line-height: 1; line-height: 1;
-webkit-transition: all 0.3s; -webkit-transition: all 0.3s;
-moz-transition: all 0.3s; -moz-transition: all 0.3s;
-ms-transition: all 0.3s; -ms-transition: all 0.3s;
-o-transition: all 0.3s; -o-transition: all 0.3s;
transition: all 0.3s; transition: all 0.3s;
-webkit-transition-delay: 0s; /* Safari */ -webkit-transition-delay: 0s; /* Safari */
transition-delay: 0s; transition-delay: 0s;
opacity: 0; opacity: 0;
filter: alpha(opacity=0); filter: alpha(opacity=0);
content: "\f105"; content: '\f105';
} }
a.link--hover-style-2:hover, a.link--hover-style-2:hover,
.link--hover-style-2 a:hover { .link--hover-style-2 a:hover {
padding-left: 20px; padding-left: 20px;
text-decoration: none; text-decoration: none;
} }
a.link--hover-style-2:hover:before, a.link--hover-style-2:hover:before,
.link--hover-style-2 a:hover:before { .link--hover-style-2 a:hover:before {
left: 0; left: 0;
opacity: 1; opacity: 1;
filter: alpha(opacity=100); filter: alpha(opacity=100);
-webkit-transition-delay: 0.1s; /* Safari */ -webkit-transition-delay: 0.1s; /* Safari */
transition-delay: 0.1s; transition-delay: 0.1s;
} }
.region--light-typography.region--dark-background a.link--hover-style-2:before, .region--light-typography.region--dark-background a.link--hover-style-2:before,
.region--light-typography.region--dark-background .link--hover-style-2 a:before { .region--light-typography.region--dark-background
color: #ffffff; .link--hover-style-2
a:before {
color: #ffffff;
} }
.region--light-typography.region--dark-background .text--dark, .region--light-typography.region--dark-background .text--dark,
.region--light-typography.region--black-background .text--dark { .region--light-typography.region--black-background .text--dark {
color: #ffffff; color: #ffffff;
} }
.region--light-typography.region--colored-background .text--colored, .region--light-typography.region--colored-background .text--colored,
.region--light-typography.region--black-background .text--colored { .region--light-typography.region--black-background .text--colored {
color: #ffffff; color: #ffffff;
} }
.text--drop-cap:first-letter { .text--drop-cap:first-letter {
float: left; float: left;
font-size: 5em; font-size: 5em;
line-height: 0.8; line-height: 0.8;
padding-top: 0px; padding-top: 0px;
padding-right: 12px; padding-right: 12px;
} }
/*Regions with light and dark typography*/ /*Regions with light and dark typography*/
.region--light-typography { .region--light-typography {
color: #ffffff; color: #ffffff;
} }
.subfooter.region--light-typography.region--dark-background, .subfooter.region--light-typography.region--dark-background,
.subfooter.region--light-typography.region--black-background { .subfooter.region--light-typography.region--black-background {
color: #9c9c9c; color: #9c9c9c;
} }
.region--light-typography a, .region--light-typography a,
.region--light-typography a.link--dark, .region--light-typography a.link--dark,
.region--light-typography .link--dark a { .region--light-typography .link--dark a {
color: #ffffff; color: #ffffff;
text-decoration: underline; text-decoration: underline;
} }
.region--light-typography a:hover, .region--light-typography a:hover,
.region--light-typography a:focus, .region--light-typography a:focus,
@ -167,112 +169,112 @@ a.link--hover-style-2:hover:before,
.region--light-typography a.link--dark:focus, .region--light-typography a.link--dark:focus,
.region--light-typography .link--dark a:hover, .region--light-typography .link--dark a:hover,
.region--light-typography .link--dark a:focus { .region--light-typography .link--dark a:focus {
color: #ffffff; color: #ffffff;
text-decoration: none; text-decoration: none;
} }
/*Basic elements*/ /*Basic elements*/
img { img {
height: auto; height: auto;
max-width: 100%; max-width: 100%;
} }
img.img--bordered, img.img--bordered,
.img--bordered img { .img--bordered img {
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: #e7e7e7; border-color: #e7e7e7;
} }
.region--light-typography img.img--bordered, .region--light-typography img.img--bordered,
.region--light-typography .img--bordered img { .region--light-typography .img--bordered img {
border-color: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.15);
} }
code, code,
pre { pre {
word-wrap: break-word; word-wrap: break-word;
word-break: break-all; word-break: break-all;
white-space: pre; white-space: pre;
white-space: pre-wrap; white-space: pre-wrap;
font-family: 'Source Code Pro', Consolas, Monaco, Courier; font-family: 'Source Code Pro', Consolas, Monaco, Courier;
} }
pre { pre {
background: #f4f4f4; background: #f4f4f4;
border: none; border: none;
border-left: 5px solid #d3d1cd; border-left: 5px solid #d3d1cd;
-webkit-border-radius: 0px; -webkit-border-radius: 0px;
-moz-border-radius: 0px; -moz-border-radius: 0px;
border-radius: 0px; border-radius: 0px;
color: #2d2d2d; color: #2d2d2d;
padding: 20px; padding: 20px;
font-size: 14px; font-size: 14px;
max-height: 62px; max-height: 62px;
overflow: hidden; overflow: hidden;
margin: 40px 0 40px 45px; margin: 40px 0 40px 45px;
} }
pre:hover { pre:hover {
max-height: 10000px; max-height: 10000px;
-webkit-transition: all ease-in-out 2s; -webkit-transition: all ease-in-out 2s;
-moz-transition: all ease-in-out 2s; -moz-transition: all ease-in-out 2s;
-o-transition: all ease-in-out 2s; -o-transition: all ease-in-out 2s;
-ms-transition: all ease-in-out 2s; -ms-transition: all ease-in-out 2s;
transition: all ease-in-out 2s; transition: all ease-in-out 2s;
} }
blockquote { blockquote {
//padding: 25px 0 5px; //padding: 25px 0 5px;
padding: 10px 20px; padding: 10px 20px;
margin: 0 0 25px; margin: 0 0 25px;
//border-left-width: 0px; //border-left-width: 0px;
border-top: none; border-top: none;
border-left: 5px solid #eee; border-left: 5px solid #eee;
position: relative; position: relative;
font-style: italic; font-style: italic;
} }
blockquote p { blockquote p {
font-size: 18px; font-size: 18px;
line-height: 1.65; line-height: 1.65;
} }
.paragraph-responsive-typography-enabled blockquote p { .paragraph-responsive-typography-enabled blockquote p {
font-size: calc(1.5*(0.9em + 0.3vw)); font-size: calc(1.5 * (0.9em + 0.3vw));
} }
p + blockquote { p + blockquote {
margin-top: 30px; margin-top: 30px;
} }
blockquote:before { blockquote:before {
content: ""; content: '';
width: 170px; width: 170px;
height: 5px; height: 5px;
background-color: #f4f4f4; background-color: #f4f4f4;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
} }
blockquote p:first-child:before { blockquote p:first-child:before {
content: "- " content: '- ';
} }
blockquote footer { blockquote footer {
font-style: normal; font-style: normal;
color: #2d2d2d; color: #2d2d2d;
} }
.region--light-typography blockquote footer { .region--light-typography blockquote footer {
color: #ffffff; color: #ffffff;
} }
.region--gray-background blockquote:before { .region--gray-background blockquote:before {
background-color: #eaeaea; background-color: #eaeaea;
} }
.region--colored-background blockquote:before, .region--colored-background blockquote:before,
.region--black-background blockquote:before, .region--black-background blockquote:before,
.region--dark-background blockquote:before { .region--dark-background blockquote:before {
background-color: #ffffff; background-color: #ffffff;
} }
hr { hr {
border-top: 1px solid #f4f4f4; border-top: 1px solid #f4f4f4;
margin-bottom: 40px; margin-bottom: 40px;
margin-top: 40px; margin-top: 40px;
} }
.region--gray-background hr { .region--gray-background hr {
border-color: #e7e7e7; border-color: #e7e7e7;
} }
.region--light-typography hr { .region--light-typography hr {
border-color: #ffffff; border-color: #ffffff;
} }
/*Headings*/ /*Headings*/
@ -282,10 +284,10 @@ h3,
h4, h4,
h5, h5,
h6 { h6 {
line-height: 1.20; line-height: 1.2;
padding: 0; padding: 0;
margin: 20px 0 15px 0; margin: 20px 0 15px 0;
font-weight: 400; font-weight: 400;
} }
.headings-wide-spacing-enabled h1, .headings-wide-spacing-enabled h1,
.headings-wide-spacing-enabled h2, .headings-wide-spacing-enabled h2,
@ -293,127 +295,140 @@ h6 {
.headings-wide-spacing-enabled h4, .headings-wide-spacing-enabled h4,
.headings-wide-spacing-enabled h5, .headings-wide-spacing-enabled h5,
.headings-wide-spacing-enabled h6 { .headings-wide-spacing-enabled h6 {
letter-spacing: 0.2em; letter-spacing: 0.2em;
text-transform: uppercase; text-transform: uppercase;
} }
h1, h2, h3, h4, h5 { h1,
margin: 2.75rem 0 1rem; h2,
font-family: 'Libre Baskerville', serif; h3,
font-weight: 400; h4,
line-height: 1.15; h5 {
margin: 2.75rem 0 1rem;
font-family: 'Libre Baskerville', serif;
font-weight: 400;
line-height: 1.15;
} }
h1 { h1 {
margin-top: 0; margin-top: 0;
font-size: 2.441em; font-size: 2em;
@include breakpoint($tablet-up) {
font-size: 2.441em;
}
} }
//h2 {font-size: 2.441em;} //h2 {font-size: 2.441em;}
h2 {font-size: 1.953em;} h2 {
font-size: 1.953em;
}
h3 {font-size: 1.563em;} h3 {
font-size: 1.563em;
}
h4 {font-size: 1.25em;} h4 {
font-size: 1.25em;
}
//h1 { //h1 {
//font-size: 40px; //font-size: 40px;
//font-size: 40px; //font-size: 40px;
//} //}
//h2 { //h2 {
//font-size: 35px; //font-size: 35px;
//} //}
//h3 { //h3 {
//font-size: 30px; //font-size: 30px;
//} //}
//h4 { //h4 {
//font-size: 26px; //font-size: 26px;
//} //}
//h5 { //h5 {
//font-size: 24px; //font-size: 24px;
//} //}
//h6 { //h6 {
//font-size: 18px; //font-size: 18px;
//} //}
h1.title { h1.title {
margin-top: 0; margin-top: 0;
} }
h1.page-title { h1.page-title {
margin-bottom: 20px; margin-bottom: 20px;
} }
/*resposinve text align*/ /*resposinve text align*/
@media (min-width: 1200px) { @media (min-width: 1200px) {
.lg-text-center { .lg-text-center {
text-align: center; text-align: center;
} }
} }
@media (min-width: 992px) and (max-width: 1199px) { @media (min-width: 992px) and (max-width: 1199px) {
.md-text-center { .md-text-center {
text-align: center; text-align: center;
} }
} }
@media (min-width: 768px) and (max-width: 991px) { @media (min-width: 768px) and (max-width: 991px) {
.sm-text-center { .sm-text-center {
text-align: center; text-align: center;
} }
} }
@media (max-width: 767px) { @media (max-width: 767px) {
.xs-text-center { .xs-text-center {
text-align: center; text-align: center;
} }
} }
/*Block title*/ /*Block title*/
.block-title { .block-title {
margin-bottom: 30px; margin-bottom: 30px;
margin-top: 0; margin-top: 0;
line-height: 1.2; line-height: 1.2;
font-size: 30px; font-size: 30px;
} }
.block-title--large { .block-title--large {
font-size: 40px; font-size: 40px;
margin-bottom: 15px; margin-bottom: 15px;
} }
.block-title--extra-large { .block-title--extra-large {
font-size: 50px; font-size: 50px;
margin-bottom: 15px; margin-bottom: 15px;
} }
@media (max-width: 767px) { @media (max-width: 767px) {
.block-title--large { .block-title--large {
font-size: 30px; font-size: 30px;
} }
.block-title--extra-large { .block-title--extra-large {
font-size: 35px; font-size: 35px;
} }
} }
.headings-wide-spacing-enabled .block-title--large { .headings-wide-spacing-enabled .block-title--large {
letter-spacing: 0.55em; letter-spacing: 0.55em;
text-transform: uppercase; text-transform: uppercase;
} }
h2.block-title { h2.block-title {
padding-bottom: 15px; padding-bottom: 15px;
margin: 0 0 20px 0; margin: 0 0 20px 0;
border-bottom-width: 2px; border-bottom-width: 2px;
border-bottom-style: solid; border-bottom-style: solid;
border-bottom-color: #eeeeee; border-bottom-color: #eeeeee;
line-height: 1.2; line-height: 1.2;
text-transform: uppercase; text-transform: uppercase;
font-weight: 400; font-weight: 400;
} }
.region--light-typography h2.block-title { .region--light-typography h2.block-title {
border-bottom-color: rgba(255,255,255,0.1); border-bottom-color: rgba(255, 255, 255, 0.1);
} }
h2.title, h2.title,
nav > h2, nav > h2,
.block-search > h2 { .block-search > h2 {
font-size: 30px; font-size: 30px;
padding-top: 15px; padding-top: 15px;
margin: 0 0 40px 0; margin: 0 0 40px 0;
border-width: 2px 0 0 0; border-width: 2px 0 0 0;
border-top-style: solid; border-top-style: solid;
border-color: #eeeeee; border-color: #eeeeee;
font-weight: 400; font-weight: 400;
text-align: center; text-align: center;
} }
.sidebar__section h2.title, .sidebar__section h2.title,
.sidebar__section nav > h2, .sidebar__section nav > h2,
@ -430,51 +445,51 @@ nav > h2,
.subfooter__section h2.title, .subfooter__section h2.title,
.subfooter__section nav > h2, .subfooter__section nav > h2,
.subfooter__section .block-search > h2 { .subfooter__section .block-search > h2 {
font-size: 18px; font-size: 18px;
padding-top: 8px; padding-top: 8px;
padding-bottom: 25px; padding-bottom: 25px;
margin-bottom: 30px; margin-bottom: 30px;
border-width: 0 0 2px 0; border-width: 0 0 2px 0;
border-bottom-style: solid; border-bottom-style: solid;
border-color: #eeeeee; border-color: #eeeeee;
text-transform: uppercase; text-transform: uppercase;
text-align: left; text-align: left;
} }
.region--light-typography h2.title, .region--light-typography h2.title,
.region--light-typography nav > h2, .region--light-typography nav > h2,
.region--light-typography .block-search > h2 { .region--light-typography .block-search > h2 {
border-color: rgba(255,255,255,0.1); border-color: rgba(255, 255, 255, 0.1);
} }
/*footer regions*/ /*footer regions*/
@media (max-width: 991px) { @media (max-width: 991px) {
.footer__section h2.title, .footer__section h2.title,
.footer__section nav > h2, .footer__section nav > h2,
.footer__section .block-search > h2, .footer__section .block-search > h2,
.footer-bottom__section h2.title, .footer-bottom__section h2.title,
.footer-bottom__section nav > h2, .footer-bottom__section nav > h2,
.footer-bottom__section .block-search > h2, .footer-bottom__section .block-search > h2,
.subfooter__section h2.title, .subfooter__section h2.title,
.subfooter__section nav > h2, .subfooter__section nav > h2,
.subfooter__section .block-search > h2 { .subfooter__section .block-search > h2 {
margin-bottom: 20px; margin-bottom: 20px;
} }
} }
/* Content region overrides */ /* Content region overrides */
.region-content h2.title, .region-content h2.title,
.region-content nav > h2, .region-content nav > h2,
.region-content .block-search > h2 { .region-content .block-search > h2 {
margin: 20px 0; margin: 20px 0;
} }
/*spacing*/ /*spacing*/
.bottom-spacing-small { .bottom-spacing-small {
padding-bottom: 25px; padding-bottom: 25px;
} }
.bottom-spacing-medium { .bottom-spacing-medium {
padding-bottom: 50px; padding-bottom: 50px;
} }
.bottom-spacing-large { .bottom-spacing-large {
padding-bottom: 90px; padding-bottom: 90px;
} }

Loading…
Cancel
Save