cosy-jekyll-theme 1.0.4 → 1.0.5
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 +4 -4
- data/README.md +19 -15
- data/_includes/browser-upgrade.html +1 -1
- data/_includes/footer.html +2 -12
- data/_includes/head.html +3 -6
- data/_includes/header.html +0 -12
- data/_includes/read-more.html +1 -1
- data/_includes/scripts.html +6 -5
- data/_layouts/page.html +1 -1
- data/_layouts/post.html +7 -1
- data/_sass/_page.scss +34 -10
- data/assets/css/main.scss +0 -1
- data/assets/js/main.js +15 -11
- metadata +2 -21
- data/_sass/vendor/font-awesome/_animated.scss +0 -34
- data/_sass/vendor/font-awesome/_bordered-pulled.scss +0 -25
- data/_sass/vendor/font-awesome/_core.scss +0 -12
- data/_sass/vendor/font-awesome/_fixed-width.scss +0 -6
- data/_sass/vendor/font-awesome/_icons.scss +0 -697
- data/_sass/vendor/font-awesome/_larger.scss +0 -13
- data/_sass/vendor/font-awesome/_list.scss +0 -19
- data/_sass/vendor/font-awesome/_mixins.scss +0 -26
- data/_sass/vendor/font-awesome/_path.scss +0 -15
- data/_sass/vendor/font-awesome/_rotated-flipped.scss +0 -20
- data/_sass/vendor/font-awesome/_stacked.scss +0 -20
- data/_sass/vendor/font-awesome/_variables.scss +0 -708
- data/_sass/vendor/font-awesome/font-awesome.scss +0 -17
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +0 -655
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1a5ba42303a312f30a3e9846a697ec9de9d3f8da
|
|
4
|
+
data.tar.gz: f633e98567a2dfa9092c318ace46a6e5d7d9d784
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 933ace64441589f0ba83593662f42a3e5b186fba7899ac0cbd3350584a41a6134af05d34b89ef883bffb68ff569846a694b431f6d97feac894bf26ae15bf0fb9
|
|
7
|
+
data.tar.gz: b300374c27968da6a984937a3acd0a92c56727a5aba481c6ae8774a8f2b131aaf4f20a25deba423714e28c21f4361119226c94493c7a5a5606651d6ba586e4fe
|
data/README.md
CHANGED
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
## [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
-
|
|
7
|
-
|
|
1
|
+
## [cosy-jekyll-theme](https://rubygems.org/gems/cosy-jekyll-theme)
|
|
2
|
+
- **Occam's Razor: Non sunt multiplicanda entia sine necessitate.**
|
|
3
|
+
- [cosy-jekyll-theme](https://rubygems.org/gems/cosy-jekyll-theme) is a responsive and easy to read [blog template](https://jekyllrb.com/docs/themes/
|
|
4
|
+
).
|
|
5
|
+
- [Tw93 Blog](http://tw93.github.io/) use this template.
|
|
6
|
+
- Inspired by [neo-hpstr-jekyll-theme](http://github.com/aron-bordin/neo-hpstr-jekyll-theme), But No jQuery、More concise、Better use and Faster.
|
|
7
|
+
- More suitable for China.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
> gem install cosy-jekyll-theme
|
|
9
|
+
### PC Preview
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-

|
|
11
|
+

|
|
14
12
|
|
|
15
|
-
###
|
|
13
|
+
### H5 Preview
|
|
16
14
|
|
|
17
|
-
|
|
15
|
+
<img src="http://ww1.sinaimg.cn/large/0060lm7Tgy1fc8ex6yyh3j30xp1iy0z1.jpg" width="290"/><img src="http://ww3.sinaimg.cn/large/0060lm7Tgy1fc8eyalu16j30xp1iyq7g.jpg" width="290"/><img src="http://ww3.sinaimg.cn/large/0060lm7Tgy1fc8ex5vn9dj30xp1iyafo.jpg" width="290"/>
|
|
18
16
|
|
|
19
|
-
|
|
17
|
+
### QR code
|
|
20
18
|
|
|
21
|
-
|
|
19
|
+

|
|
20
|
+
|
|
22
21
|
|
|
22
|
+
### GemFile:
|
|
23
|
+
- gem 'cosy-jekyll-theme', '~> 1.0', '>= 1.0.5'
|
|
24
|
+
|
|
25
|
+
### Install:
|
|
26
|
+
- gem install cosy-jekyll-theme
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!--[if lt IE 10]><div class="upgrade"><strong><a href="http://whatbrowser.org/">Your browser is quite old!</strong> Why not upgrade to a different browser to better enjoy this site?</a></div><![endif]-->
|
|
1
|
+
<!--[if lt IE 10]><div class="upgrade"><strong><a href="http://whatbrowser.org/" target="_blank">Your browser is quite old!</strong> Why not upgrade to a different browser to better enjoy this site?</a></div><![endif]-->
|
data/_includes/footer.html
CHANGED
|
@@ -1,23 +1,13 @@
|
|
|
1
|
-
<span>© {{ site.time | date: '%Y' }}<a href="https://
|
|
1
|
+
<span>© {{ site.time | date: '%Y' }}<a href="https://github.com/tw93/tw93.github.io" rel="nofollow" target="_blank"> Cosy Jekyll Theme By Tw93.</a></span>
|
|
2
2
|
|
|
3
3
|
<script>
|
|
4
|
-
|
|
5
|
-
var article = document.getElementById('T_content'),
|
|
6
|
-
aList = article && article.getElementsByTagName('a');
|
|
7
|
-
|
|
8
|
-
if (aList && aList.length > 0) {
|
|
9
|
-
for (var i = 0; i < aList.length; i++) {
|
|
10
|
-
aList[i].target = '_blank';
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
4
|
function hereDoc(f) {
|
|
15
5
|
return f.toString().replace(/^[^\/]+\/\*!?\s?/, '').replace(/\*\/[^\/]+$/, '');
|
|
16
6
|
}
|
|
17
7
|
var string = hereDoc(function () {/*
|
|
18
8
|
|
|
19
9
|
|
|
20
|
-
|
|
10
|
+
_ ___ _____ _ _
|
|
21
11
|
| | |_ | / ___| (_) | |
|
|
22
12
|
| | ___ __ _ _ __ _ __ | | __ ___ ____ _\ `--. ___ _ __ _ _ __ | |_
|
|
23
13
|
| | / _ \/ _` | '__| '_ \ | |/ _` \ \ / / _` |`--. \/ __| '__| | '_ \| __|
|
data/_includes/head.html
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<meta charset="utf-8">
|
|
2
|
-
<title>{% if page.title %}{{ page.title }}
|
|
3
|
-
<meta name="description" content="{% if page.
|
|
2
|
+
<title>{{ site.title }}{% if page.title %} - {{ page.title }}{% endif %}</title>
|
|
3
|
+
<meta name="description" content="{{ site.description }}{% if page.categories %}{{ page.categories }}{% endif %}{% if page.summary %}{{ page.summary }}{% endif %}">
|
|
4
4
|
{% if page.tags %}<meta name="keywords" content="{{ page.tags | join: ', ' }}">{% endif %}
|
|
5
5
|
|
|
6
6
|
<!-- Open Graph -->
|
|
@@ -13,9 +13,6 @@
|
|
|
13
13
|
{% if page.image.feature %}<meta property="og:image" content="{{ site.url }}/images/{{ page.image.feature }}">
|
|
14
14
|
{% else %}<meta property="og:image" content="{% if page.image.thumb %}{{ site.url }}/images/{{ page.image.thumb }}{% else %}{{ site.url }}/images/{{ site.logo }}{% endif %}">{% endif %}
|
|
15
15
|
|
|
16
|
-
{% if site.google_verify %}<meta name="google-site-verification" content="{{ site.google_verify }}">{% endif %}
|
|
17
|
-
{% if site.bing_verify %}<meta name="msvalidate.01" content="{{ site.bing_verify }}">{% endif %}
|
|
18
|
-
|
|
19
16
|
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
|
|
20
17
|
<link rel="canonical" href="{{ canonical }}">
|
|
21
18
|
<link href="{{ site.url }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
|
@@ -28,7 +25,7 @@
|
|
|
28
25
|
<!-- For all browsers -->
|
|
29
26
|
<link rel="stylesheet" href="{{ site.url }}/assets/css/main.css">
|
|
30
27
|
<!-- Webfonts -->
|
|
31
|
-
<link href="//fonts.
|
|
28
|
+
<link href="//fonts.proxy.ustclug.org/css?family=Lato:300,400,700,300italic,400italic" rel="stylesheet" type="text/css">
|
|
32
29
|
|
|
33
30
|
<meta http-equiv="cleartype" content="on">
|
|
34
31
|
|
data/_includes/header.html
CHANGED
|
@@ -47,17 +47,5 @@
|
|
|
47
47
|
<div class="entry-header">
|
|
48
48
|
<div class="header-title">
|
|
49
49
|
<h1>{{ page.title }}</h1>
|
|
50
|
-
{% if page.date %}
|
|
51
|
-
<h2><span class="entry-date date published updated"><time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%Y-%m-%d" }}</time></span>
|
|
52
|
-
</h2>
|
|
53
|
-
{% endif %}
|
|
54
|
-
|
|
55
|
-
{% if site.reading_time and page.layout == 'post' %}
|
|
56
|
-
<p class="entry-reading-time">
|
|
57
|
-
<i class="fa fa-clock-o"></i>
|
|
58
|
-
{% assign readtime = content | strip_html | number_of_words | divided_by:site.words_per_minute %}
|
|
59
|
-
Reading time ~{% if readtime <= 1 %}1 minute{% else %}{{ readtime }} minutes{% endif %}
|
|
60
|
-
</p>
|
|
61
|
-
{% endif %}
|
|
62
50
|
</div>
|
|
63
51
|
</div>
|
data/_includes/read-more.html
CHANGED
data/_includes/scripts.html
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
<script type="text/javascript" src="{{ site.url }}/assets/js/fitvids.min.js"></script>
|
|
2
1
|
<script type="text/javascript" src="{{ site.url }}/assets/js/main.js"></script>
|
|
3
|
-
|
|
2
|
+
{% if page.useVideo %}
|
|
3
|
+
<script type="text/javascript" src="{{ site.url }}/assets/js/fitvids.min.js"></script>
|
|
4
|
+
<script type="text/javascript">
|
|
5
|
+
fitvids();
|
|
6
|
+
</script>
|
|
7
|
+
{% endif %}
|
|
4
8
|
{% if site.google_analytics %}
|
|
5
9
|
<!-- Asynchronous Google Analytics snippet -->
|
|
6
10
|
<script type="text/javascript">
|
|
@@ -14,9 +18,6 @@
|
|
|
14
18
|
ga('send', 'pageview');
|
|
15
19
|
</script>
|
|
16
20
|
{% endif %}
|
|
17
|
-
<script type="text/javascript">
|
|
18
|
-
fitvids();
|
|
19
|
-
</script>
|
|
20
21
|
|
|
21
22
|
{% if page.comments != false %}{% include disqus_comments.html %}{% endif %}
|
|
22
23
|
|
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
|
@@ -24,6 +24,12 @@
|
|
|
24
24
|
</div>
|
|
25
25
|
{% endif %}
|
|
26
26
|
<h1 class="post-title entry-title">{{ page.title }}</h1>
|
|
27
|
+
|
|
28
|
+
<h4 class="page-info">
|
|
29
|
+
<span>Categories: {{page.categories}}</span>
|
|
30
|
+
<time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%Y-%m-%d" }}</time>
|
|
31
|
+
</h4>
|
|
32
|
+
|
|
27
33
|
{{ content }}
|
|
28
34
|
<footer class="entry-meta">
|
|
29
35
|
<span class="entry-tags">
|
|
@@ -39,7 +45,7 @@
|
|
|
39
45
|
</footer>
|
|
40
46
|
</div>
|
|
41
47
|
{% if page.comments != false and site.disqus_shortname %}
|
|
42
|
-
<section id="disqus_thread">Disqus
|
|
48
|
+
<section id="disqus_thread">Disqus评论正在推倒墙......</section>
|
|
43
49
|
{% endif %}
|
|
44
50
|
|
|
45
51
|
{% if site.related_posts.size > 0 %}
|
data/_sass/_page.scss
CHANGED
|
@@ -27,7 +27,6 @@ body {
|
|
|
27
27
|
.entry-content {
|
|
28
28
|
@include font-size(16);
|
|
29
29
|
word-wrap: break-word;
|
|
30
|
-
word-break: break-all;
|
|
31
30
|
// Dotted line underlines for links
|
|
32
31
|
p > a,
|
|
33
32
|
li > a {
|
|
@@ -106,7 +105,7 @@ body {
|
|
|
106
105
|
}
|
|
107
106
|
.vcard {
|
|
108
107
|
&:before {
|
|
109
|
-
content: "
|
|
108
|
+
content: "BYB";
|
|
110
109
|
}
|
|
111
110
|
}
|
|
112
111
|
.tag {
|
|
@@ -142,7 +141,7 @@ header .entry-meta {
|
|
|
142
141
|
#post,
|
|
143
142
|
#page {
|
|
144
143
|
.entry-content {
|
|
145
|
-
margin:
|
|
144
|
+
margin: 20px 2px 20px 2px;
|
|
146
145
|
padding: 10px 15px;
|
|
147
146
|
background-color: $white;
|
|
148
147
|
box-shadow: 0 0 0 0, 0 6px 12px rgba($black, 0.1);
|
|
@@ -162,7 +161,7 @@ header .entry-meta {
|
|
|
162
161
|
}
|
|
163
162
|
}
|
|
164
163
|
#disqus_thread {
|
|
165
|
-
margin:
|
|
164
|
+
margin: 20px 2px;
|
|
166
165
|
padding: 10px 15px;
|
|
167
166
|
background-color: $white;
|
|
168
167
|
box-shadow: 0 0 0 1px rgba($border-color, 0.1), 0 6px 12px rgba($black, 0.1);
|
|
@@ -194,7 +193,7 @@ header .entry-meta {
|
|
|
194
193
|
margin-top: 0;
|
|
195
194
|
}
|
|
196
195
|
|
|
197
|
-
.tag-list{
|
|
196
|
+
.tag-list {
|
|
198
197
|
line-height: 1.5;
|
|
199
198
|
}
|
|
200
199
|
|
|
@@ -327,7 +326,7 @@ header .entry-meta {
|
|
|
327
326
|
// --------------------------------------------------
|
|
328
327
|
#post-index {
|
|
329
328
|
#main {
|
|
330
|
-
margin:
|
|
329
|
+
margin: 20px 2px 20px 2px;
|
|
331
330
|
@media #{$medium} {
|
|
332
331
|
margin-left: 20px;
|
|
333
332
|
margin-right: 20px;
|
|
@@ -382,7 +381,7 @@ header .entry-meta {
|
|
|
382
381
|
// --------------------------------------------------
|
|
383
382
|
.footer-wrapper {
|
|
384
383
|
@include clearfix;
|
|
385
|
-
margin:
|
|
384
|
+
margin: 0 auto 20px auto;
|
|
386
385
|
text-align: center;
|
|
387
386
|
color: lighten($text-color, 20);
|
|
388
387
|
a {
|
|
@@ -437,7 +436,7 @@ header .entry-meta {
|
|
|
437
436
|
position: relative;
|
|
438
437
|
width: 100%;
|
|
439
438
|
overflow: hidden;
|
|
440
|
-
height:
|
|
439
|
+
height: 60px;
|
|
441
440
|
@media #{$medium} {
|
|
442
441
|
background-color: $header-color;
|
|
443
442
|
min-height: 260px;
|
|
@@ -490,12 +489,18 @@ header .entry-meta {
|
|
|
490
489
|
}
|
|
491
490
|
|
|
492
491
|
.header-menu {
|
|
493
|
-
position:
|
|
492
|
+
position: absolute;
|
|
494
493
|
top: 0;
|
|
495
494
|
left: 0;
|
|
496
495
|
width: 100%;
|
|
497
496
|
height: $menu-height;
|
|
498
497
|
z-index: 20;
|
|
498
|
+
@media #{$medium} {
|
|
499
|
+
position: fixed;
|
|
500
|
+
&.header-menu-top{
|
|
501
|
+
box-shadow: 0px 6px 5px rgba(0, 0, 0, 0.4);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
499
504
|
ul {
|
|
500
505
|
margin: 0 auto;
|
|
501
506
|
list-style-type: none;
|
|
@@ -509,7 +514,7 @@ header .entry-meta {
|
|
|
509
514
|
|
|
510
515
|
.header-menu-top {
|
|
511
516
|
background-color: $menu-top;
|
|
512
|
-
box-shadow:
|
|
517
|
+
box-shadow: 0 0 0 0, 0 6px 12px rgba($black, 0.1);
|
|
513
518
|
}
|
|
514
519
|
|
|
515
520
|
.header-menu-overflow {
|
|
@@ -647,3 +652,22 @@ header .entry-meta {
|
|
|
647
652
|
footer {
|
|
648
653
|
font-size: 13px;
|
|
649
654
|
}
|
|
655
|
+
|
|
656
|
+
.entry-content{
|
|
657
|
+
position: relative;
|
|
658
|
+
.page-info{
|
|
659
|
+
color: rgba(85,85,85,0.8);
|
|
660
|
+
font-size: 14px;
|
|
661
|
+
font-weight: normal;
|
|
662
|
+
margin: -15px 2px 0;
|
|
663
|
+
time{
|
|
664
|
+
margin-left: 20px;
|
|
665
|
+
}
|
|
666
|
+
@media #{$medium}{
|
|
667
|
+
font-size: 16px;
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
.header-href{
|
|
672
|
+
display: block;
|
|
673
|
+
}
|
data/assets/css/main.scss
CHANGED
data/assets/js/main.js
CHANGED
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
document.addEventListener("DOMContentLoaded", function () {
|
|
2
|
-
document.addEventListener("scroll",
|
|
3
|
-
if (/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(navigator.userAgent)) {
|
|
4
|
-
var scrollInterval = null;
|
|
5
|
-
document.addEventListener("touchmove", function () {
|
|
6
|
-
scrollInterval = window.setInterval(dealHeadShow, 100);
|
|
7
|
-
});
|
|
8
|
-
document.addEventListener("touchend", function () {
|
|
9
|
-
clearInterval(scrollInterval);
|
|
10
|
-
});
|
|
11
|
-
}
|
|
2
|
+
isPC() && document.addEventListener("scroll", _dealHeadShow);
|
|
12
3
|
}, false);
|
|
13
4
|
|
|
14
|
-
function
|
|
5
|
+
function _dealHeadShow() {
|
|
15
6
|
if (document.body.scrollTop > 300 || document.documentElement.scrollTop > 300) {
|
|
16
7
|
document.getElementById("J_header").setAttribute('class', 'header-menu header-menu-overflow');
|
|
17
8
|
} else {
|
|
18
9
|
document.getElementById("J_header").setAttribute('class', 'header-menu header-menu-top');
|
|
19
10
|
}
|
|
20
11
|
}
|
|
12
|
+
|
|
13
|
+
function isPC() {
|
|
14
|
+
var userAgentInfo = navigator.userAgent;
|
|
15
|
+
var Agents = ["Android", "iPhone", "Windows Phone", "iPad", "iPod"];
|
|
16
|
+
var flag = true;
|
|
17
|
+
for (var v = 0; v < Agents.length; v++) {
|
|
18
|
+
if (userAgentInfo.indexOf(Agents[v]) > 0) {
|
|
19
|
+
flag = false;
|
|
20
|
+
break;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return flag;
|
|
24
|
+
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cosy-jekyll-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tw93
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-01-
|
|
11
|
+
date: 2017-01-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -85,26 +85,7 @@ files:
|
|
|
85
85
|
- _sass/_site.scss
|
|
86
86
|
- _sass/_typography.scss
|
|
87
87
|
- _sass/_variables.scss
|
|
88
|
-
- _sass/vendor/font-awesome/_animated.scss
|
|
89
|
-
- _sass/vendor/font-awesome/_bordered-pulled.scss
|
|
90
|
-
- _sass/vendor/font-awesome/_core.scss
|
|
91
|
-
- _sass/vendor/font-awesome/_fixed-width.scss
|
|
92
|
-
- _sass/vendor/font-awesome/_icons.scss
|
|
93
|
-
- _sass/vendor/font-awesome/_larger.scss
|
|
94
|
-
- _sass/vendor/font-awesome/_list.scss
|
|
95
|
-
- _sass/vendor/font-awesome/_mixins.scss
|
|
96
|
-
- _sass/vendor/font-awesome/_path.scss
|
|
97
|
-
- _sass/vendor/font-awesome/_rotated-flipped.scss
|
|
98
|
-
- _sass/vendor/font-awesome/_stacked.scss
|
|
99
|
-
- _sass/vendor/font-awesome/_variables.scss
|
|
100
|
-
- _sass/vendor/font-awesome/font-awesome.scss
|
|
101
88
|
- assets/css/main.scss
|
|
102
|
-
- assets/fonts/FontAwesome.otf
|
|
103
|
-
- assets/fonts/fontawesome-webfont.eot
|
|
104
|
-
- assets/fonts/fontawesome-webfont.svg
|
|
105
|
-
- assets/fonts/fontawesome-webfont.ttf
|
|
106
|
-
- assets/fonts/fontawesome-webfont.woff
|
|
107
|
-
- assets/fonts/fontawesome-webfont.woff2
|
|
108
89
|
- assets/js/fitvids.min.js
|
|
109
90
|
- assets/js/main.js
|
|
110
91
|
homepage: https://github.com/tw93/tw93.github.io
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
// Spinning Icons
|
|
2
|
-
// --------------------------
|
|
3
|
-
|
|
4
|
-
.#{$fa-css-prefix}-spin {
|
|
5
|
-
-webkit-animation: fa-spin 2s infinite linear;
|
|
6
|
-
animation: fa-spin 2s infinite linear;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.#{$fa-css-prefix}-pulse {
|
|
10
|
-
-webkit-animation: fa-spin 1s infinite steps(8);
|
|
11
|
-
animation: fa-spin 1s infinite steps(8);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@-webkit-keyframes fa-spin {
|
|
15
|
-
0% {
|
|
16
|
-
-webkit-transform: rotate(0deg);
|
|
17
|
-
transform: rotate(0deg);
|
|
18
|
-
}
|
|
19
|
-
100% {
|
|
20
|
-
-webkit-transform: rotate(359deg);
|
|
21
|
-
transform: rotate(359deg);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@keyframes fa-spin {
|
|
26
|
-
0% {
|
|
27
|
-
-webkit-transform: rotate(0deg);
|
|
28
|
-
transform: rotate(0deg);
|
|
29
|
-
}
|
|
30
|
-
100% {
|
|
31
|
-
-webkit-transform: rotate(359deg);
|
|
32
|
-
transform: rotate(359deg);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Bordered & Pulled
|
|
2
|
-
// -------------------------
|
|
3
|
-
|
|
4
|
-
.#{$fa-css-prefix}-border {
|
|
5
|
-
padding: .2em .25em .15em;
|
|
6
|
-
border: solid .08em $fa-border-color;
|
|
7
|
-
border-radius: .1em;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.#{$fa-css-prefix}-pull-left { float: left; }
|
|
11
|
-
.#{$fa-css-prefix}-pull-right { float: right; }
|
|
12
|
-
|
|
13
|
-
.#{$fa-css-prefix} {
|
|
14
|
-
&.#{$fa-css-prefix}-pull-left { margin-right: .3em; }
|
|
15
|
-
&.#{$fa-css-prefix}-pull-right { margin-left: .3em; }
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/* Deprecated as of 4.4.0 */
|
|
19
|
-
.pull-right { float: right; }
|
|
20
|
-
.pull-left { float: left; }
|
|
21
|
-
|
|
22
|
-
.#{$fa-css-prefix} {
|
|
23
|
-
&.pull-left { margin-right: .3em; }
|
|
24
|
-
&.pull-right { margin-left: .3em; }
|
|
25
|
-
}
|