upgrade slash theme
@ -42,27 +42,30 @@
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
.meta{
|
.meta{
|
||||||
color: $color-gray02;
|
|
||||||
font-size: 0.9em;
|
|
||||||
line-height: 2;
|
line-height: 2;
|
||||||
|
font-size: 0.9em;
|
||||||
|
color: $color-gray02;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
@media screen and (max-width: 600px){
|
@media screen and (max-width: 600px){
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
span{
|
a{
|
||||||
margin-right: 30px;
|
@include link-colors($color-gray02, $color-gray01);
|
||||||
@include inline-block;
|
@include transition(0.3s);
|
||||||
|
}
|
||||||
|
.date, .tags, .comments{
|
||||||
|
padding-left: 30px;
|
||||||
|
position: relative;
|
||||||
&:before{
|
&:before{
|
||||||
color: $color-gray03;
|
color: $color-gray03;
|
||||||
font: 1.3em $font-icon;
|
font: 1.3em $font-icon;
|
||||||
padding-right: 10px;
|
line-height: 1.6em;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
}
|
}
|
||||||
}
|
@media screen and (max-width: 600px){
|
||||||
a{
|
@include inline-block;
|
||||||
color: $color-gray02;
|
margin-right: 30px;
|
||||||
@include transition(0.3s);
|
|
||||||
&:hover{
|
|
||||||
color: $color-gray01;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.date:before{content: "\f073";}
|
.date:before{content: "\f073";}
|
||||||
|
@ -384,10 +384,17 @@ $header-height: 30px;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.rss{
|
&.rss{
|
||||||
background: image-url('social/rss.png') center no-repeat #EF7522;
|
background: image-url('social/rss.png') center no-repeat #ef7522;
|
||||||
border: 1px solid #EF7522;
|
border: 1px solid #ef7522;
|
||||||
&:hover{
|
&:hover{
|
||||||
border: 1px solid darken(#EF7522, 10%);
|
border: 1px solid darken(#ef7522, 10%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.instagram{
|
||||||
|
background: image-url('social/instagram.png') center no-repeat rgb(64,110,149);
|
||||||
|
border: 1px solid rgb(64,110,149);
|
||||||
|
&:hover{
|
||||||
|
border: 1px solid darken(rgb(64,110,149), 10%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -139,8 +139,9 @@ figure.code{
|
|||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
pre{
|
pre{
|
||||||
font: 0.9em $font-mono;
|
font: $font-mono;
|
||||||
line-height: 1.5;
|
line-height: inherit;
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.gist-meta{
|
.gist-meta{
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
</section>
|
</section>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
<section class="archives"><h1 class="year">{{ date | date: "%Y" }}</h1>
|
<section class="archives"><h1 class="year">{{ date | date: "%Y" }}</h1>
|
||||||
|
{% if forloop.last %}
|
||||||
|
</section>
|
||||||
|
{% endif %}
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
<article>
|
<article>
|
||||||
<h2 class="title"><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h2>
|
<h2 class="title"><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h2>
|
||||||
|
@ -21,6 +21,6 @@
|
|||||||
<div class="date">{% include post/date.html %}{{ time }}</div>
|
<div class="date">{% include post/date.html %}{{ time }}</div>
|
||||||
<div class="tags">{% include post/categories.html %}</div>
|
<div class="tags">{% include post/categories.html %}</div>
|
||||||
{% if site.disqus_short_name and site.disqus_show_comment_count == true %}
|
{% if site.disqus_short_name and site.disqus_show_comment_count == true %}
|
||||||
<div class="comments"><a href="{{ root_url }}{{ post.url }}{{ page.url }}#disqus_thread">Comments</a></div>
|
<div class="comments"><a href="{{ root_url }}{% if index %}{{ post.url }}{% endif %}#disqus_thread">Comments</a></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
@ -14,7 +14,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
(function () {
|
(function () {
|
||||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
dsq.src = 'http://' + disqus_shortname + '.disqus.com/' + disqus_script;
|
dsq.src = '//go.disqus.com/' + disqus_script;
|
||||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
}());
|
}());
|
||||||
</script>
|
</script>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
|
<title>{% if page.title %}{{ page.title | strip_html }} - {% endif %}{{ site.title }}</title>
|
||||||
<meta name="author" content="{{ site.author }}">
|
<meta name="author" content="{{ site.author }}">
|
||||||
|
|
||||||
{% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %}
|
{% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %}
|
||||||
@ -15,6 +15,6 @@
|
|||||||
<link href="{{ root_url }}/favicon.png" rel="shortcut icon">
|
<link href="{{ root_url }}/favicon.png" rel="shortcut icon">
|
||||||
<link href="{{ root_url }}/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
|
<link href="{{ root_url }}/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
|
||||||
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
<script async="true" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
||||||
{% include custom/head.html %}
|
{% include custom/head.html %}
|
||||||
</head>
|
</head>
|
@ -47,6 +47,9 @@
|
|||||||
{% if site.subscribe_rss %}
|
{% if site.subscribe_rss %}
|
||||||
<a class="rss" href="{{ site.subscribe_rss }}" title="RSS">RSS</a>
|
<a class="rss" href="{{ site.subscribe_rss }}" title="RSS">RSS</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if site.instagram_user %}
|
||||||
|
<a class="instagram" href="http://instagram.com/{{ site.instagram_user }}" title="Instagram">Instagram</a>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<form class="search" action="{{ site.simple_search }}" method="get">
|
<form class="search" action="{{ site.simple_search }}" method="get">
|
||||||
<input class="alignright" type="text" name="q" results="0">
|
<input class="alignright" type="text" name="q" results="0">
|
||||||
|
@ -12,6 +12,11 @@
|
|||||||
{% if site.google_plus_one %}
|
{% if site.google_plus_one %}
|
||||||
<a class="addthis_button_google_plusone" g:plusone:size="{{ site.google_plus_one_size }}"></a>
|
<a class="addthis_button_google_plusone" g:plusone:size="{{ site.google_plus_one_size }}"></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if site.addthis_button %}
|
||||||
|
<a class="addthis_counter addthis_pill_style"></a>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
{% if site.addthis_button %}
|
||||||
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid={{ site.addthis_profile_id }}"></script>
|
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid={{ site.addthis_profile_id }}"></script>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
8
source/blog/archives/index.html
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
layout: default
|
||||||
|
title: Blog Archives
|
||||||
|
---
|
||||||
|
|
||||||
|
{% for post in site.posts reverse %}
|
||||||
|
{% include archive_post.html %}
|
||||||
|
{% endfor %}
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 881 B |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 452 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 365 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 581 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 602 B |
BIN
source/images/social/instagram.png
Normal file
After Width: | Height: | Size: 556 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 383 B |
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 579 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 704 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 619 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 554 B |