Commit 00173e42 authored by Nic's avatar Nic Committed by Aegir user

CSS revisions: fixes, event sponsor page, event sub-menu

parent 893686bd
......@@ -21,8 +21,6 @@
Page - blog
NB: Media queries are inline wherever possible
23.12.2016
*****************************************************************/
......@@ -35,7 +33,7 @@
@import 'https://fonts.googleapis.com/css?family=Oswald:700&subset=latin-ext';
@import 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700,700i';
/* SPACING */
/* SPACING FIXES */
.page-header h1,
.page-node .page-header,
......@@ -60,12 +58,20 @@ body.navbar-is-fixed-top {
body.front.admin-menu .CiviPage {
margin-top: 60px;
}
body.admin-menu.node-type-conference .region.region-content {
body.admin-menu.node-type-conference .region.region-content,
body.admin-menu.node-type-civicamp .region.region-content {
margin: -12px 0px -19px 0px;
}
body.node-type-civicamp .region.region-content {
margin: 40px 0px -19px 0px;
}
body.admin-menu #flexslider-1 {
margin-top: 95px;
}
.page-node-4855 .CiviPage > section,
.blog-listing .page-header {
margin-top: 80px;
}
@media (max-width: 999px) {
body.admin-menu header#page-header {
......@@ -1278,6 +1284,56 @@ margin-top: 15px;
font-family: oswald,sans-serif;
text-transform: uppercase;
}
/* CIVICON SPONSOR PAGE */
.view-sponsorship-levels.view-display-id-page_1 {
text-align: center;
}
.view-sponsorship-levels.view-display-id-page_1 .view-content h3 {
text-transform: uppercase;
font-size: 22px;
text-align: center;
border-bottom: 6px solid #dedede;
width: 40%;
margin: 40px auto 20px;
padding-bottom: 4px;
font-family: 'Oswald';
}
.view-sponsorship-levels.view-display-id-page_1 ul {
list-style-type: none;
padding: 0px;
text-align: center;
}
.view-sponsorship-levels.view-display-id-page_1 ul li {
display: inline-block;
margin: 0px 10px;
}
p.sponsor-image {
margin: 10px 0px;
}
p.sponsor-image img {
margin: 0 auto;
}
p.sponsor-image.Full img {
width: 160px;
height: auto;
}
p.sponsor-image.Full .sponsor-name,
p.sponsor-image.Mid .sponsor-name{
display: none;
}
p.sponsor-image.Mid img {
max-width: 80px;
height: auto;
}
p.sponsor-image.Text img {
display: none;
}
p.sponsor-image.Text .sponsor-name a {
font-weight: bold;
font-size: 18px;
text-transform: uppercase;
}
/* CIVICON SUBMENU */
......@@ -1333,21 +1389,25 @@ margin-top: 15px;
margin-bottom: 10px;
}
.view-civicon.view-id-civicon.view-display-id-panel_pane_1 {
border-bottom: 1px solid #ddd;
border-bottom: 3px solid #dedede;
padding-bottom: 10px;
min-height: 115px;
margin-top: 10px;
}
.node-type-conference .view-civicon.view-id-civicon {
border-bottom: 0px solid transparent;
border-top: 1px solid #ddd;
padding: 10px 25px 0px;
margin-top: 6px;
border-top: 3px solid #dedede;
padding: 10px 0px 20px;
margin-top: 0px;
margin-bottom: 40px;
}
.view-civicon.view-id-civicon.view-display-id-panel_pane_1 ul li a:active {
color: #82c459 !important;
font-weight: 400;
}
.view-civicon.view-id-civicon ul.event-menu {
margin-right: 15px;
}
.view-civicon.view-id-civicon.view-display-id-panel_pane_1 .col-sm-3 {
padding-left: 0px;
}
......@@ -1363,6 +1423,46 @@ margin-top: 15px;
font-size: 48px;
line-height: 58px;
}
.node-type-conference .col-lg-5 .pane-civicon-panel-pane-1 {
width: 1125px;
}
.node-type-conference .panel-panel.right.col-lg-offset-1 {
margin-top: 170px;
}
@media (max-width:1200px){
.node-type-conference .col-lg-5 .pane-civicon-panel-pane-1 {
width: 925px;
}
.node-type-conference .view-civicon.view-id-civicon .view-content {
height: 100px;
}
.node-type-conference .panel-panel.right.col-lg-offset-1 {
margin-top: auto;
}
}
@media (max-width:992px){
.node-type-conference .col-lg-5 .pane-civicon-panel-pane-1 {
width: 705px;
}
.view-civicon.view-id-civicon ul.event-menu {
margin-right: 0px;
}
.node-type-conference .view-civicon.view-id-civicon /* edit */ {
border-bottom: 0px solid transparent;
}
}
@media (max-width:768px){
.node-type-conference .col-lg-5 .pane-civicon-panel-pane-1 {
width: 100%;
}
}
.node-type-conference.node-type-civicamp .panel-panel.right.col-lg-offset-1,
.page-node-5692 .panel-panel.right.col-lg-offset-1,
.page-node-5693 .panel-panel.right.col-lg-offset-1 {
margin-top: 0px !important;
} /* this node-specific quick hack is because of the structure of the panel - these need removing once the civicon sub-menu appears OR when a better page template has been created/tested */
/* CIVICON INTENRAL PAGES */
......@@ -1971,6 +2071,7 @@ background-color: #82c459;
}
.banner .page-header h1 {
text-align: left;
color: #82c459;
}
div.cms, div.pane-blog-taxonomy {
border: 1px solid #dedede;
......@@ -1988,27 +2089,33 @@ div.cms, div.pane-blog-taxonomy {
text-align: center;
}
.cms h2 {
text-align: center;
text-align: left;
line-height: 30px;
width: 80%;
margin: 20px auto 10px;
margin: 20px 0px 10px 30px;
}
.cms h2 span.small {
line-height: 15px;
}
.pane-partners-and-contributors {
text-align: left;
}
.pane-extensions-directory h2.pane-title {
margin-top: 40px;
}
.pane-extensions-directory .row {
margin: 0px;
}
.pane-extensions-directory .text-center {
text-align: left;
}
.pane-extensions-directory .views-bootstrap-grid-plugin-style .col {
padding: 0px 15px 0px 0px;
height: 280px;
padding: 0px 25px;
height: 270px;
}
.pane-partners-and-contributors h2 {
padding-top: 20px;
}
.view-extension-directory h2 {
margin-bottom: 8px;
line-height: 0.9;
}
@media (max-width: 1200px) {
.pane-extensions-directory .views-bootstrap-grid-plugin-style .col {
......
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