Skip to content

Commit 76ddd95

Browse files
author
jordanmccullough
committed
Clean up and simplify curriculum specialized styles
1 parent 3b3afb2 commit 76ddd95

File tree

2 files changed

+33
-29
lines changed

2 files changed

+33
-29
lines changed

_stylesheets/curriculum-beta.css

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,6 @@ body {
6464
.curriculum h1, .curriculum h2, .curriculum h3, .curriculum h4, .curriculum h5, .curriculum h6, .curriculum p, .curriculum ul, .curriculum svg {
6565
font-weight: normal;
6666
margin: 0 15%; }
67-
.curriculum pre {
68-
margin: 0 15%;
69-
background: white; }
70-
.curriculum pre:before {
71-
content: "\f0c8";
72-
font: normal normal 22px octicons;
73-
float: right;
74-
opacity: .4; }
7567
.curriculum h3 {
7668
font-size: 400%;
7769
line-height: 1.25em;
@@ -84,6 +76,14 @@ body {
8476
text-shadow: 0 1px rgba(0, 0, 0, 0.1);
8577
color: #454545;
8678
border-bottom: solid 1px #e8e8ea; }
79+
.curriculum pre {
80+
margin: 0 15%;
81+
background: white; }
82+
.curriculum pre:before {
83+
content: "\f0c8";
84+
font: normal normal 22px octicons;
85+
float: right;
86+
opacity: .4; }
8787
.curriculum p {
8888
line-height: 1.75em;
8989
margin-bottom: 2em; }
@@ -96,11 +96,12 @@ body {
9696
.curriculum .slide {
9797
width: 100%;
9898
background: #ffffff;
99-
display: table;
100-
text-align: center; }
99+
display: table; }
100+
.curriculum .slide h3, .curriculum .slide h4, .curriculum .slide h5 {
101+
text-align: center; }
101102
.curriculum .slide h1, .curriculum .slide h2, .curriculum .slide h3, .curriculum .slide h4, .curriculum .slide h5, .curriculum .slide h6, .curriculum .slide p, .curriculum .slide ul, .curriculum .slide pre, .curriculum .slide svg {
102-
font-weight: normal;
103-
padding: 0 0; }
103+
margin-left: 0;
104+
margin-right: 0; }
104105
.curriculum .slide .alignment {
105106
padding: 0 20%;
106107
display: table-cell;

_stylesheets/curriculum-beta.scss

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,6 @@ body{
3333
margin: 0 15%;
3434
}
3535

36-
pre{
37-
margin: 0 15%;
38-
background: $mono-bright;
39-
40-
&:before {
41-
content: "\f0c8";
42-
font: normal normal 22px octicons;
43-
float: right;
44-
opacity: .4;
45-
}
46-
}
47-
4836
h3{
4937
font-size: 400%;
5038
line-height: 1.25em;
@@ -61,6 +49,18 @@ body{
6149
border-bottom: solid 1px $mono-light;
6250
}
6351

52+
pre{
53+
margin: 0 15%;
54+
background: $mono-bright;
55+
56+
&:before {
57+
content: "\f0c8";
58+
font: normal normal 22px octicons;
59+
float: right;
60+
opacity: .4;
61+
}
62+
}
63+
6464
p{
6565
line-height: 1.75em;
6666
margin-bottom: 2em;
@@ -75,24 +75,27 @@ body{
7575
margin: 0 auto;
7676
}
7777

78-
7978
.slide{
8079
width: 100%;
8180
background: #ffffff;
8281
display: table;
83-
text-align: center;
82+
83+
h3,h4,h5{
84+
text-align: center;
85+
}
8486

8587
h1,h2,h3,h4,h5,h6,p,ul,pre,svg{
86-
font-weight: normal;
87-
padding: 0 0;
88+
margin-left: 0;
89+
margin-right: 0;
8890
}
8991

9092
.alignment{
91-
// margin: 0 20%;
9293
padding: 0 20%;
9394
display: table-cell;
9495
vertical-align: middle;
9596
}
97+
98+
9699
}
97100

98101
/* General external link */

0 commit comments

Comments
 (0)