jekyll-theme-type 1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +14 -0
- data/_includes/disqus.html +10 -0
- data/_includes/footer.html +9 -0
- data/_includes/head.html +46 -0
- data/_includes/header.html +31 -0
- data/_includes/icons.html +159 -0
- data/_includes/muut.html +3 -0
- data/_layouts/default.html +11 -0
- data/_layouts/home.html +51 -0
- data/_layouts/page.html +9 -0
- data/_layouts/post.html +49 -0
- data/_sass/base/_global.scss +129 -0
- data/_sass/base/_utility.scss +35 -0
- data/_sass/base/_variables.scss +30 -0
- data/_sass/external/_reset.scss +447 -0
- data/_sass/external/_syntax.scss +63 -0
- data/_sass/includes/_footer.scss +8 -0
- data/_sass/includes/_header.scss +53 -0
- data/_sass/layouts/_index.scss +42 -0
- data/_sass/layouts/_posts.scss +81 -0
- data/_sass/type-theme.scss +16 -0
- data/assets/css/main.scss +4 -0
- data/assets/img/avatar.png +0 -0
- data/assets/img/sample_feature_img.png +0 -0
- data/assets/img/sample_feature_img_2.png +0 -0
- data/assets/img/sample_feature_img_3.png +0 -0
- data/assets/js/katex_init.js +22 -0
- metadata +128 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 56cc45ff6a154eed2763e8083b1396fe147ba40f
|
4
|
+
data.tar.gz: 3e8b739efcab4022186c0d236b32d02a7e026e78
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ec1641b4f379afefb5979d8b606d980c2c5b696c6b25ad28fc9dfc14a39cb0732b0efbebb03b5f0e8c2d9788e53a8661b3ccd1f37b7219f426e158ebb605c4d7
|
7
|
+
data.tar.gz: 6ec5024b72857dffbffc0ff347382a622747fb1f720bbc88076147429f567631fba13cf8b6a039a281f61367bba7629235892c463bd4be2ead501319cda769f2
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2014 Rohan Chandra
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# Type Theme
|
2
|
+
|
3
|
+

