Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

Commit

Permalink
Adjust styles to defaults. Remove some user-specific content
Browse files Browse the repository at this point in the history
  • Loading branch information
dhcole committed Sep 24, 2015
1 parent 7526b96 commit 7351ab7
Show file tree
Hide file tree
Showing 60 changed files with 5,046 additions and 149 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Original file line Diff line number Diff line change
@@ -1,2 +1,3 @@
_site _site
.sass-cache .sass-cache
.DS_Store
50 changes: 24 additions & 26 deletions _config.yml
Original file line number Original file line Diff line number Diff line change
@@ -1,45 +1,44 @@
# Site settings # Site settings
title: Social and Behavioral Sciences Team title: Your Site Name
description: We are a cross-agency team with backgrounds in a diversity of fields, including economics, policy, psychology, law, medicine, statistics and political science. What unifies us is our commitment to using what research tells us about how people make decisions to better serve Americans and improve government efficiency. description: A description of your website that will show up in search indexes and social media shares.
baseurl: "" # the subpath of your site, e.g. /blog/ baseurl: "" # the subpath of your site, e.g. /blog/
url: "https://sbst.gov" # the base hostname & protocol for your site url: "https://example.gov" # the base hostname & protocol for your site
logo: /assets/img/logos/logo-name.png logo: /assets/img/logo-main.gif
feature_image: /assets/img/potus.jpg feature_image: /assets/img/feature-background.jpg


colors: colors:
background: '#fdfdfd' background: '#ffffff'
button: button:
background: '#126ca7' background: '#0071bc'
hover: '#134050' hover: '#3e94cf'
text: '#fff' text: '#fff'
headers: '#126ca7' headers: '#205493'
text: '#000000' text: '#212121'
projects: projects:
accent: 'rgb(249, 131, 74)' accent: '#02bfe7'
contact: banner:
background: '#126ca7' background: '#112e51'
text: '#fff' text: '#fff'
button: button:
background: '#f2c446' background: '#dce4ef'
text: '#134050' text: '#112e51'
footer: footer:
background: '#4c4c4c' background: '#323a45'
text: '#fff' text: '#fff'


analytics: analytics:
google: google:
code: 'UA-67580537-1' code: 'UA-48605964-32' # Change this to your GSA analytics code
dap: dap:
agency: GSA agency: GSA # Change this to your agency
subagency: SBST subagency: 18F # Change this to your agency


forms: forms:
- type: newsletter - type: newsletter
heading: Sign up to receive updates from our team
url: https://docs.google.com/forms/d/1Tsdm_2spbxWnmTFMrH5eHxpOAN9W4LB3eaMMXJ1N0rU/formResponse url: https://docs.google.com/forms/d/1Tsdm_2spbxWnmTFMrH5eHxpOAN9W4LB3eaMMXJ1N0rU/formResponse
button: Subscribe button: Subscribe
privacypolicy: privacypolicy: Your privacy and security are important to us, we'll only share your information as described in the <a href="http://www.gsa.gov/portal/content/116609">GSA Privacy and Security Notice</a>
name: GSA Privacy and Security Notice
url: https://gsa.gov
fields: fields:
- type: email - type: email
name: entry.1440502332 name: entry.1440502332
Expand All @@ -50,11 +49,10 @@ forms:


footer: footer:
image: /assets/img/gsa-logo-dark.jpg image: /assets/img/gsa-logo-dark.jpg
email: sbst@gsa.gov email:
twitter: twitter:
- usgsa - 18f
- whitehouseostp text: This site was built using <a href="https://federalist.18f.gov/" target="_blank">Federalist, from 18F</a>. # Change to a tag line for your agency
text: This site is run by the General Services Administration for the National Science and Technology Council's Subcommittee on the Social and Behavioral Sciences Team.


# Build settings # Build settings
markdown: kramdown markdown: kramdown
Expand Down
8 changes: 2 additions & 6 deletions _data/navbar.yml
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,4 @@
- name: About - name: About
permalink: '/about/' permalink: '/about/'
- name: Approach - name: Projects
permalink: '/approach/' permalink: '/projects/'
- name: Work
permalink: '/work/'
- name: Connect
permalink: '/connect/'
4 changes: 2 additions & 2 deletions _includes/contact.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


