Skip to content

Commit 7de0059

Browse files
author
jordanmccullough
committed
Fix h2 styling applied to all when it should only show on Outlines/Cheatsheets
1 parent 31bbacb commit 7de0059

File tree

6 files changed

+29
-15
lines changed

6 files changed

+29
-15
lines changed

_stylesheets/core.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ h1 {
66
h2 {
77
font-size: 200%;
88
line-height: 150%;
9-
border-top: solid 1px #e5e5e5;
10-
padding: 10px 0;
11-
margin: 20px 0 0 0;
129
color: #222; }
1310

1411
h2 + p {

_stylesheets/core.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ h1{
66
h2{
77
font-size: 200%;
88
line-height: 150%;
9-
border-top: solid 1px #e5e5e5;
10-
padding: 10px 0;
11-
margin: 20px 0 0 0;
129
color: #222;
1310
}
1411
h2+p{

_stylesheets/default.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ h1 {
5858
h2 {
5959
font-size: 200%;
6060
line-height: 150%;
61-
border-top: solid 1px #e5e5e5;
62-
padding: 10px 0;
63-
margin: 20px 0 0 0;
6461
color: #222; }
6562

6663
h2 + p {

_stylesheets/home.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ h1 {
5858
h2 {
5959
font-size: 200%;
6060
line-height: 150%;
61-
border-top: solid 1px #e5e5e5;
62-
padding: 10px 0;
63-
margin: 20px 0 0 0;
6461
color: #222; }
6562

6663
h2 + p {

_stylesheets/outline.css

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ h1 {
5858
h2 {
5959
font-size: 200%;
6060
line-height: 150%;
61-
border-top: solid 1px #e5e5e5;
62-
padding: 10px 0;
63-
margin: 20px 0 0 0;
6461
color: #222; }
6562

6663
h2 + p {
@@ -205,6 +202,19 @@ footer {
205202
.site-footer-links li:first-child {
206203
margin-left: 0; }
207204

205+
h2 {
206+
border-top: solid 1px #e5e5e5;
207+
padding: 10px 0;
208+
margin: 20px 0 0 0; }
209+
210+
p:first-child {
211+
font-size: 125%;
212+
font-weight: 200;
213+
text-rendering: optimizeLegibility;
214+
line-height: 150%;
215+
opacity: .65;
216+
margin: auto auto 20px auto; }
217+
208218
.hero {
209219
background: #1875c6;
210220
color: #fff; }

_stylesheets/outline.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@
66
@import "footer.scss";
77
@import "octicons.css";
88

9+
h2{
10+
border-top: solid 1px #e5e5e5;
11+
padding: 10px 0;
12+
margin: 20px 0 0 0;
13+
}
14+
15+
p:first-child{
16+
font-size: 125%;
17+
font-weight: 200;
18+
text-rendering: optimizeLegibility;
19+
line-height: 150%;
20+
opacity: .65;
21+
margin: auto auto 20px auto;
22+
23+
}
24+
925
.hero{
1026
background: $color-dark;
1127
color: #fff;

0 commit comments

Comments
 (0)