|
4
|
+
|
5
|
+
A free and open-source [Jekyll](http://jekyllrb.com) theme. Great for blogs and easy to customize.
|
6
|
+
|
7
|
+
## Get Started
|
8
|
+
|
9
|
+
[Demo](https://rohanchandra.github.io/type-theme/)
|
10
|
+
|
11
|
+
[Using Type](https://rohanchandra.github.io/project/type/)
|
12
|
+
|
13
|
+
## License
|
14
|
+
The MIT License (MIT)
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<div id="disqus_thread"></div>
|
2
|
+
<script type="text/javascript">
|
3
|
+
var disqus_shortname = '{{ site.theme_settings.disqus_shortname }}';
|
4
|
+
(function() {
|
5
|
+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
6
|
+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
7
|
+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
8
|
+
})();
|
9
|
+
</script>
|
10
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
{% if site.theme_settings.katex %}
|
2
|
+
<script src="{{ "/assets/js/katex_init.js" | prepend: site.baseurl }}"></script>
|
3
|
+
{% endif %}
|
4
|
+
|
5
|
+
{% if site.theme_settings.footer_text %}
|
6
|
+
<footer class="site-footer">
|
7
|
+
<p class="text">{{ site.theme_settings.footer_text }}</p>
|
8
|
+
</footer>
|
9
|
+
{% endif %}
|
data/_includes/head.html
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<title>{% if page.title %}{{ page.title }} |{% endif %} {{ site.theme_settings.title }}</title>
|
4
|
+
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.theme_settings.description }}{% endif %}">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
6
|
+
<meta http-equiv="X-Frame-Options" content="sameorigin">
|
7
|
+
|
8
|
+
<!-- CSS -->
|
9
|
+
<link rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.baseurl }}">
|
10
|
+
|
11
|
+
<!--Favicon-->
|
12
|
+
<link rel="shortcut icon" href="{{ "/favicon.ico" | prepend: site.baseurl }}" type="image/x-icon">
|
13
|
+
|
14
|
+
<!-- Canonical -->
|
15
|
+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
|
16
|
+
|
17
|
+
<!-- RSS -->
|
18
|
+
<link rel="alternate" type="application/atom+xml" title="{{ site.theme_settings.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
|
19
|
+
|
20
|
+
<!-- Font Awesome -->
|
21
|
+
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
|
22
|
+
|
23
|
+
<!-- Google Fonts -->
|
24
|
+
{% if site.theme_settings.google_fonts %}
|
25
|
+
<link href="//fonts.googleapis.com/css?family={{ site.theme_settings.google_fonts }}" rel="stylesheet" type="text/css">
|
26
|
+
{% endif %}
|
27
|
+
|
28
|
+
<!-- KaTeX -->
|
29
|
+
{% if site.theme_settings.katex %}
|
30
|
+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css">
|
31
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.js"></script>
|
32
|
+
{% endif %}
|
33
|
+
|
34
|
+
<!-- Google Analytics -->
|
35
|
+
{% if site.theme_settings.google_analytics %}
|
36
|
+
<script>
|
37
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
38
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
39
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
40
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
41
|
+
|
42
|
+
ga('create', '{{ site.theme_settings.google_analytics }}', 'auto');
|
43
|
+
ga('send', 'pageview');
|
44
|
+
</script>
|
45
|
+
{% endif %}
|
46
|
+
</head>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<header class="site-header">
|
2
|
+
<div class="branding">
|
3
|
+
{% if site.theme_settings.gravatar %}
|
4
|
+
<a href="{{ site.baseurl }}/">
|
5
|
+
<img class="avatar" src="https://secure.gravatar.com/avatar/{{ site.theme_settings.gravatar }}?s=100" alt=""/>
|
6
|
+
</a>
|
7
|
+
{% elsif site.theme_settings.avatar %}
|
8
|
+
<a href="{{ site.baseurl }}/">
|
9
|
+
<img class="avatar" src="{{ site.baseurl }}/{{ site.theme_settings.avatar }}" alt="{{site.theme_settings.avatar}}"/>
|
10
|
+
</a>
|
11
|
+
{% endif %}
|
12
|
+
<h1 class="site-title">
|
13
|
+
<a href="{{ site.baseurl }}/">{{ site.theme_settings.title }}</a>
|
14
|
+
</h1>
|
15
|
+
</div>
|
16
|
+
<nav class="site-nav">
|
17
|
+
<ul>
|
18
|
+
{% for page in site.pages %}
|
19
|
+
{% if page.title and page.hide != true %}
|
20
|
+
<li>
|
21
|
+
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">
|
22
|
+
{{ page.title }}
|
23
|
+
</a>
|
24
|
+
</li>
|
25
|
+
{% endif %}
|
26
|
+
{% endfor %}
|
27
|
+
<!-- Social icons from Font Awesome, if enabled -->
|
28
|
+
{% include icons.html %}
|
29
|
+
</ul>
|
30
|
+
</nav>
|
31
|
+
</header>
|
@@ -0,0 +1,159 @@
|
|
1
|
+
{% if site.theme_settings.rss %}
|
2
|
+
<li>
|
3
|
+
<a href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" title="{{ site.theme_settings.str_rss_follow }}">
|
4
|
+
<i class="fa fa-fw fa-rss"></i>
|
5
|
+
</a>
|
6
|
+
</li>
|
7
|
+
{% endif %}
|
8
|
+
|
9
|
+
{% if site.theme_settings.email_address %}
|
10
|
+
<li>
|
11
|
+
<a href="mailto:{{ site.theme_settings.email_address }}" title="{{ site.theme_settings.str_email }}">
|
12
|
+
<i class="fa fa-fw fa-envelope"></i>
|
13
|
+
</a>
|
14
|
+
</li>
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
{% if site.theme_settings.behance %}
|
18
|
+
<li>
|
19
|
+
<a href="https://www.behance.net/{{ site.theme_settings.behance }}" title="{{ site.theme_settings.str_follow_on }} Behance">
|
20
|
+
<i class="fa fa-fw fa-behance"></i>
|
21
|
+
</a>
|
22
|
+
</li>
|
23
|
+
{% endif %}
|
24
|
+
|
25
|
+
{% if site.theme_settings.bitbucket %}
|
26
|
+
<li>
|
27
|
+
<a href="https://bitbucket.org/{{ site.theme_settings.bitbucket }}" title="{{ site.theme_settings.str_follow_on }} Bitbucket">
|
28
|
+
<i class="fa fa-fw fa-bitbucket"></i>
|
29
|
+
</a>
|
30
|
+
</li>
|
31
|
+
{% endif %}
|
32
|
+
|
33
|
+
{% if site.theme_settings.dribbble %}
|
34
|
+
<li>
|
35
|
+
<a href="https://dribbble.com/{{ site.theme_settings.dribbble }}" title="{{ site.theme_settings.str_follow_on }} Dribbble">
|
36
|
+
<i class="fa fa-fw fa-dribbble"></i>
|
37
|
+
</a>
|
38
|
+
</li>
|
39
|
+
{% endif %}
|
40
|
+
|
41
|
+
{% if site.theme_settings.facebook %}
|
42
|
+
<li>
|
43
|
+
<a href="https://www.facebook.com/{{ site.theme_settings.facebook }}" title="{{ site.theme_settings.str_follow_on }} Facebook">
|
44
|
+
<i class="fa fa-fw fa-facebook"></i>
|
45
|
+
</a>
|
46
|
+
</li>
|
47
|
+
{% endif %}
|
48
|
+
|
49
|
+
{% if site.theme_settings.flickr %}
|
50
|
+
<li>
|
51
|
+
<a href="https://www.flickr.com/photos/{{ site.theme_settings.flickr }}" title="{{ site.theme_settings.str_follow_on }} Flickr">
|
52
|
+
<i class="fa fa-fw fa-flickr"></i>
|
53
|
+
</a>
|
54
|
+
</li>
|
55
|
+
{% endif %}
|
56
|
+
|
57
|
+
{% if site.theme_settings.github %}
|
58
|
+
<li>
|
59
|
+
<a href="https://github.com/{{ site.theme_settings.github }}" title="{{ site.theme_settings.str_follow_on }} GitHub">
|
60
|
+
<i class="fa fa-fw fa-github"></i>
|
61
|
+
</a>
|
62
|
+
</li>
|
63
|
+
{% endif %}
|
64
|
+
|
65
|
+
{% if site.theme_settings.google_plus %}
|
66
|
+
<li>
|
67
|
+
<a href="https://plus.google.com/{{ site.theme_settings.google_plus }}" title="{{ site.theme_settings.str_follow_on }} Google+">
|
68
|
+
<i class="fa fa-fw fa-google-plus"></i>
|
69
|
+
</a>
|
70
|
+
</li>
|
71
|
+
{% endif %}
|
72
|
+
|
73
|
+
{% if site.theme_settings.instagram %}
|
74
|
+
<li>
|
75
|
+
<a href="http://instagram.com/{{ site.theme_settings.instagram }}" title="{{ site.theme_settings.str_follow_on }} Instagram">
|
76
|
+
<i class="fa fa-fw fa-instagram"></i>
|
77
|
+
</a>
|
78
|
+
</li>
|
79
|
+
{% endif %}
|
80
|
+
|
81
|
+
{% if site.theme_settings.linkedin %}
|
82
|
+
<li>
|
83
|
+
<a href="{{ site.theme_settings.linkedin }}" title="{{ site.theme_settings.str_follow_on }} LinkedIn">
|
84
|
+
<i class="fa fa-fw fa-linkedin"></i>
|
85
|
+
</a>
|
86
|
+
</li>
|
87
|
+
{% endif %}
|
88
|
+
|
89
|
+
{% if site.theme_settings.pinterest %}
|
90
|
+
<li>
|
91
|
+
<a href="http://www.pinterest.com/{{ site.theme_settings.pinterest }}" title="{{ site.theme_settings.str_follow_on }} Pinterest">
|
92
|
+
<i class="fa fa-fw fa-pinterest"></i>
|
93
|
+
</a>
|
94
|
+
</li>
|
95
|
+
{% endif %}
|
96
|
+
|
97
|
+
{% if site.theme_settings.reddit %}
|
98
|
+
<li>
|
99
|
+
<a href="https://www.reddit.com/user/{{ site.theme_settings.reddit }}" title="{{ site.theme_settings.str_follow_on }} Reddit">
|
100
|
+
<i class="fa fa-fw fa-reddit"></i>
|
101
|
+
</a>
|
102
|
+
</li>
|
103
|
+
{% endif %}
|
104
|
+
|
105
|
+
{% if site.theme_settings.soundcloud %}
|
106
|
+
<li>
|
107
|
+
<a href="https://soundcloud.com/{{ site.theme_settings.soundcloud }}" title="{{ site.theme_settings.str_follow_on }} SoundCloud">
|
108
|
+
<i class="fa fa-fw fa-soundcloud"></i>
|
109
|
+
</a>
|
110
|
+
</li>
|
111
|
+
{% endif %}
|
112
|
+
|
113
|
+
{% if site.theme_settings.stack_exchange %}
|
114
|
+
<li>
|
115
|
+
<a href="{{ site.theme_settings.stack_exchange }}" title="{{ site.theme_settings.str_follow_on }} Stack Exchange">
|
116
|
+
<i class="fa fa-fw fa-stack-exchange"></i>
|
117
|
+
</a>
|
118
|
+
</li>
|
119
|
+
{% endif %}
|
120
|
+
|
121
|
+
{% if site.theme_settings.steam %}
|
122
|
+
<li>
|
123
|
+
<a href="http://steamcommunity.com/id/{{ site.theme_settings.steam }}" title="{{ site.theme_settings.str_follow_on }} Steam">
|
124
|
+
<i class="fa fa-fw fa-steam"></i>
|
125
|
+
</a>
|
126
|
+
</li>
|
127
|
+
{% endif %}
|
128
|
+
|
129
|
+
{% if site.theme_settings.tumblr %}
|
130
|
+
<li>
|
131
|
+
<a href="http://{{ site.theme_settings.tumblr }}.tumblr.com/" title="{{ site.theme_settings.str_follow_on }} Tumblr">
|
132
|
+
<i class="fa fa-fw fa-tumblr"></i>
|
133
|
+
</a>
|
134
|
+
</li>
|
135
|
+
{% endif %}
|
136
|
+
|
137
|
+
{% if site.theme_settings.twitter %}
|
138
|
+
<li>
|
139
|
+
<a href="https://twitter.com/{{ site.theme_settings.twitter }}" title="{{ site.theme_settings.str_follow_on }} Twitter">
|
140
|
+
<i class="fa fa-fw fa-twitter"></i>
|
141
|
+
</a>
|
142
|
+
</li>
|
143
|
+
{% endif %}
|
144
|
+
|
145
|
+
{% if site.theme_settings.wordpress %}
|
146
|
+
<li>
|
147
|
+
<a href="https://{{ site.theme_settings.wordpress }}.wordpress.com/" title="{{ site.theme_settings.str_follow_on }} WordPress">
|
148
|
+
<i class="fa fa-fw fa-wordpress"></i>
|
149
|
+
</a>
|
150
|
+
</li>
|
151
|
+
{% endif %}
|
152
|
+
|
153
|
+
{% if site.theme_settings.youtube %}
|
154
|
+
<li>
|
155
|
+
<a href="https://www.youtube.com/user/{{ site.theme_settings.youtube }}" title="{{ site.theme_settings.str_follow_on }} YouTube">
|
156
|
+
<i class="fa fa-fw fa-youtube"></i>
|
157
|
+
</a>
|
158
|
+
</li>
|
159
|
+
{% endif %}
|
data/_includes/muut.html
ADDED
data/_layouts/home.html
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<div class="home">
|
5
|
+
{% if site.theme_settings.header_text %}
|
6
|
+
<div class="call-out"
|
7
|
+
style="background-image: url('{{ site.baseurl }}/{{ site.theme_settings.header_text_feature_image }}')">
|
8
|
+
{{ site.theme_settings.header_text }}
|
9
|
+
</div>
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
<div class="posts">
|
13
|
+
{% for post in paginator.posts %}
|
14
|
+
<div class="post-teaser">
|
15
|
+
<header>
|
16
|
+
<h1>
|
17
|
+
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
|
18
|
+
{{ post.title }}
|
19
|
+
</a>
|
20
|
+
</h1>
|
21
|
+
<p class="meta">
|
22
|
+
{{ post.date | date: "%B %-d, %Y" }}
|
23
|
+
</p>
|
24
|
+
</header>
|
25
|
+
<div class="excerpt">
|
26
|
+
{{ post.excerpt }}
|
27
|
+
<a class="button" href="{{ post.url | prepend: site.baseurl }}">
|
28
|
+
{{ site.theme_settings.str_continue_reading }}
|
29
|
+
</a>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
{% endfor %}
|
33
|
+
</div>
|
34
|
+
|
35
|
+
{% if paginator.total_pages > 1 %}
|
36
|
+
<div class="pagination">
|
37
|
+
{% if paginator.previous_page %}
|
38
|
+
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="button" >
|
39
|
+
<i class="fa fa-chevron-left"></i>
|
40
|
+
{{ site.theme_settings.str_prev }}
|
41
|
+
</a>
|
42
|
+
{% endif %}
|
43
|
+
{% if paginator.next_page %}
|
44
|
+
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="button" >
|
45
|
+
{{ site.theme_settings.str_next }}
|
46
|
+
<i class="fa fa-chevron-right"></i>
|
47
|
+
</a>
|
48
|
+
{% endif %}
|
49
|
+
</div>
|
50
|
+
{% endif %}
|
51
|
+
</div>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article {% if page.feature-img %}class="feature-image"{% endif %}>
|
5
|
+
<header style="background-image: url('{{ site.baseurl }}/{{ page.feature-img }}')">
|
6
|
+
<h1 class="title">{{ page.title }}</h1>
|
7
|
+
</header>
|
8
|
+
<section class="post-content">{{ content }}</section>
|
9
|
+
</article>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article {% if page.feature-img %}class="feature-image"{% endif %}>
|
5
|
+
<header style="background-image: url('{{ site.baseurl }}/{{ page.feature-img }}')">
|
6
|
+
<h1 class="title">{{ page.title }}</h1>
|
7
|
+
<p class="meta">
|
8
|
+
{{ page.date | date: "%B %-d, %Y" }}
|
9
|
+
{% if page.author %} - {{ page.author }}{% endif %}
|
10
|
+
</p>
|
11
|
+
</header>
|
12
|
+
<section class="post-content">{{ content }}</section>
|
13
|
+
</article>
|
14
|
+
|
15
|
+
<!-- Post navigation -->
|
16
|
+
{% if site.theme_settings.post_navigation %}
|
17
|
+
<div id="post-nav">
|
18
|
+
{% if page.previous.url %}
|
19
|
+
<a id="prev-post" href="{{ site.baseurl }}{{ page.previous.url }}">
|
20
|
+
<span class="page-title">{{ page.previous.title }}</span>
|
21
|
+
<span class="nav-label">
|
22
|
+
<i class="fa fa-chevron-left"></i> {{ site.theme_settings.str_prev }}
|
23
|
+
</span>
|
24
|
+
</a>
|
25
|
+
{% endif %}
|
26
|
+
{% if page.next.url %}
|
27
|
+
<a id="next-post" href="{{ site.baseurl }}{{ page.next.url }}">
|
28
|
+
<span class="page-title">{{ page.next.title }}</span>
|
29
|
+
<span class="nav-label">
|
30
|
+
{{ site.theme_settings.str_next }} <i class="fa fa-chevron-right"></i>
|
31
|
+
</span>
|
32
|
+
</a>
|
33
|
+
{% endif %}
|
34
|
+
</div>
|
35
|
+
{% endif %}
|
36
|
+
|
37
|
+
<!-- Disqus -->
|
38
|
+
{% if site.theme_settings.disqus_shortname %}
|
39
|
+
<div class="comments">
|
40
|
+
{% include disqus.html %}
|
41
|
+
</div>
|
42
|
+
{% endif %}
|
43
|
+
|
44
|
+
<!-- Muut -->
|
45
|
+
{% if site.theme_settings.muut_community_name %}
|
46
|
+
<div class="comments">
|
47
|
+
{% include muut.html %}
|
48
|
+
</div>
|
49
|
+
{% endif %}
|
@@ -0,0 +1,129 @@
|
|
1
|
+
* {
|
2
|
+
margin: 0;
|
3
|
+
padding: 0;
|
4
|
+
box-sizing: border-box;
|
5
|
+
}
|
6
|
+
figure {
|
7
|
+
margin: 0;
|
8
|
+
}
|
9
|
+
// For correct line number width in Github Gists
|
10
|
+
.gist table tbody tr td {
|
11
|
+
box-sizing: content-box;
|
12
|
+
}
|
13
|
+
html {
|
14
|
+
background: $background-color;
|
15
|
+
}
|
16
|
+
|
17
|
+
// Typography
|
18
|
+
::selection {
|
19
|
+
background: $selection-color;
|
20
|
+
}
|
21
|
+
::-moz-selection {
|
22
|
+
background: $selection-color;
|
23
|
+
}
|
24
|
+
body {
|
25
|
+
color: $text-color;
|
26
|
+
font-family: $font-family-main;
|
27
|
+
font-size: $font-size;
|
28
|
+
word-wrap: break-word;
|
29
|
+
}
|
30
|
+
h1, h2, h3, h4, h5, h6 {
|
31
|
+
font-family: $font-family-headings;
|
32
|
+
line-height: 1.3;
|
33
|
+
margin: 0.67em 0;
|
34
|
+
a {
|
35
|
+
color: $text-color;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
h1 {
|
39
|
+
font-size: 2.5em;
|
40
|
+
}
|
41
|
+
h2 {
|
42
|
+
font-size: 2em;
|
43
|
+
}
|
44
|
+
h3 {
|
45
|
+
font-size: 1.5em;
|
46
|
+
}
|
47
|
+
h4 {
|
48
|
+
font-size: 1.15em;
|
49
|
+
}
|
50
|
+
blockquote {
|
51
|
+
border-left: 2px solid;
|
52
|
+
padding: 1em 1em;
|
53
|
+
}
|
54
|
+
blockquote p:last-child,
|
55
|
+
footer p:last-child {
|
56
|
+
margin-bottom: 0;
|
57
|
+
}
|
58
|
+
table {
|
59
|
+
table-layout:fixed;
|
60
|
+
width:100%;
|
61
|
+
word-wrap:break-word;
|
62
|
+
@media (max-width: 1100px) {
|
63
|
+
overflow-x: scroll;
|
64
|
+
display: inline-block;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
td,
|
68
|
+
th {
|
69
|
+
padding: 0.5em 1em;
|
70
|
+
border: 1px solid $border-color;
|
71
|
+
text-align: left;
|
72
|
+
}
|
73
|
+
table,
|
74
|
+
dl,
|
75
|
+
blockquote,
|
76
|
+
code,
|
77
|
+
kbd,
|
78
|
+
pre,
|
79
|
+
samp {
|
80
|
+
margin: 1em 0;
|
81
|
+
}
|
82
|
+
dt {
|
83
|
+
font-weight: bold;
|
84
|
+
}
|
85
|
+
dd {
|
86
|
+
margin-left: 2em;
|
87
|
+
}
|
88
|
+
p, ol, ul, dl, .math-display {
|
89
|
+
line-height: 1.5;
|
90
|
+
margin-bottom: 1em;
|
91
|
+
}
|
92
|
+
// KaTeX math display
|
93
|
+
.math-display {
|
94
|
+
display: inline-block;
|
95
|
+
width: 100%;
|
96
|
+
}
|
97
|
+
// Lists within lists
|
98
|
+
li > ul, li > ol {
|
99
|
+
margin-bottom: 0;
|
100
|
+
margin-left: 1em;
|
101
|
+
}
|
102
|
+
ol, ul {
|
103
|
+
list-style-position: inside;
|
104
|
+
}
|
105
|
+
hr {
|
106
|
+
border: 0;
|
107
|
+
border-top: 1px solid $border-color;
|
108
|
+
border-bottom: 1px solid #fff;
|
109
|
+
margin: 1em 0;
|
110
|
+
}
|
111
|
+
a {
|
112
|
+
color: $link-color;
|
113
|
+
text-decoration: none;
|
114
|
+
}
|
115
|
+
.nav {
|
116
|
+
list-style: none;
|
117
|
+
margin: 0;
|
118
|
+
padding: 0;
|
119
|
+
}
|
120
|
+
// Responsive media
|
121
|
+
iframe, img, embed, object, video {
|
122
|
+
max-width: 100%;
|
123
|
+
}
|
124
|
+
img[align=left] {
|
125
|
+
margin-right: 3%;
|
126
|
+
}
|
127
|
+
img[align=right] {
|
128
|
+
margin-left: 3%;
|
129
|
+
}
|