diff --git a/assets/dive.jpg b/assets/dive.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e7678526c3fcec450713526a49625efa5a45b034 Binary files /dev/null and b/assets/dive.jpg differ diff --git a/assets/icons/4h.png b/assets/icons/4h.png index 0104b50ac8f032e8edaf967e49ac17e992b60d24..939d4bd2dce9b63fe37b63a9b1a3b1d9316c0e41 100644 Binary files a/assets/icons/4h.png and b/assets/icons/4h.png differ diff --git a/assets/icons/bulb.png b/assets/icons/bulb.png new file mode 100644 index 0000000000000000000000000000000000000000..7c08c83098e3939a2d44b76b555c26048a7ee7b2 Binary files /dev/null and b/assets/icons/bulb.png differ diff --git a/assets/icons/calendar.png b/assets/icons/calendar.png new file mode 100644 index 0000000000000000000000000000000000000000..6a9fd08b6ee9b8f1c50dc7ff466330799065973e Binary files /dev/null and b/assets/icons/calendar.png differ diff --git a/assets/icons/find.png b/assets/icons/find.png new file mode 100644 index 0000000000000000000000000000000000000000..5816481a5c44bfe31685b4b4c0b5574c05debe0a Binary files /dev/null and b/assets/icons/find.png differ diff --git a/assets/icons/hierarchical.png b/assets/icons/hierarchical.png new file mode 100644 index 0000000000000000000000000000000000000000..be44eb06e712d29633d28b6c620dd9740f044990 Binary files /dev/null and b/assets/icons/hierarchical.png differ diff --git a/assets/icons/id.png b/assets/icons/id.png new file mode 100644 index 0000000000000000000000000000000000000000..264cf20d2cbbda682138432f30e649259db4547d Binary files /dev/null and b/assets/icons/id.png differ diff --git a/assets/icons/location.png b/assets/icons/location.png new file mode 100644 index 0000000000000000000000000000000000000000..742335e138b1e44390b974904cda8a1e4d54802f Binary files /dev/null and b/assets/icons/location.png differ diff --git a/assets/icons/piggybank.png b/assets/icons/piggybank.png new file mode 100644 index 0000000000000000000000000000000000000000..a3c9f27232c6555715a3cc8d5cfbfa0acc618165 Binary files /dev/null and b/assets/icons/piggybank.png differ diff --git a/assets/icons/question.png b/assets/icons/question.png new file mode 100644 index 0000000000000000000000000000000000000000..0dee933406df1741a05d8b2fcd0a5d1bad486a46 Binary files /dev/null and b/assets/icons/question.png differ diff --git a/assets/icons/target.png b/assets/icons/target.png new file mode 100644 index 0000000000000000000000000000000000000000..467f92854c191b8f9f8ebd5c8399e2dcb9830a3e Binary files /dev/null and b/assets/icons/target.png differ diff --git a/images/program-wheel.jpg b/images/program-wheel.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cb675066664d899534cc18301e04d01bd55590d2 Binary files /dev/null and b/images/program-wheel.jpg differ diff --git a/style.css b/style.css index a5c5cf568fecdf6894546d2ff6f3c16c5cf17469..5bad5ec70bad97c27dfd61b20fce0dc937c21933 100644 --- a/style.css +++ b/style.css @@ -6,9 +6,6 @@ h2.wdn-brand { } .icon-band { text-align: center; - font-family: "Gotham SSm A", "Gotham SSm B", Verdana, "Verdana Ref", Geneva, Tahoma, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", sans-serif; - font-weight: 400; - font-style: normal; text-transform: uppercase; font-size: 1.1em; line-height: 1.4em; @@ -19,11 +16,59 @@ h2.wdn-brand { } .icon-band a { font-weight: bold; + display: block; +} +.icon-band a:hover { + background-color: #f3f3f3; +} +/* Social ********************/ +.wdn-social-band h3 { + font-family: "Gotham SSm A", "Gotham SSm B", Helvetica, "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif; + font-size: 1rem; + font-style: normal; + font-weight: 400; + line-height: 1.333; + text-transform: uppercase; +} +@media (min-width: 768px) { + .wdn-social-band h3 { + font-size: 1rem; + } +} +.wdn-social-band a { + border-bottom: 0 none; + display: inline-block; + font-size: 4.15385rem; + margin: 0; + padding: 0; +} +@media (min-width: 768px) { + .wdn-social-band a { + font-size: 3.375rem; + } +} +.wdn-social-band ul { + padding: 0; +} +.wdn-social-band li { + display: inline; + list-style: outside none none; + padding-left: 1rem; +} +.wdn-social-band li:first-child { + padding: 0; +} +.wdn-social-band [class^="wdn-icon-"]::before, +.wdn-social-band [class*=" wdn-icon-"]::before { + margin-right: 0; +} +.wdn-social-band .cehs-social-hide-text { + display: none; } /* Factoids **********************/ .view-factoids { background-color: #454545; - height: 320px; + text-transform: uppercase; } .view-factoids .wdn-col { position: relative; @@ -56,7 +101,7 @@ h2.wdn-brand { color: #fff; text-align: center; font-size: 4em; - line-height: 1em; + line-height: 1.1em; word-break: break-word; position: relative; left: 10%; @@ -69,10 +114,27 @@ h2.wdn-brand { text-align: center; position: relative; font-size: .75em; + line-height: 1.4em; font-family: "Gotham SSm A", "Gotham SSm B", Verdana, "Verdana Ref", Geneva, Tahoma, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", sans-serif; font-weight: 400; font-style: normal; } +.view-factoids .view-footer { + background-color: #d2232a; + color: #222; + font-family: "Gotham SSm A", "Gotham SSm B", Verdana, "Verdana Ref", Geneva, Tahoma, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", sans-serif; + font-weight: 400; + font-style: normal; + padding: 1.8em 0; +} +.view-factoids .view-footer .wdn-col-one-half:first-child { + text-align: right; + padding: 0.50em 1.333em 0em; +} +.view-factoids .view-footer .wdn-button { + font-size: .8em; + background-color: #222; +} /** Black Bands **********************/ .black-button-band, .black-band { @@ -83,12 +145,14 @@ h2.wdn-brand { margin-top: -0.6em; } .black-band .wdn-button { - font-size: 1em; + font-size: 1.2em; + margin-right: 3em; } -.black-button-band, +.black-button-band h3, .black-band h3 { - font-size: 1.25em; + font-size: 1.15em; color: #fff; + text-transform: uppercase; } .black-button-band ul li.wdn-col { margin-bottom: 1em; @@ -107,10 +171,9 @@ h2.wdn-brand { display: inline-block; display: flex; align-items: center; - font-size: .7em; + font-size: 11px; height: 6em; line-height: 1.4em; - max-width: 118px; } /** Image headers **********************/ .stretch-band { @@ -125,9 +188,51 @@ h2.wdn-brand { .stretch-band .image-overlay h2 { font-size: 3.5em; } +/** Google Custom Search Band **********************/ +.extension-search-band .gsc-control-cse { + background-color: inherit; + border: none; + padding: 0; +} +.extension-search-band .gsc-control-cse .gsc-input-box { + border: none; + height: auto; + background: transparent; +} +.extension-search-band .gsc-control-cse .gsc-input-box input { + height: 3em !important; + border-radius: .3em; + padding: 0 1em !important; + margin: 0 !important; + background-position: 2% 50% !important; +} +.extension-search-band .gsc-control-cse .gsc-search-button input { + border: none; + background-color: #454545; + font-size: 16px; + padding: 1.1em 2.2em; + margin: 0 0 0 1em; + -webkit-box-sizing: initial; + -moz-box-sizing: initial; + box-sizing: initial; +} +.extension-search-band .gsc-control-cse .gsib_b { + display: none; +} +.extension-search-band table, +.extension-search-band tbody, +.extension-search-band table tbody td { + border-top: none; + border: none; + padding: 0; + vertical-align: top; +} /****************************************************************************************************** * Home ******************************************************************************************************/ +.front .extension-search-band .gsc-search-button input { + background-color: #d00000; +} .featured-promo { background-color: rgba(0, 0, 0, 0.43); color: #fff; @@ -195,6 +300,10 @@ h2.wdn-brand { .page-impact #maincontent { background-color: #fff; } +.page-impact .wdn-brand.wdn-center { + font-size: 3.2em; + margin-bottom: 0.5em; +} .page-impact #node-484 section { border-bottom: 1px solid #bbb; position: relative; @@ -205,6 +314,34 @@ h2.wdn-brand { right: 0; max-width: 160px; } +.page-impact .view-factoids .view-footer { + display: none; +} +.button-icon { + background-repeat: no-repeat; + background-position: 8px center; + text-align: left; + padding: 0; + margin-bottom: 1em; + font-size: .9em; + text-transform: initial; +} +.button-icon > span { + display: block; + border-left: 1px solid white; + margin-left: 50px; + padding: 12px 100px 12px 18px; +} +.button-icon > span span { + font-style: italic; + font-size: .7em; +} +.button-icon-support { + float: right; + background-image: url('http://unlcms.unl.edu/ianr/nebraska-extension/images/icons/piggybank.png'); + background-size: 35px; + margin-left: 2em; +} .view-impact .field-name-field-impact-statement { font-family: "Gotham SSm A", "Gotham SSm B", Verdana, "Verdana Ref", Geneva, Tahoma, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", sans-serif; font-weight: 400; @@ -233,6 +370,9 @@ h2.wdn-brand { /****************************************************************************************************** * Find An Answer ******************************************************************************************************/ +.page-find-an-answer #pagetitle { + display: none; +} .view-featured-questions-answers .field-name-body { font-size: .8em; } @@ -241,10 +381,10 @@ h2.wdn-brand { } .view-featured-questions-answers .view-content .wdn-button { width: 100%; - text-align: left; padding-left: 30px; - background-image: url('df'); - background-repeat: no-repeat; +} +.view-featured-questions-answers .extension-search-band { + background-color: #d00000; } /****************************************************************************************************** * Educational Programs diff --git a/style.less b/style.less index a7cb301e9ee101b1206c60fb2fc121550147c62c..aa80993275001130c3f23b6656eb0702aff0a5ef 100644 --- a/style.less +++ b/style.less @@ -12,7 +12,6 @@ h2.wdn-brand { .icon-band { text-align: center; - .sans-serif-font(); text-transform: uppercase; font-size: 1.1em; line-height: 1.4em; @@ -24,13 +23,62 @@ h2.wdn-brand { a { //color: #474746; font-weight: bold; + display: block; + + &:hover { + background-color: #f3f3f3; + } + } +} + +/* Social ********************/ +.wdn-social-band h3 { + font-family: "Gotham SSm A","Gotham SSm B",Helvetica,"Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif; + font-size: 1rem; + font-style: normal; + font-weight: 400; + line-height: 1.333; + text-transform: uppercase; +} +@media (min-width: 768px) { + .wdn-social-band h3 { + font-size: 1rem; } } +.wdn-social-band a { + border-bottom: 0 none; + display: inline-block; + font-size: 4.15385rem; + margin: 0; + padding: 0; +} +@media (min-width: 768px) { + .wdn-social-band a { + font-size: 3.375rem; + } +} +.wdn-social-band ul { + padding: 0; +} +.wdn-social-band li { + display: inline; + list-style: outside none none; + padding-left: 1rem; +} +.wdn-social-band li:first-child { + padding: 0; +} +.wdn-social-band [class^="wdn-icon-"]::before, .wdn-social-band [class*=" wdn-icon-"]::before { + margin-right: 0; +} +.wdn-social-band .cehs-social-hide-text { + display: none; +} /* Factoids **********************/ .view-factoids { background-color: #454545; - height: 320px; + text-transform: uppercase; .wdn-col { position: relative; @@ -61,7 +109,7 @@ h2.wdn-brand { color: #fff; text-align: center; font-size: 4em; - line-height: 1em; + line-height: 1.1em; word-break: break-word; position: relative; left: 10%; @@ -74,7 +122,24 @@ h2.wdn-brand { text-align: center; position: relative; font-size: .75em; + line-height: 1.4em; + .sans-serif-font(); + } + + .view-footer { + background-color: #d2232a; + color: #222; .sans-serif-font(); + padding: 1.8em 0; + + .wdn-col-one-half:first-child { + text-align: right; + padding: 0.50em 1.333em 0em; + } + .wdn-button { + font-size: .8em; + background-color: #222; + } } } @@ -87,11 +152,13 @@ h2.wdn-brand { margin-top: -.6em; } .black-band .wdn-button { - font-size: 1em; + font-size: 1.2em; + margin-right: 3em; } -.black-button-band, .black-band h3 { - font-size: 1.25em; +.black-button-band h3, .black-band h3 { + font-size: 1.15em; color: #fff; + text-transform: uppercase; } .black-button-band ul li.wdn-col { margin-bottom: 1em; @@ -108,13 +175,11 @@ h2.wdn-brand { display: inline-block; display: flex; align-items: center; - font-size: .7em; + font-size: 11px; height: 6em; line-height: 1.4em; - max-width: 118px; } - /** Image headers **********************/ .stretch-band { position: relative; @@ -130,9 +195,59 @@ h2.wdn-brand { } } +/** Google Custom Search Band **********************/ +.extension-search-band { + + .gsc-control-cse { + background-color: inherit; + border: none; + padding: 0; + + .gsc-input-box { + border: none; + height: auto; + background: transparent; + + input { + height: 3em !important; + border-radius: .3em; + padding: 0 1em !important; + margin: 0 !important; + background-position: 2% 50% !important; + } + } + + .gsc-search-button { + + input { + border: none; + background-color: #454545; + font-size: 16px; + padding: 1.1em 2.2em; + margin: 0 0 0 1em; + + -webkit-box-sizing: initial; + -moz-box-sizing: initial; + box-sizing: initial; + } + } + .gsib_b {display: none;} + } + table, tbody, table tbody td { + border-top: none; + border: none; + padding: 0; + vertical-align: top; + } +} + + /****************************************************************************************************** * Home ******************************************************************************************************/ +.front .extension-search-band .gsc-search-button input { + background-color: #d00000; +} .featured-promo { background-color: rgba(0,0,0,.43); color: #fff; @@ -203,6 +318,11 @@ h2.wdn-brand { background-color: #fff; } + .wdn-brand.wdn-center { + font-size: 3.2em; + margin-bottom: 0.5em; + } + #node-484 { //Impacting All of Nebraska section { border-bottom: 1px solid #bbb; @@ -215,6 +335,38 @@ h2.wdn-brand { max-width: 160px; } } + + .view-factoids .view-footer { + display: none; + } +} + +.button-icon { + background-repeat: no-repeat; + background-position: 8px center; + text-align: left; + padding: 0; + margin-bottom: 1em; + font-size: .9em; + text-transform: initial; + + > span { + display: block; + border-left: 1px solid white; + margin-left: 50px; + padding: 12px 100px 12px 18px; + + span { + font-style: italic; + font-size: .7em; + } + } +} +.button-icon-support { + float: right; + background-image: url('http://unlcms.unl.edu/ianr/nebraska-extension/images/icons/piggybank.png'); + background-size: 35px; + margin-left: 2em; } .view-impact { @@ -246,6 +398,11 @@ h2.wdn-brand { /****************************************************************************************************** * Find An Answer ******************************************************************************************************/ +.page-find-an-answer { + #pagetitle { + display: none; + } +} .view-featured-questions-answers { .field-name-body { font-size: .8em; @@ -257,10 +414,11 @@ h2.wdn-brand { .view-content .wdn-button { width: 100%; - text-align: left; padding-left: 30px; - background-image: url('df'); - background-repeat: no-repeat; + } + + .extension-search-band { + background-color: #d00000; } }