Skip to content

Commit d15a481

Browse files
committed
2.0.1
1 parent 0ec2955 commit d15a481

File tree

14 files changed

+104
-91
lines changed

14 files changed

+104
-91
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# v2.0.1
2+
## 02/18/2016
3+
4+
1. [](#bugfix)
5+
* Fix sidebar
6+
17
# v2.0.0
28
## 02/18/2016
39

blueprints.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Medium
2-
version: 2.0.0
2+
version: 2.0.1
33
description: Medium is a simple and modern blogging theme based on Medium's design language, built for Grav CMS.
44
icon: globe
55
author:

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "grav-theme-medium",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"authors": [
55
"Matthew Blode"
66
],

dist/styles/app.css

Lines changed: 17 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3938,37 +3938,32 @@ blockquote > blockquote > blockquote {
39383938
text-decoration: underline; }
39393939

39403940
.infinite-scroll {
3941-
margin: 0; }
3941+
padding: 0; }
39423942

3943-
@media screen and (min-width: 64em) {
3943+
@media screen and (min-width: 40em) {
39443944
.infinite-scroll {
3945-
margin-right: 350px; } }
3945+
padding-left: 15px;
3946+
padding-right: 15px; } }
39463947

39473948
.post-list {
3948-
margin-top: 10px;
3949-
margin-bottom: 10px;
39503949
background-color: #fff;
39513950
border: 1px solid rgba(0, 0, 0, 0.0392157);
39523951
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.025), 0 1px 4px rgba(0, 0, 0, 0.03);
3953-
border-radius: 3px; }
3952+
border-radius: 3px;
3953+
margin-bottom: 15px;
3954+
margin-top: 5px; }
3955+
.post-list a {
3956+
color: #333;
3957+
display: block; }
3958+
.post-list img {
3959+
display: block;
3960+
margin-bottom: 10px;
3961+
margin-top: 10px;
3962+
max-height: 240px;
3963+
width: auto; }
39543964

39553965
.post-list--data {
3956-
padding: 15px 0; }
3957-
3958-
@media screen and (min-width: 40em) {
3959-
.post-list--data {
3960-
padding: 15px; } }
3961-
3962-
.post-list a {
3963-
color: #333;
3964-
display: block; }
3965-
3966-
.post-list img {
3967-
display: block;
3968-
margin-bottom: 10px;
3969-
margin-top: 10px;
3970-
max-height: 240px;
3971-
width: auto; }
3966+
padding: 15px; }
39723967

39733968
.post {
39743969
margin-top: 20px; }
@@ -4052,15 +4047,6 @@ blockquote > blockquote > blockquote {
40524047
height: 100px;
40534048
width: 100px; }
40544049

4055-
.sidebar {
4056-
width: 350px;
4057-
display: inline-block;
4058-
padding-left: 15px; }
4059-
4060-
.sidebar--inner {
4061-
padding-left: 15px;
4062-
padding-right: 15px; }
4063-
40644050
.sidebar--heading {
40654051
margin-top: 40px;
40664052
font-family: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;

dist/styles/app.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "grav-theme-medium",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Medium is a simple and modern blogging theme based on Medium's design language, built for Grav CMS.",
55
"main": "gulpfile.js",
66
"devDependencies": {},

src/styles/app.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
@import 'base/defaults';
4848
@import 'base/typography';
4949

50-
@import 'templates/post-list';
50+
@import 'templates/blog';
5151
@import 'templates/post';
5252

5353
@import 'partials/navigation';

src/styles/partials/_sidebar.scss

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
.sidebar {
2-
width: 350px;
3-
display: inline-block;
4-
padding-left: 15px;
5-
}
6-
7-
.sidebar--inner {
8-
padding-left: 15px;
9-
padding-right: 15px;
10-
}
11-
121
.sidebar--heading {
132
margin-top: 40px;
143
font-family: $default-font-family;

src/styles/templates/_blog.scss

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
.infinite-scroll {
2+
padding: 0;
3+
}
4+
5+
@include breakpoint(medium) {
6+
.infinite-scroll {
7+
padding-left: 15px;
8+
padding-right: 15px;
9+
}
10+
}
11+
12+
.post-list {
13+
background-color: $white;
14+
border: 1px solid rgba(0, 0, 0, .0392157);
15+
box-shadow: 0 1px 4px rgba(0, 0, 0, .025), 0 1px 4px rgba(0, 0, 0, .03);
16+
border-radius: 3px;
17+
margin-bottom: 15px;
18+
margin-top: 5px;
19+
20+
a {
21+
color: $black;
22+
display: block;
23+
}
24+
25+
img {
26+
display: block;
27+
margin-bottom: 10px;
28+
margin-top: 10px;
29+
max-height: 240px;
30+
width: auto;
31+
}
32+
}
33+
34+
.post-list--data {
35+
padding: 15px;
36+
}

src/styles/templates/_post-list.scss

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)