<form id="contact" action="{{ f.url }}" method="POST"> <form id="contact" action="{{ f.url }}" method="POST">
<fieldset> <fieldset>
<legend>Sign up to receive updates from SBST</legend> <legend>{{ f.heading }}</legend>
<div class="usa-width-one-half"> <div class="usa-width-one-half">
{% for field in f.fields %} {% for field in f.fields %}
{% unless field.type == 'hidden' %}<label for="contact-{{ field.name }}">{{ field.label }}</label>{% endunless %} {% unless field.type == 'hidden' %}<label for="contact-{{ field.name }}">{{ field.label }}</label>{% endunless %}
Expand All @@ -22,7 +22,7 @@
</div> </div>
<div class="usa-width-one-half" style="margin-top: 3rem;"> <div class="usa-width-one-half" style="margin-top: 3rem;">
{% if f.privacypolicy %} {% if f.privacypolicy %}
<p>Your privacy and security are important to us, we'll only share your information as described in the <a href="http://www.gsa.gov/portal/content/116609">{{ f.privacypolicy.name }}</a></p> <p>{{ f.privacypolicy }}</p>
{% else %} {% else %}
<p></p> <p></p>
{% endif %} {% endif %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<meta property="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> <meta property="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
<meta name="twitter:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> <meta name="twitter:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">


<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300"> <link rel="stylesheet" href="{{ '/assets/css/google-fonts.css' | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ '/assets/css/usfwds.css' | prepend: site.baseurl }}"> <link rel="stylesheet" href="{{ '/assets/css/usfwds.css' | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ '/assets/css/main.css' | prepend: site.baseurl }}"> <link rel="stylesheet" href="{{ '/assets/css/main.css' | prepend: site.baseurl }}">


Expand Down
14 changes: 7 additions & 7 deletions _sass/_banners.scss
Original file line number Original file line Diff line number Diff line change
@@ -1,20 +1,20 @@
.banner.tagline { .banner.tagline {
background-color: $contact-background-color; background-color: $banner-background-color;
} }
.banner.tagline .usa-grid { .banner.tagline .usa-grid {
padding: 3rem; padding: 3rem;
} }
.banner.tagline p { .banner.tagline p {
color: $contact-text-color; color: $banner-text-color;
margin-bottom: 75px; margin-bottom: 75px;
} }
.banner.tagline h2 { .banner.tagline h2 {
color: $contact-text-color; color: $banner-text-color;
margin-top: 75px; margin-top: 75px;
} }


.banner.contact { .banner.contact {
background-color: $contact-background-color; background-color: $banner-background-color;
} }
.banner.contact form { .banner.contact form {
padding-top: 2em; padding-top: 2em;
Expand All @@ -26,7 +26,7 @@
.banner.contact a, .banner.contact a,
.banner.contact a:hover, .banner.contact a:hover,
.banner.contact a:visited { .banner.contact a:visited {
color: $contact-text-color; color: $banner-text-color;
} }


.banner .usa-button, .banner .usa-button,
Expand All @@ -37,6 +37,6 @@
.banner [type="button"], .banner [type="button"],
.banner [type="submit"], .banner [type="submit"],
.banner [type="reset"] { .banner [type="reset"] {
background-color: $contact-button-color; background-color: $banner-button-color;
color: $contact-button-text-color; color: $banner-button-text-color;
} }
3 changes: 0 additions & 3 deletions _sass/_base.scss
Original file line number Original file line Diff line number Diff line change
@@ -1,13 +1,10 @@
body, body,
p, ul, ol, li, a { p, ul, ol, li, a {
color: $text-color; color: $text-color;
font-family: 'Lato', sans-serif;
font-weight: 300;
} }
legend, label, legend, label,
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
color: $headers-color; color: $headers-color;
font-family: 'Lato', sans-serif;
} }


legend, legend,
Expand Down
2 changes: 1 addition & 1 deletion _sass/_hero.scss
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
.hero-unit { .hero-unit {
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 50% 20%; background-position: 50% 50%;
min-height: 32em; min-height: 32em;
position: relative; position: relative;
} }
Expand Down
2 changes: 1 addition & 1 deletion _sass/_navbar.scss
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
height: 80px; height: 80px;
} }
#logo img { #logo img {
width: 60%; margin-top: 0.75rem;
} }
#logo a { #logo a {
border: none; border: none;
Expand Down
6 changes: 6 additions & 0 deletions _sass/_projects.scss
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -32,3 +32,9 @@ a .project--description span {
a:hover .project--description span { a:hover .project--description span {
border-bottom: 1px dotted; border-bottom: 1px dotted;
} }

@media screen and (min-width: 600px) {
.usa-grid .usa-width-one-third:last-child {
margin-right: 1px;
}
}
102 changes: 102 additions & 0 deletions assets/css/google-fonts.css
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,102 @@
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 300;
src: url('../fonts/sourcesanspro-light-webfont.eot');
src: url('../fonts/sourcesanspro-light-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/sourcesanspro-light-webfont.woff2') format('woff2'),
url('../fonts/sourcesanspro-light-webfont.woff') format('woff'),
url('../fonts/sourcesanspro-light-webfont.ttf') format('truetype'),
url('../fonts/sourcesanspro-light-webfont.svg#source_sans_prolight') format('svg');
}

