Commit d18930b5 authored by Nic's avatar Nic Committed by Aegir user

front-page header and responsive menubar height

parent c291e0da
......@@ -526,7 +526,7 @@ body.admin-menu #flexslider-1,
@media (max-width: 999px) {
body section.main-body,
body section.main-body.with-subnav {
padding-top: 120px;
padding-top: 86px;
}
body.admin-menu section.main-body,
body.admin-menu section.main-body.with-subnav {
......@@ -828,6 +828,16 @@ header #subnav .menu-block-wrapper .nav > li a.active-trail {
.navbar-default .navbar-collapse, .navbar-default .navbar-form{
border-color: #eee;
}
.navbar {
min-height: 87px;
}
.navbar .logo {
margin: 10px 0;
}
.navbar-toggle {
margin-bottom: 25px;
margin-top: 25px;
}
.open > .dropdown-menu {
border: medium none;
box-shadow: none;
......@@ -933,63 +943,79 @@ header #subnav .menu-block-wrapper .nav > li a{
/* HOME HERO SECTION */
#banner .pane-1 {
background: #231f20 url(/sites/all/themes/civicrm_bootstrap/images/bg-hero-banner.jpg) no-repeat scroll top center / cover;
overflow: hidden;
text-align: center;
color: #fff;
}
#banner .pane-2{
text-align: center;
padding: 50px 0;
background: #231f20 url(/sites/all/themes/civicrm_bootstrap/images/header-full-tint.jpg) no-repeat scroll center top / cover;
overflow: hidden;
color: #fff;
}
#banner .pane-1 h2.pane-title,
.stripe-partners .pane-title{
display: none;
}
#banner .pane-1 h1 {
color: #fff;
color: #fff;
font-family: 'Oswald', sans-serif;
font-size: 53px;
}
#banner .pane-1 .pane-content {
color: #fff;
color: #fff;
}
.support-line{
margin-bottom: 25px
margin-bottom: 25px;
font-size: 28px;
font-weight: 300;
}
.homepage-banner .text {
margin-bottom: 50px;
margin-bottom: 50px;
}
.hero-benefits {
background-color: rgba(0, 0, 0, 0.4);
padding: 30px 0;
width: 100%;
padding: 30px 0;
width: 100%;
}
.hero-benefits .row {
margin-left: -50px;
margin-right: -50px;
}
.hero-benefits div.small {
font-size: 11px;
margin-bottom: 10px;
font-size: 11px;
margin-bottom: 10px;
}
.hero-benefits .fa{
color: #7cc856;
.hero-benefits a {
color: #fff;
font-weight: 400;
}
.hero-benefits .fa {
color: #7cc856;
display: inherit;
float: left;
font-size: 50px;
padding: 5px 10px 10px 0;
}
.hero-benefits .benefit{
font-size: 20px;
}
.cms-logo {
margin: 0 5px;
font-size: 22px;
font-weight: 300;
}
.civistat img {
height: auto;
max-width: 300px;
width: 100%;
margin-bottom: 15px;
}
#banner .pane-2 h2 {
margin: 0 0 30px;
height: auto;
max-width: 300px;
width: 100%;
margin-bottom: 15px;
}
.civistat .heading {
font-size: 18px;
font-weight: bold;
font-size: 18px;
font-weight: bold;
}
@media (max-width: 999px) {
.hero-benefits .fa {
font-size: 28px;
padding: 0 10px 0 0;
clear: both;
}
}
@media (max-width: 780px) {
#banner .pane-1 .pane-content {
padding: 0 25px;
}
}
/* NEWS AND EVENTS HOME */
.pane-homepage-news .views-field-title h3,
......@@ -1574,7 +1600,7 @@ a.feature-box:hover{
color: #fff;
display: inline-block;
font-size: 22px;
margin-bottom: 15px;
margin: 15px 0;
padding: 15px 30px;
cursor: pointer;
}
......@@ -1890,15 +1916,17 @@ p.sponsor-image.midler a {
.node-type-conference.node-type-civicamp .field-name-field-header-image:after {
max-height: 500px;
}
.view-CiviCamp.view-display-id-panel_pane_1,
.view-CiviCamp.view-display-id-panel_pane_1 {
width: 100%;
height: auto;
margin: 40px auto -20px;
}
.view-CiviCamp.view-display-id-panel_pane_1 img,
.view-display-id-civicamp_menu_pane img {
max-width: 340px;
width: 100%;
height: auto;
margin: 40px auto -20px;
}
.view-display-id-civicamp_menu_pane img {
margin-bottom: 15px;
}
.view-display-id-civicamp_menu_pane h1 {
......@@ -2895,8 +2923,8 @@ a.grey {
margin: 0;
}
.page-providers .vertical-tabs-panes #edit-tab-3 .view-service-providers .views-row-first,
.page-providers .vertical-tabs-panes #edit-tab-2 .view-service-providers .views-row-first {
margin-top: 0;
.page-providers .vertical-tabs-panes #edit-tab-2 .views-row-first {
margin-top: 0 !important;
padding-top: 5px;
}
.page-providers .vertical-tabs-panes #edit-tab-3 .views-field-nothing,
......@@ -2937,7 +2965,8 @@ a.grey {
margin: -20px 10px 0 0;
object-fit: cover;
}
.page-providers .vertical-tabs-panes #edit-tab-3 .views-row-first {
.page-providers .vertical-tabs-panes #edit-tab-3 .views-row-first
.page-providers .vertical-tabs-panes #edit-tab-2 .views-row-first {
padding-top: 0;
margin-top: 0;
}
......@@ -2968,7 +2997,8 @@ a.grey {
}
.cs-developers img {
float: right;
max-width: 100%;
max-width: 80%;
margin-top: 10px;
}
.cs-header h1 {
margin: 0 0 8px;
......@@ -2994,6 +3024,9 @@ a.grey {
.cs-features {
min-width: 240px;
}
.cs-approach {
margin-top: 5px !important;
}
.cs-features ul,
.cs-screengrabs ul {
list-style: none;
......@@ -3017,7 +3050,7 @@ a.grey {
.cs-screengrabs {
left: 25%;
position: relative;
padding: 25px 0 0 25px;
padding: 25px;
}
.views-field-field-ccrm-cs-images:before {
content: "screengrabs";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment