upgrade slash theme

This commit is contained in:
Jörg Thalheim 2013-09-07 00:15:18 +02:00
parent 3018bc637c
commit d187d55a7e
24 changed files with 69 additions and 39 deletions

View File

@ -42,27 +42,30 @@
margin-bottom: 0;
}
.meta{
color: $color-gray02;
font-size: 0.9em;
line-height: 2;
font-size: 0.9em;
color: $color-gray02;
margin-top: 15px;
@media screen and (max-width: 600px){
display: none;
}
span{
margin-right: 30px;
@include inline-block;
a{
@include link-colors($color-gray02, $color-gray01);
@include transition(0.3s);
}
.date, .tags, .comments{
padding-left: 30px;
position: relative;
&:before{
color: $color-gray03;
font: 1.3em $font-icon;
padding-right: 10px;
line-height: 1.6em;
position: absolute;
left: 0;
}
}
a{
color: $color-gray02;
@include transition(0.3s);
&:hover{
color: $color-gray01;
@media screen and (max-width: 600px){
@include inline-block;
margin-right: 30px;
}
}
.date:before{content: "\f073";}
@ -70,4 +73,4 @@
.comments:before{content: "\f075";}
}
}
}
}

View File

@ -375,7 +375,7 @@ $header-height: 30px;
&:hover{
border: 1px solid darken(rgb(190,64,55), 10%);
}
}
}
&.delicious{
background: image-url('social/delicious.png') center no-repeat rgb(50,113,203);
border: 1px solid rgb(50,113,203);
@ -384,10 +384,17 @@ $header-height: 30px;
}
}
&.rss{
background: image-url('social/rss.png') center no-repeat #EF7522;
border: 1px solid #EF7522;
background: image-url('social/rss.png') center no-repeat #ef7522;
border: 1px solid #ef7522;
&: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%);
}
}
}

View File

@ -139,8 +139,9 @@ figure.code{
background: none;
border: none;
pre{
font: 0.9em $font-mono;
line-height: 1.5;
font: $font-mono;
line-height: inherit;
text-align: left;
}
}
.gist-meta{

View File

@ -6,6 +6,9 @@
</section>
{% endunless %}
<section class="archives"><h1 class="year">{{ date | date: "%Y" }}</h1>
{% if forloop.last %}
</section>
{% endif %}
{% endunless %}
<article>
<h2 class="title"><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h2>
@ -16,4 +19,4 @@
<div class="comments"><a href="{{ root_url }}{{ post.url }}#disqus_thread">Comments</a></div>
{% endif %}
</div>
</article>
</article>

View File

@ -21,6 +21,6 @@
<div class="date">{% include post/date.html %}{{ time }}</div>
<div class="tags">{% include post/categories.html %}</div>
{% 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 %}
</div>
</div>

View File

@ -14,7 +14,7 @@
{% endif %}
(function () {
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);
}());
</script>

View File

@ -2,7 +2,7 @@
<html>
<head>
<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 }}">
{% 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 }}/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]-->
<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 %}
</head>
</head>

View File

@ -47,6 +47,9 @@
{% if site.subscribe_rss %}
<a class="rss" href="{{ site.subscribe_rss }}" title="RSS">RSS</a>
{% endif %}
{% if site.instagram_user %}
<a class="instagram" href="http://instagram.com/{{ site.instagram_user }}" title="Instagram">Instagram</a>
{% endif %}
</div>
<form class="search" action="{{ site.simple_search }}" method="get">
<input class="alignright" type="text" name="q" results="0">

View File

@ -1,17 +1,22 @@
<div class="share">
{% if site.flattr_user %}
{% include post/flattr_button.html %}
{% endif %}
{% if site.flattr_user %}
{% include post/flattr_button.html %}
{% endif %}
<div class="addthis_toolbox addthis_default_style ">
{% if site.facebook_like %}
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
{% endif %}
{% if site.twitter_tweet_button %}
<a class="addthis_button_tweet"></a>
{% endif %}
{% if site.google_plus_one %}
<a class="addthis_button_google_plusone" g:plusone:size="{{ site.google_plus_one_size }}"></a>
{% endif %}
{% if site.facebook_like %}
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
{% endif %}
{% if site.twitter_tweet_button %}
<a class="addthis_button_tweet"></a>
{% endif %}
{% if site.google_plus_one %}
<a class="addthis_button_google_plusone" g:plusone:size="{{ site.google_plus_one_size }}"></a>
{% endif %}
{% if site.addthis_button %}
<a class="addthis_counter addthis_pill_style"></a>
{% endif %}
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid={{ site.addthis_profile_id }}"></script>
{% if site.addthis_button %}
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid={{ site.addthis_profile_id }}"></script>
{% endif %}
</div>

View File

@ -0,0 +1,8 @@
---
layout: default
title: Blog Archives
---
{% for post in site.posts reverse %}
{% include archive_post.html %}
{% endfor %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 881 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 452 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 581 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 445 B

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 704 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 554 B