Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
elim322 committed Sep 13, 2018
2 parents 90cd090 + 260397e commit 451e3a8
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 66 deletions.
7 changes: 4 additions & 3 deletions themes/community-land-trust/front-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
foreach ( $timeline_fields as $timeline_field ) : ?>
<div class="timeline-block">

<div class="year">
<p class="year-entry-<?php echo $i; $i++; ?>">
<div class="year year-entry-<?php echo $i; $i++; ?>">
<p>
<?php echo $timeline_field['achievements_year'];?>
</p>
</div>
Expand Down Expand Up @@ -149,4 +149,5 @@

</main> <!-- end of .home-page main -->

<?php get_footer() ?>
<?php get_footer() ?>

99 changes: 36 additions & 63 deletions themes/community-land-trust/src/scss/_front-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
# Front Page
--------------------------------------------------------------*/

.timeline-description {
color:black;
}


// flickity carousel global to all partials
.main-carousel {
padding-top: 30px;
margin-bottom: 30px;
Expand All @@ -15,12 +11,10 @@
width: 70vw;
margin: 0 auto;
margin-bottom: 50px;

}

.carousel-cell {
width: 100%;

width: 100%;
}

.flickity-prev-next-button {
Expand All @@ -39,11 +33,9 @@

.arrow {
fill: $border_color;
height: 500px;

height: 500px;
}
}

}

img {
Expand All @@ -53,29 +45,26 @@

@include desktop-size {
height: auto;

}
}


.flickity-page-dots {

.dot {
background: transparent;
border: 2px solid $border_color;
}

.is-selected {
background: $border_color;

}


}
}


// styles applied only to front-page.php
.home {

//header styles begin
.hero-banner {
position: relative;

Expand All @@ -101,9 +90,7 @@
@include tablet-size {
top: 60%;
left: 25%;

}


@include desktop-size {
height: 131px;
Expand Down Expand Up @@ -163,8 +150,6 @@
}
}



.home-page {
width: 90vw;
margin: 0 auto;
Expand Down Expand Up @@ -192,6 +177,8 @@
font-weight: normal;
}

//timeline section styles

.timeline-section-wrapper {
padding-top: 30px;
width: 100%;
Expand All @@ -218,15 +205,11 @@

@include desktop-size {
width: 20%;


}
}

@include desktop-size {
width: 20%;


}

.year {
Expand All @@ -235,18 +218,38 @@
font-weight: 600;
width: 150px;
height: 50px;
background-color: $timeline_bg;
padding-top: 15px;

@include desktop-size {
width: 250px;
height: 70px;
padding-top: 20px;
font-size: 25px;
}
}
}


.year-entry-1 {
background-color: #dcf2f8;

}

.year-entry-2 {
background-color: #c3ecf8;

}

.year-entry-3 {
background-color: #9ce0f3;

}

.year-entry-4 {
background-color: #74d1eb;

}

.year-entry-5 {
background-color: #56bfdc;

}

.timeline-line{
content: '';
Expand Down Expand Up @@ -284,28 +287,16 @@

}

p {
font-family: $font__main;
line-height: 1.2;
font-size: 14px;
width: 150px;
margin: 5px 0 15px 0;

@include desktop-size {


}

}
}

.timeline-growth-numbers {
position: absolute;
top: 200px;
top: 180px;
color: #ffffff;
font-family: $font__accent;
font-size: 20px;
font-weight: 500;

@include desktop-size {


Expand All @@ -316,29 +307,11 @@

}

.one {
background-color: #dcf2f8;
}

.two {
background-color: #c3ecf8;
}

.three {
background-color: #9ce0f3;
}

.four {
background-color: #74d1eb;
}

.five {
background-color: #56bfdc;
}
}




.partners-logo-wrapper {
padding-top: 30px;
display: flex;
Expand Down

0 comments on commit 451e3a8

Please sign in to comment.