Including css instead of inlining.

This commit is contained in:
Julien Palard 2017-04-04 23:26:44 +02:00
parent fd5f51ec4a
commit 4aad72fee8
9 changed files with 9 additions and 16 deletions

View File

@ -245,10 +245,10 @@ img.left, figure.left {float: left; margin: 0 2em 2em 0;}
}
/* Icons */
.social a[href*='github.com'] { background-image: url('theme/images/icons/github.png'); background-size: 16px 16px;}
.social a[type$='atom+xml'], .social a[type$='rss+xml'] {background-image: url('theme/images/icons/rss.png');}
.social a[href*='stackoverflow.com'] {background-image: url('theme/images/icons/stackoverflow.png');}
.social a[href*='twitter.com'] {background-image: url('theme/images/icons/twitter.png');}
.social a[href*='github.com'] { background-image: url('/theme/images/icons/github.png'); background-size: 16px 16px;}
.social a[type$='atom+xml'], .social a[type$='rss+xml'] {background-image: url('/theme/images/icons/rss.png');}
.social a[href*='stackoverflow.com'] {background-image: url('/theme/images/icons/stackoverflow.png');}
.social a[href*='twitter.com'] {background-image: url('/theme/images/icons/twitter.png');}
/*
About

View File

@ -5,18 +5,11 @@
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
<meta name="viewport" content="width=800">
<style>
{% include "reset.css" %}
{% include "monokai.css" %}
{% include "typogrify.css" %}
{% include "main.css" %}
{% include "github-markdown.css" %}
</style>
<link charset="utf-8" type="text/css" href="/theme/css/reset.css" rel="stylesheet">
<link charset="utf-8" type="text/css" href="/theme/css/monokai.css" rel="stylesheet">
<link charset="utf-8" type="text/css" href="/theme/css/typogrify.css" rel="stylesheet">
<link charset="utf-8" type="text/css" href="/theme/css/main.css" rel="stylesheet">
<link charset="utf-8" type="text/css" href="/theme/css/github-markdown.css" rel="stylesheet">
{% if FEED_ALL_ATOM %}
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
{% endif %}