From 01a31d67e67027a715c89203e9d7b7b172f1d1da Mon Sep 17 00:00:00 2001 From: danfunk Date: Wed, 11 Oct 2023 15:02:08 -0400 Subject: [PATCH] Fix css issue with new science lit refs. --- ...style.sass_11963afe37bd9bd32f80815a494eee90.content | 4 +--- static/js/carousel.js | 2 +- themes/fresh/assets/fresh/partials/_references.scss | 10 +++++----- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/resources/_gen/assets/sass/style.sass_11963afe37bd9bd32f80815a494eee90.content b/resources/_gen/assets/sass/style.sass_11963afe37bd9bd32f80815a494eee90.content index 7c7a043..df98833 100644 --- a/resources/_gen/assets/sass/style.sass_11963afe37bd9bd32f80815a494eee90.content +++ b/resources/_gen/assets/sass/style.sass_11963afe37bd9bd32f80815a494eee90.content @@ -6965,7 +6965,7 @@ Testimonials Styles border-radius: 8px; position: relative; padding: 30px 50px 65px 50px; - font-size: 1.8rem; + font-size: 1.2rem; font-weight: 500; margin: 0 0 -40px; line-height: 1.6em; } @@ -6993,12 +6993,10 @@ Testimonials Styles text-align: left; color: #fff; padding: 0 0px; - position: relative; z-index: 0; } .reference .citation h5, .reference .citation span { left: 50px; right: 50px; - position: absolute; opacity: 1; padding: 3px 5px; } .reference .citation h5 { diff --git a/static/js/carousel.js b/static/js/carousel.js index 8fd0ee8..ab39a25 100644 --- a/static/js/carousel.js +++ b/static/js/carousel.js @@ -22,7 +22,7 @@ $(document).ready(function(){ loop:true, margin:10, autoplay:true, - autoplayTimeout:4000, + autoplayTimeout:6000, autoplayHoverPause:true }); }); diff --git a/themes/fresh/assets/fresh/partials/_references.scss b/themes/fresh/assets/fresh/partials/_references.scss index 4f0c01f..a856cad 100644 --- a/themes/fresh/assets/fresh/partials/_references.scss +++ b/themes/fresh/assets/fresh/partials/_references.scss @@ -22,7 +22,7 @@ Testimonials Styles border-radius: 8px; position: relative; padding: 30px 50px 65px 50px; - font-size: 1.8rem; + font-size: 1.2rem; font-weight: 500; margin: 0 0 -40px; line-height: 1.6em; @@ -31,8 +31,8 @@ Testimonials Styles font-weight: 700; color: $blue-grey; } - } + blockquote:before, blockquote:after { font-family: 'FontAwesome'; content: "\f10d"; @@ -57,12 +57,10 @@ Testimonials Styles text-align: left; color: $white; padding: 0 0px; - position: relative; z-index: 0; h5, span { left: 50px; right: 50px; - position: absolute; opacity: 1; padding: 3px 5px; } @@ -106,4 +104,6 @@ Testimonials Styles margin-bottom: -1px; } } -} \ No newline at end of file +} + +