aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/sidebar.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-05-14 03:52:44 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-05-14 03:52:44 +0300
commit13584852e8632e11f0c852bd4a9beae26519acf1 (patch)
tree9afb0865619e50b8cc3a57370c5c8dc418f62065 /_includes/sidebar.html
parentrename CSS classes (diff)
downloadjekyll-theme-13584852e8632e11f0c852bd4a9beae26519acf1.tar.gz
jekyll-theme-13584852e8632e11f0c852bd4a9beae26519acf1.zip
add CSS classes for reasonably wide blocks
Diffstat (limited to '')
-rw-r--r--_includes/sidebar.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/sidebar.html b/_includes/sidebar.html
index 1a1f9a4..e7b024c 100644
--- a/_includes/sidebar.html
+++ b/_includes/sidebar.html
@@ -1,6 +1,6 @@
<h4>About the project</h4>
<p>Thoughts on C++ and life. Feel free to contribute or contact me.</p>
-<div class="list-group" style="max-width: 400px;">
+<div class="list-group reasonable-width">
<a class="list-group-item" href="//github.com/egor-tensin/cpp_tips"><span class="glyphicon glyphicon-home"></span>&nbsp;GitHub repository</a>
<a class="list-group-item" href="mailto:Egor.Tensin@gmail.com"><span class="glyphicon glyphicon-envelope"></span>&nbsp;Egor.Tensin@gmail.com</a>
</div>
@@ -8,7 +8,7 @@
{% if site.posts.size == 0 %}
<p>Sorry, there're no posts yet.</p>
{% else %}
- <div class="list-group">
+ <div class="list-group reasonable-width">
{% for post in site.posts limit: 5 %}
<a class="list-group-item" href="{{ site.baseurl }}{{ post.url }}"><span class="badge"><span class="glyphicon glyphicon-time"></span>&nbsp;{{ post.date | date_to_string }}</span><span class="glyphicon glyphicon-file"></span>&nbsp;{{ post.title }}</a>
{% endfor %}