Skip to content

Commit 5543af3

Browse files
jamiemccuechasenlehara
authored andcommitted
Updated type size, color and margin (#565)
Closes #552
1 parent 9eefe6a commit 5543af3

File tree

3 files changed

+30
-29
lines changed

3 files changed

+30
-29
lines changed

static/article-title.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ ul.title-links {
5959
.on-this-page-table {
6060
display: inline-block;
6161
margin-left: @gutter*2;
62-
margin-bottom: @gutter*2;
6362
border: none;
6463

6564
.on-this-page-title {

static/content.less

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,6 @@ blockquote{
156156
.body{
157157
margin: @gutter*2;
158158
}
159+
.cp_embed_wrapper {
160+
margin-bottom: @gutter;
161+
}

static/type.less

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,44 @@
1-
h1,h2,h3,h4,h5,h6 {
2-
margin-top: 1em;
3-
margin-bottom: @gutter;
4-
font-weight: bold;
5-
line-height: 1.4;
6-
.border-bottom;
1+
h1,
2+
h2,
3+
h3,
4+
h4,
5+
h5,
6+
h6 {
7+
color: lighten(@gray, 15%);
8+
margin-top: 1em;
9+
margin-bottom: @gutter;
10+
font-weight: @font-weight-heading;
11+
line-height: 1.4;
12+
.border-bottom;
713
}
8-
h1{
14+
h1 {
915
font-size: 45px;
10-
color: lighten(@gray, 15%);
1116
border: none;
12-
margin-top:0px;
17+
margin-top: 0px;
1318
margin-bottom: 0px;
14-
font-weight: @font-weight-heading;
1519
word-wrap: break-word;
16-
line-height: 1.0em;
17-
margin-right: @gutter/2;
20+
line-height: 1em;
21+
margin-right: @gutter / 2;
1822
}
19-
h2{
23+
h2 {
2024
font-size: 30px;
21-
color: lighten(@gray, 15%);
2225
margin-top: @gutter*4;
23-
font-weight: @font-weight-heading;
24-
code{
26+
code {
2527
color: lighten(@link-color, 5%) !important;
2628
}
2729
}
28-
h3{
29-
color: lighten(@gray, 15%);
30+
h3 {
31+
font-size: 24px;
3032
margin-top: @gutter*4;
31-
font-weight: @font-weight-heading;
3233
}
33-
p{
34+
p {
3435
color: darken(@gray, 25%);
3536
}
3637
a {
37-
color: @link-color;
38-
text-decoration: none;
39-
&:hover, &:active {
40-
text-decoration: underline;
41-
}
38+
color: @link-color;
39+
text-decoration: none;
40+
&:hover,
41+
&:active {
42+
text-decoration: underline;
43+
}
4244
}
43-
44-
45-

0 commit comments

Comments
 (0)