Skip to content
Snippets Groups Projects
style.css 4.13 KiB
/* Import fonts. */
@import url("https://amrdc.ssec.wisc.edu/fonts/uw-rh/fonts.0.0.1.css");

/* Use fonts. */
body {
  font-family: 'Red Hat Text', sans-serif;
}
#site-title,
.masthead .navigation .nav-pills li,
.page-heading,
article.module .module-content h1,
.nums dd,
.info dt {
  font-family: 'Red Hat Display', sans-serif;
}

body {
  color: #494949;
  font-size: 160%;
}

/* Make CSS and Markdown textareas more suitable editors. */
#field-ckan-site-about,
#field-ckan-site-intro-text,
#field-ckan-site-custom-css {
  font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
  min-height: 300px;
}

/* Style media headings. */
.media-overlay .media-heading {
  background-color: white;
  border-radius: 0 0 3px 3px;
  bottom: 0;
  color: #000000;
  font-size: 15px;
  left: 0;
  margin: 0;
  padding: 12px 10px;
  position: absolute;
  right: 0;
  z-index: 1;
}


/*
 * Bar at the very top of the page
 */

.account-masthead {
  background: linear-gradient(45deg, #c5050c, #007db1);
}
.account-masthead .container {
  width: initial;
}
.account-masthead .account ul li {
  border: none;
}
.account-masthead .account ul li a {
  color: white;
}
.account-masthead .account ul li a:hover {
  background-color: #c5050c;
}


/*
 * Main masthead bar that contains the site logo, nav links, and search
 */
.masthead {
  background: white;
  color: #282728;
  font-size: 15px;
}
.masthead .logo img {
  max-height: 75px;
}
.masthead .navbar-collapse {
  padding: 16px 0;
}

.masthead::before,
.masthead::after {
  content: "";
  display: table;
  line-height: 0;
  margin-bottom: 0px;
}

.masthead .navigation .nav-pills li {
  padding: 7px 15px 0px;
}
.masthead .navigation .nav-pills li a {
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: #282728;
  font-weight: 650;
  font-size: 18px;
  padding: 2px 0 0;
}
.masthead .navigation .nav-pills li a:hover,
.masthead .navigation .nav-pills li a:focus,
.masthead .navigation .nav-pills li.active a {
  border-bottom-color: #c5050c;
  background-color: transparent;
  text-shadow: none;
}

.masthead .nav > li > a,
.masthead .nav > li > a:focus,
.masthead .nav > li > a:hover,
.masthead .nav > .active > a,
.masthead .nav > .active > a:hover,
.masthead .nav > .active > a:focus {
  color: #282728;
}

/* Style the masthead search bar. */
#field-sitewide-search {
  border: 1px solid #646569;
  border-radius: 0;
  font-size: 16px;
  font-weight: normal;
  padding: 8px;
}
.masthead .site-search {
  margin-top: 2px;
  margin-bottom: 2px;
}


/*
 * Hero with search box
 */

.hero {
  background: url("/threetowerscrop.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Change the colors of the "Search Your Data" box.*/
.homepage .module-search .module-content {
  background-color: #c5050c;
  text-size: 90%;
}

.homepage .module-search .module-content .search-input {
  text-size: 90%;
}
.homepage .module-search .tags {
  background-color: #282728;
  text-size: 75%;
}
.homepage .module-search {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0px;
  border: 0px;
  width: 65%;
  height: 50%;
}
.homepage section.featured.media-overlay {
  display: none;
}
[role=main] {
  min-height: 300px;
}
[role="main"]:not(.hero) {
  background: #eee;
}
/* Remove the "box shadow" effect around various boxes on the page. */
.box {
  box-shadow: none;
}
/* Remove the borders around the "Welcome to CKAN" and "Search Your
   Data" boxes. */
.hero .box {
  border: none;
}


/*
 * Footer
 */

.site-footer {
  padding: 36px 0;
}
.site-footer,
body {
  background: #282728;
}
.site-footer::before {
  content: '';
  display: block;
  position: relative;
  top: -36px;
  height: 5px;
  background: linear-gradient(45deg, #c5050c, #007db1);
}
/* The text in the footer. */
.site-footer,
.site-footer label,
.site-footer small {
  color: #adadad;
}
/* The link texts in the footer. */
.site-footer a {
  color: #adadad;
  text-decoration: none;
}
.site-footer a:hover {
  color: #f7f7f7;
}
.site-footer .attribution a img {
  opacity: 0.629;
}
.site-footer .attribution a:hover img {
  opacity: 0.976;
}
.footer-links ul li {
  margin-bottom: 12px;
}