Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
_site/
.sass-cache
.c9
.bundle
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ description: A Code for America Brigade in San Mateo County
owner:
twitter: opensmc

sass:
sass_dir: _sass
style: :compressed

prose:
media: 'images/uploads'
rooturl: '_posts'
Expand Down
1 change: 0 additions & 1 deletion _layouts/style.css

This file was deleted.

20 changes: 20 additions & 0 deletions _sass/_0variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

/* COLORS */

// Colors based on San Mateo County style guide:
// https://opensanmateodocumentation.files.wordpress.com/2014/12/smc_style-guide-graphics-and-identity.pdf

// Primary Colors
$bay-blue: #056cb6;
$ocean-turquoise: #39839b;
$urban-gray: #7e8083;

// Secondary Colors
$dark-blue: #0076c0; //PMS 2935
$purple: #7e83bf; //PMS 272
$green: #8cd63f; //PMS 376
$warm-gray: #bbb0a6; //PMS Warm Gray 6
$orange: #faa634; //PMS 1375
$red: #b5121b; //PMS 1807
$dark-gray: #455560; //PMS 142
$white: #fff;
10 changes: 5 additions & 5 deletions _includes/css/opensmc.css → _sass/_1styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ table h3 {
}

.featured-nav-link {
background: #00887a;
background: $ocean-turquoise;
}

.navbar-default .navbar-nav>li.featured-nav-link>a {
Expand Down Expand Up @@ -90,7 +90,7 @@ table h3 {
/* Carousel base class */
.carousel {
height: 425px;
background-image: url({{site.baseurl}}/images/bay-discovery-site-1280.jpg);
background-image: url('/images/bay-discovery-site-1280.jpg');
background-size: cover;
background-position: center bottom;
margin-bottom: 60px;
Expand Down Expand Up @@ -307,7 +307,7 @@ table h3 {
@media screen and (min-width: 768px) {
/* Remove the padding we set earlier */
.header,
.marketing,
.marketing {
padding-left: 0;
padding-right: 0;
}
Expand Down Expand Up @@ -472,7 +472,7 @@ transition: background 0.2s,border 0.2s;
}

.btn-hack {
background-color: #00887a;
background-color: $ocean-turquoise;
color: #fff;
}

Expand Down Expand Up @@ -792,7 +792,7 @@ left: -999em;

.banner_ndoch {
height: 400px;
background-image: url({{site.baseurl}}/images/bay-discovery-site-1280.jpg);
background-image: url('/images/bay-discovery-site-1280.jpg');
background-size: cover;
background-position: center bottom;
margin-bottom: 20px;
Expand Down
4 changes: 0 additions & 4 deletions style.css

This file was deleted.

8 changes: 8 additions & 0 deletions style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# Jekyll uses this file to generate style.css
# To change styles, edit the scss files in _sass, not in this file
# More info here: https://jekyllrb.com/docs/assets/
---

@import "0variables";
@import "1styles";