Skip to content

Commit

Permalink
Release: 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
iissnan committed Jan 31, 2015
1 parent 77b46e3 commit 1e908eb
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ fancybox: true
# Specify the date when the site was setup
since: 2015

version: 0.1.2
version: 0.1.3
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "isn-next",
"version": "0.1.2",
"version": "0.1.3",
"homepage": "https://github.com/iissnan/hexo-theme-next",
"authors": [
"iissnan <[email protected]>"
Expand Down
4 changes: 4 additions & 0 deletions layout/archive.swig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
{% block content %}

<span class="archive-move-on"></span>
<span class="archive-page-counter">
Great! {{ site.posts.length }} posts in total. <br />
Keep on posting.
</span>

{% for post in page.posts %}

Expand Down
2 changes: 1 addition & 1 deletion layout/page.swig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% if page.type === "tags" %}
<div class="tag-cloud">
<div class="tag-cloud-title">
Totally {{ site.tags.length }} tags
<div class="collection-title">Totally {{ site.tags.length }} tags</div>
</div>
<div class="tag-cloud-tags">
{{ tagcloud({min_font: 12, max_font: 30, amount: 200, color: true, start_color: '#ccc', end_color: '#111'}) }}
Expand Down
8 changes: 4 additions & 4 deletions source/css/_component/posts-collapse.styl
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@

.posts-collapse .collection-title {
display: inline-block;
margin: 30px 0;
padding: 5px;
color: white;
margin: 30px 0 70px;
padding: 5px 30px;
color: $colorDeepBlack;
font-family: $fontFamilyPost;
background: $colorDeepBlack;
border: 2px solid $colorDeepBlack;
}

.posts-collapse .post {
Expand Down
4 changes: 4 additions & 0 deletions source/css/_core/mixins.styl
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,8 @@ the-transition() {
transition-duration: 0.2s;
transition-timing-function: ease-in-out;
transition-delay: 0s;
}

mobile() {
{block}
}
26 changes: 25 additions & 1 deletion source/css/_page/archive.styl
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
.page-archive {

$left = 55px;
$left-mobile = 30px;

.archive-page-counter {
position: relative;
top: -20px;
left: 50px;
}

.posts-collapse {
position: relative;
Expand All @@ -13,6 +20,10 @@
height: 100%;
background: $colorWhiteSmoke;
z-index: -1;

+mobile() {
left: $left-mobile;
}
}

.archive-move-on {
Expand All @@ -24,10 +35,18 @@
height: 12px;
opacity: 0.5;
background: $colorLightBlack;

+mobile() {
left: $left-mobile;
}
}

.post {
margin: 30px 0 30px $left;

+mobile() {
margin-left: $left-mobile;
}
}

&::before, &::after {
Expand All @@ -40,6 +59,10 @@
text-align: center;
margin-left: $left;

+mobile() {
margin-left: $left-mobile;
}

&::before {
content: " ";
position: absolute;
Expand All @@ -66,7 +89,8 @@
}

.collection-title {
margin-left: -34px;
margin: 30px 0;
margin-left: -54px;
padding: 5px 30px;
background: white;
border: 2px solid $colorDimGray;
Expand Down

0 comments on commit 1e908eb

Please sign in to comment.