Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
437 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,45 @@ | ||
<nav id="mobile-nav"> | ||
<div class="overlay"> | ||
<div class="slider-trigger"><i class="icon-sort"></i></div> | ||
<h1 class="header-author js-mobile-header hide"><%=theme.author%></h1> | ||
</div> | ||
<div class="overlay js-overlay"></div> | ||
<div class="btnctn js-mobile-btnctn"> | ||
<div class="slider-trigger back" style="display:none"><i class="icon icon-back1"></i></div> | ||
<div class="slider-trigger list" q-on="click: openSlider(e, 'innerArchive')"><i class="icon icon-sort"></i></div> | ||
</div> | ||
<div class="intrude-less"> | ||
<header id="header" class="inner"> | ||
<div class="profilepic"> | ||
<img src="<%=theme.avatar%>" class="js-avatar"> | ||
</div> | ||
<hgroup> | ||
<h1 class="header-author"><%=theme.author%></h1> | ||
<h1 class="header-author js-header-author"><%=theme.author%></h1> | ||
</hgroup> | ||
<% if (theme.subtitle){ %> | ||
<p class="header-subtitle"><%=theme.subtitle%></p> | ||
<%}%> | ||
<nav class="header-menu"> | ||
<ul> | ||
<% for (var i in theme.menu){ %> | ||
<li><a href="<%- url_for(theme.menu[i]) %>"><%= i %></a></li> | ||
<%}%> | ||
<% if (theme.smart_menu.innerArchive) { %> | ||
<li><a href="/archives/"><%= theme.smart_menu.innerArchive %></a></li> | ||
<% } %> | ||
</ul> | ||
</nav> | ||
<p class="header-subtitle"><i class="icon icon-quo-left"></i><%=theme.subtitle%><i class="icon icon-quo-right"></i></p> | ||
<% } %> | ||
<% var count = 0%> | ||
<% for (var i in theme.menu){ %> | ||
<% count++ %> | ||
<% } %> | ||
<% var ulWidth = count > 2 ? '70%' : '50%' %> | ||
|
||
<% if (theme.mobile.social) { %> | ||
<nav class="header-nav"> | ||
<div class="social"> | ||
<% for (var i in theme.subnav){ %> | ||
<a class="<%= i %>" target="_blank" href="<%- url_for(theme.subnav[i]) %>" title="<%= i %>"><i class="icon-<%= i %>"></i></a> | ||
<%}%> | ||
</div> | ||
</nav> | ||
<% } %> | ||
|
||
<nav class="header-menu js-header-menu"> | ||
<ul style="width: <%= ulWidth %>"> | ||
<% var divide = 100 / count + '%' %> | ||
<% for (var i in theme.menu){ %> | ||
<li style="width: <%= divide %>"><a href="<%- url_for(theme.menu[i]) %>"><%= i %></a></li> | ||
<%}%> | ||
</ul> | ||
</nav> | ||
</header> | ||
</div> | ||
<div class="mobile-mask" style="display:none" q-show="isShow"></div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
<% if (post.tags && post.tags.length){ %> | ||
<div class="article-tag tagcloud"> | ||
<i class="icon-price-tags"></i> | ||
<%- list_tags(post.tags, { | ||
show_count: false, | ||
class: 'article-tag' | ||
}) %> | ||
<ul class="article-tag-list"> | ||
<% post.tags.forEach(function(tag, i){ %> | ||
<li class="article-tag-list-item"> | ||
<a href="javascript:void(0)" class="article-tag-list-link color<%= tag.name.length % 5 + 1 %>"><%-tag.name%></a> | ||
</li> | ||
<% }) %> | ||
</ul> | ||
</div> | ||
<% } %> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -310,7 +310,6 @@ | |
|
||
%anmLeftOut { | ||
animation-duration: .8s; | ||
animation-fill-mode: both; | ||
animation-name: leftOut; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.