diff --git a/groups/new-homepage-3/homepage3-js-css.html b/groups/new-homepage-3/homepage3-js-css.html index f30ddbb..020dfce 100644 --- a/groups/new-homepage-3/homepage3-js-css.html +++ b/groups/new-homepage-3/homepage3-js-css.html @@ -10,7 +10,7 @@ body { background-color: #bbb; border: none; font-size: 1.4em; - color: black; + color: #111; margin-top: -15px; margin-bottom: 28px; border-radius: 0px; @@ -18,7 +18,7 @@ body { .navbar-default .navbar-nav>li>a { - color: black; + color: #111; } .faux-card { @@ -40,15 +40,24 @@ body { /* style for nav by the jumbotron */ .nav-by-jumbotron { - margin-top: -4px; + margin-top: -6px; } .nav-divs-by-jumbotron { background-color: #bbb; - margin: 4px 0px; - padding: 8px; - font-size: 1.5em; text-align: center; + padding: 8px; + margin: 6px 0px; +} + +.nav-divs-by-jumbotron>h2 { + font-size: 1.5em; + margin-bottom: 4px; + margin-top: 4px; +} + +.nav-divs-by-jumbotron:hover { + background-color: #ddd; } /* style the panels with the text content */ @@ -71,6 +80,11 @@ body { font-size: 2em; } +.content-panel-title>h2 { + margin: 7px 0px; + font-size: 1em; +} + .panel-heading { padding: 2px; } @@ -142,6 +156,10 @@ img { margin-right: 50px; } +.yamm-item { + min-height: 100px; +} + /*! * Yamm!3 - Yet another megamenu for Bootstrap 3 * http://geedmo.github.com/yamm3 @@ -185,16 +203,20 @@ window.onload = function () { if (targetDate.getFullYear() === today.getFullYear() && targetDate.getMonth() === today.getMonth() && targetDate.getDate() === today.getDate()) { - document.getElementById('hours0').innerHTML = "

Today
" + targetDate.toLocaleDateString("en-US", options_date) + "

" + h[i]["Hours"] + "

" + document.getElementById('hours0').innerHTML = "

Today
" + targetDate.toLocaleDateString("en-US", options_date) + "

" + h[i]["Hours"] + "

" var start = true; var count = 1; } else if (start === true && count < 5 && h[i]["Hours"] === "Closed" ) { document.getElementById('hours' + count).innerHTML = "

" + targetDate.toLocaleDateString("en-US", options_weekday) + "
" + targetDate.toLocaleDateString("en-US", options_date) + "

" + h[i]["Hours"] + "

" count++; - } else if (start === true && count < 5 && h[i]["Hours"] != "Closed") { + } else if (start === true && count < 5 && h[i]["Hours"] != "Closed") { document.getElementById('hours' + count).innerHTML = "

" + targetDate.toLocaleDateString("en-US", options_weekday) + "
" + targetDate.toLocaleDateString("en-US", options_date) + "

" + h[i]["Hours"] + "

" count++; - }; + }; }; }; + + + + diff --git a/groups/new-homepage-3/homepage3-template.html b/groups/new-homepage-3/homepage3-template.html index 4ad8573..f4729fc 100644 --- a/groups/new-homepage-3/homepage3-template.html +++ b/groups/new-homepage-3/homepage3-template.html @@ -158,6 +158,11 @@ Campus Map

How to find us

+
+ + Hours +

See the library's opening hours

+
@@ -179,10 +184,10 @@
@@ -191,7 +196,7 @@
- A list of links +

A list of links

@@ -216,7 +221,7 @@
- Upcoming Library Hours +

Upcoming Library Hours

@@ -258,7 +263,7 @@ @@ -269,7 +274,7 @@
- What's new in the library +

What's new in the library

{{content_boxes}}