@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 400;
src: url('../fonts/sourcesanspro-regular-webfont.eot');
src: url('../fonts/sourcesanspro-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/sourcesanspro-regular-webfont.woff2') format('woff2'),
url('../fonts/sourcesanspro-regular-webfont.woff') format('woff'),
url('../fonts/sourcesanspro-regular-webfont.ttf') format('truetype'),
url('../fonts/sourcesanspro-regular-webfont.svg#source_sans_proregular') format('svg');

}

@font-face {
font-family: 'Source Sans Pro';
font-style: italic;
font-weight: 400;
src: url('../fonts/sourcesanspro-italic-webfont.eot');
src: url('../fonts/sourcesanspro-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/sourcesanspro-italic-webfont.woff2') format('woff2'),
url('../fonts/sourcesanspro-italic-webfont.woff') format('woff'),
url('../fonts/sourcesanspro-italic-webfont.ttf') format('truetype'),
url('../fonts/sourcesanspro-italic-webfont.svg#source_sans_proitalic') format('svg');

}

@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 700;
src: url('../fonts/sourcesanspro-bold-webfont.eot');
src: url('../fonts/sourcesanspro-bold-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/sourcesanspro-bold-webfont.woff2') format('woff2'),
url('../fonts/sourcesanspro-bold-webfont.woff') format('woff'),
url('../fonts/sourcesanspro-bold-webfont.ttf') format('truetype'),
url('../fonts/sourcesanspro-bold-webfont.svg#source_sans_probold') format('svg');

}

@font-face {
font-family: 'Merriweather';
font-style: normal;
font-weight: 300;
src: url('../fonts/merriweather-light-webfont.eot');
src: url('../fonts/merriweather-light-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/merriweather-light-webfont.woff2') format('woff2'),
url('../fonts/merriweather-light-webfont.woff') format('woff'),
url('../fonts/merriweather-light-webfont.ttf') format('truetype'),
url('../fonts/merriweather-light-webfont.svg#source_sans_proregular') format('svg');

}

@font-face {
font-family: 'Merriweather';
font-style: normal;
font-weight: 400;
src: url('../fonts/merriweather-regular-webfont.eot');
src: url('../fonts/merriweather-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/merriweather-regular-webfont.woff2') format('woff2'),
url('../fonts/merriweather-regular-webfont.woff') format('woff'),
url('../fonts/merriweather-regular-webfont.ttf') format('truetype'),
url('../fonts/merriweather-regular-webfont.svg#source_sans_proitalic') format('svg');

}

@font-face {
font-family: 'Merriweather';
font-style: italic;
font-weight: 400;
src: url('../fonts/merriweather-italic-webfont.eot');
src: url('../fonts/merriweather-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/merriweather-italic-webfont.woff2') format('woff2'),
url('../fonts/merriweather-italic-webfont.woff') format('woff'),
url('../fonts/merriweather-italic-webfont.ttf') format('truetype'),
url('../fonts/merriweather-italic-webfont.svg#source_sans_proitalic') format('svg');

}

@font-face {
font-family: 'Merriweather';
font-style: normal;
font-weight: 700;
src: url('../fonts/merriweather-bold-webfont.eot');
src: url('../fonts/merriweather-bold-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/merriweather-bold-webfont.woff2') format('woff2'),
url('../fonts/merriweather-bold-webfont.woff') format('woff'),
url('../fonts/merriweather-bold-webfont.ttf') format('truetype'),
url('../fonts/merriweather-bold-webfont.svg#source_sans_probold') format('svg');

}
8 changes: 4 additions & 4 deletions assets/css/main.scss
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ $button-text-color: {{ site.colors.button.text }};


$project-accent-color: {{ site.colors.projects.accent }}; $project-accent-color: {{ site.colors.projects.accent }};


$contact-background-color: {{ site.colors.contact.background }}; $banner-background-color: {{ site.colors.banner.background }};
$contact-text-color: {{ site.colors.contact.text }}; $banner-text-color: {{ site.colors.banner.text }};
$contact-button-color: {{ site.colors.contact.button.background }}; $banner-button-color: {{ site.colors.banner.button.background }};
$contact-button-text-color: {{ site.colors.contact.button.text }}; $banner-button-text-color: {{ site.colors.banner.button.text }};


$footer-background-color: {{ site.colors.footer.background }}; $footer-background-color: {{ site.colors.footer.background }};
$footer-text-color: {{ site.colors.footer.text }}; $footer-text-color: {{ site.colors.footer.text }};
Expand Down
Binary file added assets/fonts/merriweather-bold-webfont.eot
Binary file not shown.
Loading

0 comments on commit 7351ab7

Please sign in to comment.