Merge pull request #68 from joariasl/master

Fixed minimal problems and responsive content in posts list
This commit is contained in:
Panos Sakkos 2015-11-15 19:16:03 +01:00
commit e43245e79c
5 changed files with 10 additions and 10 deletions

View file

@ -130,7 +130,7 @@ exclude: ["LICENSE", "README", "CONTRIBUTORS", "scripts"]
# Pagination path
paginate_path: "blog/page:num"
paginate_path: "blog/page:num/"
# Enable minification SASS

View file

@ -17,7 +17,7 @@
{{ page.content | markdownify }}
{% for post in paginator.posts %}
<h4 align="left"><strong>{{ post.date | date_to_string }}</strong> <small>. {{ post.category }} .</small> <a href="{{site.baseurl}}{{post.url}}"> <strong>{{ post.title }}</strong> </a> <small><a href="{{site.baseurl}}{{post.url}}#disqus_thread">Comments</a></small></h4>
<h4 align="left"><strong>{{ post.date | date_to_string }}</strong> <small>. {{ post.category }} .</small> <br class="visible-xs-block visible-sm-block"><a href="{{site.baseurl}}{{post.url}}"> <strong>{{ post.title }}</strong> </a> <br class="visible-xs-block visible-sm-block"><small><a href="{{site.baseurl}}{{post.url}}#disqus_thread">Comments</a></small></h4>
{% endfor %}
{% include pagination.html %}

View file

@ -6,7 +6,7 @@
{% include head.html %}
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top" data-offset="51">
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top" data-offset="151">
{% include navigation.html %}

View file

@ -4,6 +4,7 @@ $primary: #00cdff;
$dark: #000;
$light: #fff;
$navbar-text-shadow: true;
$header-text-shadow: true;
$header-background-color: $dark;
$intro-text-color: $light;

View file

@ -159,7 +159,7 @@ a {
}
.intro-text {
font-size: 18px;
@if $header-text-shadow {
@if $navbar-text-shadow {
text-shadow: 1px 0 1px #000;
}
}
@ -213,7 +213,12 @@ a {
}
.content-section {
margin-top: 100px;
padding-top: 100px;
@media(min-width:767px) {
margin-top: 125px;
padding-top: 125px;
}
/* Added in { Personal } for responsive images in posts and section contents */
img {
display: block;
@ -231,12 +236,6 @@ a {
}
}
@media(min-width:767px) {
.content-section {
padding-top: 250px;
}
}
/* Added in { Personal } */
ul.social-buttons li a {
display: block;