-
Notifications
You must be signed in to change notification settings - Fork 40
Global header and footnote changes, etc #2277
Changes from 3 commits
75de2ef
32f0974
1e57d4d
eb4d31a
9086d2a
0523ebf
3b29088
d3ce0fe
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,11 +15,11 @@ <h1 id="title">Case studies</h1> | |
</figure> | ||
</div> | ||
<div class="container-right-4 ribbon-card-column ribbon-card state_pages-ribbon-card ribbon-card-no-margin"> | ||
<figure class="ribbon-card-top ribbon-card-case_studies"> | ||
<div class="ribbon-card-top"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cut the misnomers! |
||
<h2 class="ribbon-card-top-text-header">How do extractive industries impact communities like mine?</h2> | ||
<p>This section includes twelve case studies that provide a snapshot of communities that have led the U.S. in producing oil, gas, coal, gold, iron, or copper over the last decade.</p> | ||
<p>These case studies shed light on the economic and fiscal effects of oil, gas, and mineral extraction on local communities.</p> | ||
</figure> | ||
</div> | ||
<figcaption class="ribbon-card-bottom state_pages-select"> | ||
<label for="case_studies-selector">Browse this section:</label> | ||
{% include case-studies/_selector.html %} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,15 @@ | |
|
||
p { | ||
@include heading('para-xl'); | ||
margin-top: 2.25rem; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could this be something in variables? |
||
} | ||
} | ||
|
||
h3 { | ||
font-size: 1rem; | ||
margin-bottom: 0; | ||
} | ||
|
||
p + h2 { | ||
margin-top: $base-padding-large - 0.75em; | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,19 +31,19 @@ body { | |
ol { | ||
@include heading('para-sm'); | ||
|
||
font-weight: 200; | ||
font-weight: 400; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be |
||
list-style-type: decimal; | ||
padding-bottom: $base-padding; | ||
padding-left: $base-padding; | ||
padding-top: $base-padding-lite; | ||
|
||
&:target { | ||
background-color: $mid-blue; | ||
} | ||
} | ||
|
||
p { | ||
padding-bottom: $base-padding-lite; | ||
@include heading('para-med'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is |
||
line-height: 1.375; | ||
margin-bottom: $base-padding-lite; | ||
} | ||
|
||
li { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
// <p class="ribbon-hero-description">Interacting with the data helps shed light on where natural resources in the U.S. are extracted, how they contribute to national revenues, and how they affect state and local economies.</p> | ||
// <p class="ribbon-hero-description">We have information from government sources on <a href="#revenue">revenue</a>, <a href="#production">production</a>, and <a href="#economic-impact">economic impact</a>. Several datasets are new in 2015, including <a href="{{ site.baseurl }}/explore/federal-production/">federal production</a> and <a href="{{ site.baseurl }}/explore/federal-revenue-by-company/">federal revenue by company</a> information.</p> | ||
// </div> | ||
// <div class="container-right-4 ribbon-card-column ribbon-card-has-image ribbon-card"> | ||
// <div class="container-right-4 ribbon-card-column ribbon-card"> | ||
// <figure class="ribbon-card-top"> | ||
// <a href="{{site.baseurl}}/explore/#revenue/"> | ||
// <img class="ribbon-card-image" src="{{ site.baseurl }}/img/explore-landing-intro.png" alt="Map of the US with the Gulf of Mexico highlighted. Total U.S. revenue: 12,261,828,343. Gulf of Mexico revenue: 7,572,080,117. Calendar year 2013."> | ||
|
@@ -40,32 +40,6 @@ | |
border-bottom: 4px solid $white; | ||
} | ||
} | ||
|
||
&.ribbon-card-has-image { | ||
|
||
@include respond-to(tiny-down) { | ||
padding-top: $base-padding-large; | ||
} | ||
|
||
.ribbon-card-top { | ||
margin: 0; | ||
padding-top: 0; | ||
|
||
.ribbon-card-image { | ||
background-color: $gray-pale; | ||
border: 0; | ||
padding-left: 20%; | ||
padding-right: 20%; | ||
width: 100%; | ||
} | ||
} | ||
} | ||
|
||
&.ribbon-card-no-margin { | ||
.ribbon-card-top { | ||
margin: 0; | ||
} | ||
} | ||
} | ||
|
||
.ribbon-card, | ||
|
@@ -80,7 +54,7 @@ | |
padding-left: $base-padding; | ||
padding-right: $base-padding; | ||
padding-top: 0; | ||
text-align: center; | ||
text-align: left; | ||
|
||
&.ribbon-card-top-text { | ||
display: flex; | ||
|
@@ -113,38 +87,30 @@ | |
} | ||
|
||
h2 { | ||
align-self: center; | ||
align-self: flex-start; | ||
text-align: left; | ||
} | ||
} | ||
} | ||
|
||
.ribbon-card-top-text-header { | ||
@include heading(para-md); | ||
@include heading(para-lg); | ||
font-weight: $weight-bold; | ||
line-height: 1.3; | ||
margin-bottom: 0; | ||
padding-bottom: $base-padding-lite; | ||
text-align: left; | ||
} | ||
|
||
.ribbon-card-top-text-header-padded { | ||
margin-bottom: $base-padding; | ||
} | ||
|
||
.ribbon-card-top-text-header-sub { | ||
@include heading(para-md); | ||
@include heading('para-lg'); | ||
} | ||
|
||
.ribbon-card-top-list { | ||
@include heading(para-md); | ||
@include heading('para-md'); | ||
margin-bottom: 1.25rem; | ||
padding-bottom: $base-padding-lite; | ||
text-align: left; | ||
|
||
li { | ||
line-height: 1.2; | ||
padding-bottom: $base-padding-lite; | ||
} | ||
} | ||
|
||
.ribbon-card-bottom { | ||
|
@@ -208,11 +174,10 @@ | |
padding-bottom: $base-padding-large; | ||
padding-left: $base-padding; | ||
padding-right: $base-padding; | ||
padding-top: $base-padding-large; | ||
padding-top: $base-padding-extra; | ||
|
||
&.ribbon-hero-home { | ||
padding-bottom: $base-padding-jumbo; | ||
padding-top: $base-padding-extra; | ||
} | ||
|
||
&.ribbon-hero-column { | ||
|
@@ -300,15 +265,6 @@ svg { | |
padding-top: $base-padding-large; | ||
} | ||
} | ||
|
||
&.ribbon-card-has-image { | ||
.ribbon-card-top { | ||
.ribbon-card-image { | ||
padding-left: 30%; | ||
padding-right: 30%; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
|
@@ -417,7 +373,8 @@ svg { | |
} | ||
|
||
.ribbon .ribbon-card { | ||
padding-top: $base-padding-large; | ||
padding-top: $base-padding-extra; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Properties should be ordered margin-top, padding-top |
||
margin-top: $standard-padding-lite; | ||
} | ||
|
||
.ribbon-card { | ||
|
@@ -433,14 +390,6 @@ svg { | |
} | ||
} | ||
|
||
&.ribbon-card-has-image { | ||
.ribbon-card-top { | ||
.ribbon-card-image { | ||
padding-left: 5%; | ||
padding-right: 5%; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
|
@@ -450,11 +399,3 @@ svg { | |
margin-right: auto; | ||
} | ||
} | ||
|
||
.ribbon-card-case_studies { | ||
text-align: left; | ||
|
||
p { | ||
@include heading('para-md'); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,39 +11,45 @@ | |
font-size: $base-font-size; | ||
|
||
@if $level == h1 { | ||
// bold 30/40 | ||
font-size: 1.875rem; // 30px | ||
// bold 38/48 | ||
color: $black; | ||
font-size: 2rem; // 38px | ||
font-weight: $weight-bold; | ||
line-height: 2.5rem; // 40px | ||
line-height: 2.5rem; // 48px | ||
} | ||
|
||
@if $level == h2 { | ||
// light 32/40 | ||
font-size: 2rem; // 32px | ||
font-weight: $weight-light; | ||
line-height: 2.5rem; // 40px | ||
// light 30/38.4 | ||
color: $gray-darkest; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We're changing the color for h2s globally? Does that work on all of the other pages? |
||
font-size: 1.625rem; // 30px | ||
font-weight: $weight-bold; | ||
line-height: 2rem; // 38.4px | ||
margin-top: 1.5rem; | ||
} | ||
|
||
@if $level == h3 { | ||
// bold 22/32 | ||
font-size: 1.375rem; // 22px | ||
// bold 21/29 | ||
color: $black; | ||
font-size: 1.3125rem; // 21px | ||
font-weight: $weight-bold; | ||
line-height: 2rem; // 32px | ||
line-height: 1.8125rem; // 29px | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
@if $level == h4 { | ||
// light 22/32 | ||
color: $black; | ||
font-size: 1.375rem; // 22px | ||
font-weight: $weight-light; | ||
line-height: 2rem; // 32px | ||
} | ||
|
||
@if $level == h5 { | ||
// bold 18/27 | ||
color: $gray-darkest; | ||
font-size: 1.125rem; // 18px | ||
font-weight: $weight-bold; | ||
line-height: 1.6875rem; // 27px | ||
line-height: 1.625rem; // 27px | ||
} | ||
|
||
@if $level == 'para-xl' { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wooot woot!