Skip to content
Snippets Groups Projects
Commit 0c785029 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

More icons; Google CSE css

parent cc00a649
No related branches found
No related tags found
No related merge requests found
assets/dive.jpg

220 KiB

assets/icons/4h.png

5.17 KiB | W: | H:

assets/icons/4h.png

21.5 KiB | W: | H:

assets/icons/4h.png
assets/icons/4h.png
assets/icons/4h.png
assets/icons/4h.png
  • 2-up
  • Swipe
  • Onion skin
assets/icons/bulb.png

6.74 KiB

assets/icons/calendar.png

3.35 KiB

assets/icons/find.png

6.48 KiB

assets/icons/hierarchical.png

2.62 KiB

assets/icons/id.png

3.35 KiB

assets/icons/location.png

8.55 KiB

assets/icons/piggybank.png

2.83 KiB

assets/icons/question.png

7.78 KiB

assets/icons/target.png

5.02 KiB

images/program-wheel.jpg

284 KiB

...@@ -6,9 +6,6 @@ h2.wdn-brand { ...@@ -6,9 +6,6 @@ h2.wdn-brand {
} }
.icon-band { .icon-band {
text-align: center; 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; text-transform: uppercase;
font-size: 1.1em; font-size: 1.1em;
line-height: 1.4em; line-height: 1.4em;
...@@ -19,11 +16,59 @@ h2.wdn-brand { ...@@ -19,11 +16,59 @@ h2.wdn-brand {
} }
.icon-band a { .icon-band a {
font-weight: bold; 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 **********************/ /* Factoids **********************/
.view-factoids { .view-factoids {
background-color: #454545; background-color: #454545;
height: 320px; text-transform: uppercase;
} }
.view-factoids .wdn-col { .view-factoids .wdn-col {
position: relative; position: relative;
...@@ -56,7 +101,7 @@ h2.wdn-brand { ...@@ -56,7 +101,7 @@ h2.wdn-brand {
color: #fff; color: #fff;
text-align: center; text-align: center;
font-size: 4em; font-size: 4em;
line-height: 1em; line-height: 1.1em;
word-break: break-word; word-break: break-word;
position: relative; position: relative;
left: 10%; left: 10%;
...@@ -69,10 +114,27 @@ h2.wdn-brand { ...@@ -69,10 +114,27 @@ h2.wdn-brand {
text-align: center; text-align: center;
position: relative; position: relative;
font-size: .75em; 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-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-weight: 400;
font-style: normal; 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 Bands **********************/
.black-button-band, .black-button-band,
.black-band { .black-band {
...@@ -83,12 +145,14 @@ h2.wdn-brand { ...@@ -83,12 +145,14 @@ h2.wdn-brand {
margin-top: -0.6em; margin-top: -0.6em;
} }
.black-band .wdn-button { .black-band .wdn-button {
font-size: 1em; font-size: 1.2em;
margin-right: 3em;
} }
.black-button-band, .black-button-band h3,
.black-band h3 { .black-band h3 {
font-size: 1.25em; font-size: 1.15em;
color: #fff; color: #fff;
text-transform: uppercase;
} }
.black-button-band ul li.wdn-col { .black-button-band ul li.wdn-col {
margin-bottom: 1em; margin-bottom: 1em;
...@@ -107,10 +171,9 @@ h2.wdn-brand { ...@@ -107,10 +171,9 @@ h2.wdn-brand {
display: inline-block; display: inline-block;
display: flex; display: flex;
align-items: center; align-items: center;
font-size: .7em; font-size: 11px;
height: 6em; height: 6em;
line-height: 1.4em; line-height: 1.4em;
max-width: 118px;
} }
/** Image headers **********************/ /** Image headers **********************/
.stretch-band { .stretch-band {
...@@ -125,9 +188,51 @@ h2.wdn-brand { ...@@ -125,9 +188,51 @@ h2.wdn-brand {
.stretch-band .image-overlay h2 { .stretch-band .image-overlay h2 {
font-size: 3.5em; 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 * Home
******************************************************************************************************/ ******************************************************************************************************/
.front .extension-search-band .gsc-search-button input {
background-color: #d00000;
}
.featured-promo { .featured-promo {
background-color: rgba(0, 0, 0, 0.43); background-color: rgba(0, 0, 0, 0.43);
color: #fff; color: #fff;
...@@ -195,6 +300,10 @@ h2.wdn-brand { ...@@ -195,6 +300,10 @@ h2.wdn-brand {
.page-impact #maincontent { .page-impact #maincontent {
background-color: #fff; background-color: #fff;
} }
.page-impact .wdn-brand.wdn-center {
font-size: 3.2em;
margin-bottom: 0.5em;
}
.page-impact #node-484 section { .page-impact #node-484 section {
border-bottom: 1px solid #bbb; border-bottom: 1px solid #bbb;
position: relative; position: relative;
...@@ -205,6 +314,34 @@ h2.wdn-brand { ...@@ -205,6 +314,34 @@ h2.wdn-brand {
right: 0; right: 0;
max-width: 160px; 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 { .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-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-weight: 400;
...@@ -233,6 +370,9 @@ h2.wdn-brand { ...@@ -233,6 +370,9 @@ h2.wdn-brand {
/****************************************************************************************************** /******************************************************************************************************
* Find An Answer * Find An Answer
******************************************************************************************************/ ******************************************************************************************************/
.page-find-an-answer #pagetitle {
display: none;
}
.view-featured-questions-answers .field-name-body { .view-featured-questions-answers .field-name-body {
font-size: .8em; font-size: .8em;
} }
...@@ -241,10 +381,10 @@ h2.wdn-brand { ...@@ -241,10 +381,10 @@ h2.wdn-brand {
} }
.view-featured-questions-answers .view-content .wdn-button { .view-featured-questions-answers .view-content .wdn-button {
width: 100%; width: 100%;
text-align: left;
padding-left: 30px; padding-left: 30px;
background-image: url('df'); }
background-repeat: no-repeat; .view-featured-questions-answers .extension-search-band {
background-color: #d00000;
} }
/****************************************************************************************************** /******************************************************************************************************
* Educational Programs * Educational Programs
......
...@@ -12,7 +12,6 @@ h2.wdn-brand { ...@@ -12,7 +12,6 @@ h2.wdn-brand {
.icon-band { .icon-band {
text-align: center; text-align: center;
.sans-serif-font();
text-transform: uppercase; text-transform: uppercase;
font-size: 1.1em; font-size: 1.1em;
line-height: 1.4em; line-height: 1.4em;
...@@ -24,13 +23,62 @@ h2.wdn-brand { ...@@ -24,13 +23,62 @@ h2.wdn-brand {
a { a {
//color: #474746; //color: #474746;
font-weight: bold; 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 **********************/ /* Factoids **********************/
.view-factoids { .view-factoids {
background-color: #454545; background-color: #454545;
height: 320px; text-transform: uppercase;
.wdn-col { .wdn-col {
position: relative; position: relative;
...@@ -61,7 +109,7 @@ h2.wdn-brand { ...@@ -61,7 +109,7 @@ h2.wdn-brand {
color: #fff; color: #fff;
text-align: center; text-align: center;
font-size: 4em; font-size: 4em;
line-height: 1em; line-height: 1.1em;
word-break: break-word; word-break: break-word;
position: relative; position: relative;
left: 10%; left: 10%;
...@@ -74,7 +122,24 @@ h2.wdn-brand { ...@@ -74,7 +122,24 @@ h2.wdn-brand {
text-align: center; text-align: center;
position: relative; position: relative;
font-size: .75em; font-size: .75em;
line-height: 1.4em;
.sans-serif-font();
}
.view-footer {
background-color: #d2232a;
color: #222;
.sans-serif-font(); .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 { ...@@ -87,11 +152,13 @@ h2.wdn-brand {
margin-top: -.6em; margin-top: -.6em;
} }
.black-band .wdn-button { .black-band .wdn-button {
font-size: 1em; font-size: 1.2em;
margin-right: 3em;
} }
.black-button-band, .black-band h3 { .black-button-band h3, .black-band h3 {
font-size: 1.25em; font-size: 1.15em;
color: #fff; color: #fff;
text-transform: uppercase;
} }
.black-button-band ul li.wdn-col { .black-button-band ul li.wdn-col {
margin-bottom: 1em; margin-bottom: 1em;
...@@ -108,13 +175,11 @@ h2.wdn-brand { ...@@ -108,13 +175,11 @@ h2.wdn-brand {
display: inline-block; display: inline-block;
display: flex; display: flex;
align-items: center; align-items: center;
font-size: .7em; font-size: 11px;
height: 6em; height: 6em;
line-height: 1.4em; line-height: 1.4em;
max-width: 118px;
} }
/** Image headers **********************/ /** Image headers **********************/
.stretch-band { .stretch-band {
position: relative; position: relative;
...@@ -130,9 +195,59 @@ h2.wdn-brand { ...@@ -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 * Home
******************************************************************************************************/ ******************************************************************************************************/
.front .extension-search-band .gsc-search-button input {
background-color: #d00000;
}
.featured-promo { .featured-promo {
background-color: rgba(0,0,0,.43); background-color: rgba(0,0,0,.43);
color: #fff; color: #fff;
...@@ -203,6 +318,11 @@ h2.wdn-brand { ...@@ -203,6 +318,11 @@ h2.wdn-brand {
background-color: #fff; background-color: #fff;
} }
.wdn-brand.wdn-center {
font-size: 3.2em;
margin-bottom: 0.5em;
}
#node-484 { //Impacting All of Nebraska #node-484 { //Impacting All of Nebraska
section { section {
border-bottom: 1px solid #bbb; border-bottom: 1px solid #bbb;
...@@ -215,6 +335,38 @@ h2.wdn-brand { ...@@ -215,6 +335,38 @@ h2.wdn-brand {
max-width: 160px; 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 { .view-impact {
...@@ -246,6 +398,11 @@ h2.wdn-brand { ...@@ -246,6 +398,11 @@ h2.wdn-brand {
/****************************************************************************************************** /******************************************************************************************************
* Find An Answer * Find An Answer
******************************************************************************************************/ ******************************************************************************************************/
.page-find-an-answer {
#pagetitle {
display: none;
}
}
.view-featured-questions-answers { .view-featured-questions-answers {
.field-name-body { .field-name-body {
font-size: .8em; font-size: .8em;
...@@ -257,10 +414,11 @@ h2.wdn-brand { ...@@ -257,10 +414,11 @@ h2.wdn-brand {
.view-content .wdn-button { .view-content .wdn-button {
width: 100%; width: 100%;
text-align: left;
padding-left: 30px; padding-left: 30px;
background-image: url('df'); }
background-repeat: no-repeat;
.extension-search-band {
background-color: #d00000;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment