Skip to content

Commit 86e17a5

Browse files
committed
Remove unused rules from responsive.scss and add comments.
1 parent 6681e9b commit 86e17a5

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

_assets/stylesheets/_responsive.scss

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@
99
@media (max-width: 720px) {
1010

1111
article {
12+
// reduce padding between image and article
1213
padding-top:30px;
1314

15+
// reduce margins so article is wider
1416
.container > header, .container > section, .container > footer {
15-
padding:0;
1617
margin:1.5em 10%;
1718
}
1819

19-
.container > footer {
20-
padding:2em 0;
21-
}
22-
20+
// display code blocks and full-width images inline with text (instead of shifted-left)
2321
.full, pre {
2422
margin:1em 0;
2523
}
2624

25+
// reduce padding of code blocks
2726
pre {
2827
padding:1em;
2928
}
3029

30+
// reduce top/bottom margin of blockquotes and don't extend past right margin
3131
blockquote {
3232
margin:1em 0;
3333

@@ -36,6 +36,7 @@
3636
}
3737
}
3838

39+
// reduce font sizes
3940
h1 {
4041
font-size:1.8em;
4142
}
@@ -50,21 +51,24 @@
5051
}
5152

5253
.blog-cover {
54+
// reduce height of blog cover image
5355
height:200px;
5456

5557
img {
5658
height:200px;
5759
width:auto;
5860
}
5961

62+
// tighten spacing of blog cover text and icons
6063
section {
6164
padding:60px 0 0;
62-
text-align:center;
6365

6466
a {
6567
margin:1.5em .5em 0em 0;
6668
}
6769
}
70+
71+
// reduce size of blog cover text
6872
h1 {
6973
font-size:1.5em;
7074
}
@@ -74,22 +78,21 @@
7478
}
7579
}
7680

77-
.site-nav .tagline span {
78-
display:none;
79-
}
80-
81+
// hide nav (blog, product, about links)
8182
.site-nav {
8283
#navigation {
8384
a {
8485
display:none;
8586
}
8687

88+
// don't hide brand logo
8789
.brand {
8890
display:inline-block;
8991
}
9092
}
9193
}
9294

95+
// reconfigure page footer with nav links centered above social links
9396
.site-footer {
9497
margin-top:0;
9598
padding:2em 10%;
@@ -103,13 +106,10 @@
103106
}
104107

105108
.index {
106-
padding:0;
109+
// reduce margin of post blocks
107110
margin:0 10%;
108111

109-
> div {
110-
margin:0;
111-
}
112-
112+
// hide author image
113113
img {
114114
display:none;
115115
}

0 commit comments

Comments
 (0)