Update homepage story
Tom Rutgers
committed Aug 18, 2018
commit 1980551ae9fc02c78d6c0b9121798c177d1a2940
Showing 3
changed files with
13 additions
and 6 deletions
data/pages/home.yml
+2
-1
| @@ | @@ -2,4 +2,5 @@ hero: |
| title: Great coffee with a conscience | |
| image: /images/uploads/homepage-hero.jpg | |
| - | story: "Kaldi is the coffee store for everyone who believes that great coffee shouldn't just taste good, it should do good too. We source all of our beans directly from small scale sustainable farmers and make sure part of the profits are reinvested in their communities." |
| \ No newline at end of file | |
| + | story: >- |
| + | Kaldi is the coffee store for everyone who believes that great coffee shouldn't just taste good, it should do good too. We source all of our beans directly from small scale sustainable farmers and make sure part of the profits are reinvested in their communities. |
| \ No newline at end of file | |
source/partials/homepage/_story.slim
+2
-3
| @@ | @@ -2,6 +2,5 @@ section.homepage-story |
| .container | |
| .row | |
| .story-content | |
| - | p |
| - | markdown: |
| - | #{data.pages.home.story} |
| \ No newline at end of file | |
| + | markdown: |
| + | #{data.pages.home.story} |
| \ No newline at end of file | |
source/stylesheets/demo/homepage/_story.scss
+9
-2
| @@ | @@ -6,12 +6,19 @@ |
| @extend %col-sm-8; | |
| padding-top: 60px; | |
| padding-bottom: 60px; | |
| - | |
| + | color: rgba(255, 255, 255, 1); |
| + | |
| + | h2 { |
| + | margin: 0 0 15px; |
| + | font-size: 32px; |
| + | font-weight: 700; |
| + | } |
| + | |
| p { | |
| margin: 0; | |
| font-size: 24px; | |
| line-height: 36px; | |
| - | color: rgba(255, 255, 255, 1); |
| + | |
| } | |
| @media screen and(max-width: $screen-xs-max){ | |