Skip to content

Commit 5dfc5ee

Browse files
author
Daniel Kopecek
committed
Try to make the sidebar less ugly
1 parent 90b52bb commit 5dfc5ee

File tree

6 files changed

+11
-3
lines changed

6 files changed

+11
-3
lines changed

_includes/asides/latest_release.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<aside class="small-12 large-4 columns page-content recent-posts">
1+
<aside class="small-12 large-4 columns recent-posts">
22
<h2>Latest Release</h2>
33
<ul>
44
<li>

_includes/asides/links.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<aside class="small-12 large-4 columns page-content recent-posts">
1+
<aside class="small-12 large-4 columns recent-posts">
22
<h2>Quick Links</h2>
33
<ul>
44
<li>

_includes/asides/padding_top.html

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<aside class="small-12 large-4 columns padding-top-spunit recent-posts">
2+
</aside>

_includes/asides/recent_posts.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<aside class="small-12 large-4 columns page-content recent-posts">
1+
<aside class="small-12 large-4 columns recent-posts">
22
<h2>Recent Posts</h2>
33
<ul>
44
{% for post in site.posts limit:5 site.recent_posts %}

_layouts/home.html

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<section class="small-12 large-8 columns page-content">
1010
{{ content }}
1111
</section>
12+
{% include asides/padding_top.html %}
1213
{% include asides/latest_release.html %}
1314
{% include asides/links.html %}
1415
{% include asides/recent_posts.html %}

_sass/_layout.scss

+5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
text-justify: inter-word;
5656
}
5757

58+
.padding-top-spunit {
59+
padding: 0;
60+
padding-top: $spacing-unit;
61+
}
62+
5863
.releases-content {
5964
margin-bottom: $spacing-unit;
6065
padding: $spacing-unit;

0 commit comments

Comments
 (0)