From 5bdf973839a70af7126dfd5b3dd297faaec139fd Mon Sep 17 00:00:00 2001 From: Brian Dunnigan Date: Wed, 18 Oct 2017 12:11:39 -0400 Subject: [PATCH] Updating for SSL - Changed link for google font - Updated hardcoded background image links to https --- style.css | 117 +++++++++++------------------------------------------- 1 file changed, 23 insertions(+), 94 deletions(-) diff --git a/style.css b/style.css index 0275044..f2bc6fb 100644 --- a/style.css +++ b/style.css @@ -1,7 +1,7 @@ /* Theme Name: OVPR Author: UConn Web Development Lab -Author URI: http://webdev.uconn.edu/ +Author URI: https://webdev.uconn.edu/ Description: This modern theme is based on the Hale layout, but with a bold new look. Version: 1.1 License: GNU General Public License v2 or later @@ -16,7 +16,7 @@ Template: hale /* fonts */ -@import url(http://fonts.googleapis.com/css?family=Oswald:400,700,300); +@import url('//fonts.googleapis.com/css?family=Oswald:400,700,300'); @@ -36,7 +36,7 @@ Template: hale .slogan { content:""; - background-image: url("http://production.wordpress.uconn.edu/research/wp-content/uploads/sites/351/2014/07/ovpr-header.png"); + background-image: url("https://production.wordpress.uconn.edu/research/wp-content/uploads/sites/351/2014/07/ovpr-header.png"); background-repeat: no-repeat; background-position: left center; height: 30px; @@ -47,7 +47,7 @@ Template: hale /*Start Testing */ @media (min-width: 980px) { .slogan { - background-image: url("http://production.wordpress.uconn.edu/research/wp-content/uploads/sites/351/2014/07/ovpr-header.png"); + background-image: url("https://production.wordpress.uconn.edu/research/wp-content/uploads/sites/351/2014/07/ovpr-header.png"); background-repeat: no-repeat; background-position: left center; } @@ -64,6 +64,7 @@ Template: hale } #uc-site-title a { display: block; + float: left; clear: both; font-size:24px; text-transform: none; @@ -209,13 +210,10 @@ z-index: 9999; #uc-navbar.navbar .nav.stack-bottom > li.current-menu-item > a, #uc-navbar.navbar .nav.stack-bottom > li.current-menu-ancestor > a, #uc-navbar.navbar .nav > li.current-menu-ancestor > a, #uc-navbar.navbar .nav > li.current-menu-item > a { + color:#1a296a; + color:#000; color:#333; } -#uc-navbar.navbar .nav.stack-bottom > li.current-menu-item > a, #uc-navbar.navbar .nav.stack-bottom > li.current-menu-ancestor > a { - - color: #333; -} - @@ -739,14 +737,14 @@ ul.arrows-blue li:before { #uc-navbar.navbar .nav.stack-bottom > li > a:hover { -color: #333; +color: #fff; text-shadow: none; background-color:transparent!important; } #uc-navbar.navbar .nav > li.current-menu-item > a{ color:#FFF; text-shadow: none; - + background-color:#333; } @@ -816,7 +814,7 @@ background-color:transparent!important; height: 231px; } .span12 .uc-ssw .nivoSlider { - height:287px; + height:311px; } @media (min-width: 1200px) { @@ -836,7 +834,7 @@ background-color:transparent!important; height: 287px; } .span12 .uc-ssw .nivoSlider { - height:287px; + height:388px; } } @media (min-width: 980px) and (max-width: 1199px) { @@ -893,7 +891,7 @@ background-color:transparent!important; height: 231px; } .span12 .uc-ssw .nivo-caption { - height:287px; + height:311px; } @media (min-width: 1200px) { @@ -913,7 +911,7 @@ background-color:transparent!important; height: 287px; } .span12 .uc-ssw .nivo-caption { - height:287px; + height:388px; } } @media (min-width: 980px) and (max-width: 1199px) { @@ -1091,12 +1089,10 @@ background-color:transparent!important; #sidebar-widgets{ } /* Article Feeds */ - .articlefeed1 .widget.widget_rss, .articlefeed2 .widget.widget_rss, .articlefeed3 .widget.widget_rss, .articlefeed4 .widget.widget_rss, .articlefeed5 .widget.widget_rss, .articlefeed6 .widget.widget_rss{ } - .articlefeed1 .widget.widget_rss ul, .articlefeed2 .widget.widget_rss ul, .articlefeed3 .widget.widget_rss ul, @@ -1123,18 +1119,18 @@ color: #1b2e67; } a.rsswidget img{ display:none; + } #home-main .widget_rss li { border-bottom: 1px solid #EFEFEF; - margin-bottom: 22px; - padding-bottom: 22px; -} - #home-main .widget_rss li:nth-last-child(1) { + margin-bottom: 22px; + padding-bottom: 22px; + } + #home-main .widget_rss li:nth-last-child(1) { border-bottom:none; - } - - + } + #home-main .articlefeed1, #home-main .articlefeed2, @@ -1142,18 +1138,8 @@ a.rsswidget img{ #home-main .articlefeed4, #home-main .articlefeed5, #home-main .articlefeed6{ - padding:20px 40px 50px; -} - - #home-main .articlefeed1 .textwidget, - #home-main .articlefeed2 .textwidget, - #home-main .articlefeed3 .textwidget, - #home-main .articlefeed4 .textwidget, - #home-main .articlefeed5 .textwidget, - #home-main .articlefeed6 .textwidget { - padding-left:0; - } - + padding:20px 40px 50px; + } #home-main .articlefeed1 .textwidget, #home-main .articlefeed2 .textwidget, #home-main .articlefeed3 .textwidget, @@ -1171,61 +1157,4 @@ a.rsswidget img{ height:50px; padding:0px; margin:0px; -} - - -/* Imports from CustomCSS plugin */ - -#nav-left-sibling #nav-left-sibling { -width:100% -} - -.entry .uc-cal .uc-cal-list .uc-cal-item a em { -margin-left:80px -} - -.widget_recent_entries li { -margin:.5em 0 -} - -#archive-title { -padding:5px 19px -} - -#archive-title .pagetitle { -margin:0 -} - -.widget-title a { - color:white; -} - - -.widget.widget_dpe_fp_widget .post { - background-color:transparent; -} - - -#social-buttons { - padding:15px 0; - } - #social-buttons a { - margin-right:1.5em; - border-bottom:none; - } - #social-buttons a:hover { - text-decoration:underline; - } - #social-buttons a img { - width:20px; - margin-right:.5em; - margin-top:-1px; - } - -@media print { - body, p, h1, h2, h3, a, ul, li, ol, - .post-header a, - widget-title { - font-family:"Arial", "Helvetica", sans-serif !important; - } -} +} \ No newline at end of file