jekyll-theme-pdz 0.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 +201 -0
- data/README.md +52 -0
- data/_includes/anchor.html +38 -0
- data/_includes/footer.html +12 -0
- data/_includes/google_analytics.html +12 -0
- data/_includes/head.html +27 -0
- data/_includes/header.html +34 -0
- data/_includes/pageNav.html +18 -0
- data/_includes/post-head.html +31 -0
- data/_layouts/default.html +12 -0
- data/_layouts/page.html +101 -0
- data/_layouts/post.html +197 -0
- data/_sass/base.scss +54 -0
- data/_sass/common.scss +936 -0
- data/_sass/fontawesome_animated.scss +20 -0
- data/_sass/fontawesome_bordered-pulled.scss +20 -0
- data/_sass/fontawesome_brands.scss +17 -0
- data/_sass/fontawesome_core.scss +20 -0
- data/_sass/fontawesome_fixed-width.scss +6 -0
- data/_sass/fontawesome_icons.scss +1333 -0
- data/_sass/fontawesome_larger.scss +23 -0
- data/_sass/fontawesome_list.scss +18 -0
- data/_sass/fontawesome_mixins.scss +57 -0
- data/_sass/fontawesome_regular.scss +18 -0
- data/_sass/fontawesome_rotated-flipped.scss +23 -0
- data/_sass/fontawesome_screen-reader.scss +5 -0
- data/_sass/fontawesome_solid.scss +19 -0
- data/_sass/fontawesome_stacked.scss +31 -0
- data/_sass/fontawesome_variables.scss +1347 -0
- data/_sass/helper.scss +260 -0
- data/_sass/layouts.scss +423 -0
- data/_sass/post.scss +82 -0
- data/assets/css/fontawesome.scss +20 -0
- data/assets/css/github-markdown.css +637 -0
- data/assets/css/normalize.min.css +2 -0
- data/assets/css/normalize.min.css.map +1 -0
- data/assets/css/prism.css +125 -0
- data/assets/css/styles.scss +10 -0
- data/assets/fonts/Merriweather-Black.ttf +0 -0
- data/assets/fonts/Merriweather-Light.ttf +0 -0
- data/assets/fonts/fa-brands-400.eot +0 -0
- data/assets/fonts/fa-brands-400.svg +1260 -0
- data/assets/fonts/fa-brands-400.ttf +0 -0
- data/assets/fonts/fa-brands-400.woff +0 -0
- data/assets/fonts/fa-brands-400.woff2 +0 -0
- data/assets/fonts/fa-regular-400.eot +0 -0
- data/assets/fonts/fa-regular-400.svg +471 -0
- data/assets/fonts/fa-regular-400.ttf +0 -0
- data/assets/fonts/fa-regular-400.woff +0 -0
- data/assets/fonts/fa-regular-400.woff2 +0 -0
- data/assets/fonts/fa-solid-900.eot +0 -0
- data/assets/fonts/fa-solid-900.svg +2763 -0
- data/assets/fonts/fa-solid-900.ttf +0 -0
- data/assets/fonts/fa-solid-900.woff +0 -0
- data/assets/fonts/fa-solid-900.woff2 +0 -0
- data/assets/icons/author.svg +1 -0
- data/assets/icons/date.svg +1 -0
- data/assets/icons/logo.svg +15 -0
- data/assets/icons/logo_pink.svg +15 -0
- data/assets/img/header-preview.jpg +0 -0
- data/assets/img/header.png +0 -0
- data/assets/img/ps-logo-apple.png +0 -0
- data/assets/img/ps-logo.png +0 -0
- data/assets/js/index.js +275 -0
- data/assets/js/index.min.js +1 -0
- data/assets/js/jquery-3.3.1.min.js +2 -0
- data/assets/js/nav.js +224 -0
- data/assets/js/nav.min.js +1 -0
- data/assets/js/prism.js +22 -0
- data/assets/js/util.js +16 -0
- metadata +241 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
{% include head.html %}
|
4
|
+
<body>
|
5
|
+
<div class="visible">
|
6
|
+
{{ content }}
|
7
|
+
</div>
|
8
|
+
<script src="/assets/js/jquery-3.3.1.min.js"></script>
|
9
|
+
<script src="/assets/js/prism.js"></script>
|
10
|
+
<script src="/assets/js/index.min.js"></script>
|
11
|
+
</body>
|
12
|
+
</html>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% include header.html %}
|
6
|
+
|
7
|
+
<div
|
8
|
+
class="g-banner pages-banner {{ site.postPatterns | prepend: 'post-pattern-' }} {{ site.theme-color | prepend: 'bgcolor-' }}">
|
9
|
+
<h2>{{ page.title }}</h2>
|
10
|
+
</div>
|
11
|
+
|
12
|
+
<div class="post-content">
|
13
|
+
<article class="markdown-body">
|
14
|
+
{{ content }}
|
15
|
+
</article>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<section class="author-detail">
|
19
|
+
<section class="post-footer-item author-card">
|
20
|
+
<div class="avatar">
|
21
|
+
<img src="{{ site.avatar | absolute_url }}" alt="">
|
22
|
+
</div>
|
23
|
+
<div class="author-name" rel="author">{{ site.author }}</div>
|
24
|
+
<div class="bio">
|
25
|
+
<p>{{ site.bio }}</p>
|
26
|
+
</div>
|
27
|
+
{% if site.data.social.size > 0 %}
|
28
|
+
<ul id="social-links" class="social-links">
|
29
|
+
{% for social in site.data.social %}
|
30
|
+
<li>
|
31
|
+
<a href="{{ social[1].link }}" target="_blank">
|
32
|
+
<i class="{{ social[1].icon }}"></i>
|
33
|
+
</a>
|
34
|
+
</li>
|
35
|
+
{% endfor %}
|
36
|
+
</ul>
|
37
|
+
{% endif %}
|
38
|
+
</section>
|
39
|
+
<section class="post-footer-item read-next">
|
40
|
+
{% if page.next.url %}
|
41
|
+
<div class="read-next-item">
|
42
|
+
<a href="{{ page.next.url }}" class="read-next-link"></a>
|
43
|
+
<section>
|
44
|
+
<span>{{ page.next.title }}</span>
|
45
|
+
<p>{{ page.next.excerpt | strip_html | strip_newlines | truncate: 60}}</p>
|
46
|
+
</section>
|
47
|
+
{% if page.next.preview-cover %}
|
48
|
+
<div class="filter"></div>
|
49
|
+
<img src="{{ page.next.preview-cover }}" alt="{{ page.next.title }}">
|
50
|
+
{% elsif page.next.post-cover %}
|
51
|
+
<div class="filter"></div>
|
52
|
+
<img src="{{ page.next.post-cover }}" alt="{{ page.next.title }}">
|
53
|
+
{% endif %}
|
54
|
+
</div>
|
55
|
+
{% endif %}
|
56
|
+
|
57
|
+
{% if page.previous.url %}
|
58
|
+
<div class="read-next-item">
|
59
|
+
<a href="{{ page.previous.url }}" class="read-next-link"></a>
|
60
|
+
<section>
|
61
|
+
<span>{{ page.previous.title }}</span>
|
62
|
+
<p>{{ page.previous.excerpt | strip_html | strip_newlines | truncate: 60}}</p>
|
63
|
+
</section>
|
64
|
+
{% if page.previous.preview-cover %}
|
65
|
+
<div class="filter"></div>
|
66
|
+
<img src="{{ page.previous.preview-cover }}" alt="{{ page.previous.title }}">
|
67
|
+
{% elsif page.previous.post-cover %}
|
68
|
+
<div class="filter"></div>
|
69
|
+
<img src="{{ page.previous.post-cover }}" alt="{{ page.previous.title }}">
|
70
|
+
{% endif %}
|
71
|
+
</div>
|
72
|
+
{% endif %}
|
73
|
+
</section>
|
74
|
+
{% if site.comments.disqus %}
|
75
|
+
<section class="post-footer-item comment">
|
76
|
+
<div id="disqus_thread"></div>
|
77
|
+
</section>
|
78
|
+
{% endif %}
|
79
|
+
</section>
|
80
|
+
|
81
|
+
{% include footer.html %}
|
82
|
+
|
83
|
+
{% if site.comments.disqus %}
|
84
|
+
<script>
|
85
|
+
/**
|
86
|
+
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
|
87
|
+
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
|
88
|
+
/*
|
89
|
+
var disqus_config = function () {
|
90
|
+
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
|
91
|
+
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
92
|
+
};
|
93
|
+
*/
|
94
|
+
(function () { // DON'T EDIT BELOW THIS LINE
|
95
|
+
var d = document, s = d.createElement('script');
|
96
|
+
s.src = '{{ site.comments.disqus_url }}';
|
97
|
+
s.setAttribute('data-timestamp', +new Date());
|
98
|
+
(d.head || d.body).appendChild(s);
|
99
|
+
})();
|
100
|
+
</script>
|
101
|
+
{% endif %}
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,197 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
{% include post-head.html %}
|
4
|
+
|
5
|
+
<body>
|
6
|
+
{% include header.html %}
|
7
|
+
|
8
|
+
<header class="g-banner post-header {{ site.postPatterns | prepend: 'post-pattern-' }} {{ site.theme-color | prepend: 'bgcolor-' }} {% unless page.cover %}post-no-cover{% endunless %}"
|
9
|
+
data-theme="{{ site.theme-color }}">
|
10
|
+
<div class="post-wrapper">
|
11
|
+
<div class="post-tags">
|
12
|
+
{% if page.tags.size > 0 %}
|
13
|
+
{% for tag in page.tags %}
|
14
|
+
<a href="{{ '/tags.html#' | append: tag }}" class="post-tag">{{ tag | url_decode}}</a>
|
15
|
+
{% endfor %}
|
16
|
+
{% endif %}
|
17
|
+
</div>
|
18
|
+
<h1>{{ page.title }}</h1>
|
19
|
+
{% if page.description %}<p>{{ page.description }}</p>{% endif %}
|
20
|
+
<div class="post-meta">
|
21
|
+
{% if page.author %}
|
22
|
+
<span class="post-meta-item"><i class="far fa-user-circle"></i>
|
23
|
+
{% for author in page.author %}
|
24
|
+
<a href="{{ "contributors.html#" | append: author | replace: ' ', '-' | downcase | absolute_url }}">{{ author }}</a>
|
25
|
+
{% if forloop.last == false %}, {% endif %}
|
26
|
+
{% endfor %}
|
27
|
+
</span>
|
28
|
+
{% else %}
|
29
|
+
<span class="post-meta-item"><i class="far fa-user-circle"></i>{{ site.author }}</span>
|
30
|
+
{% endif %}
|
31
|
+
<span class="post-meta-item"><i class="far fa-clock"></i>
|
32
|
+
<time datetime="{{ page.date | date:"%y-%m-%d" }}">{{ page.date | date_to_string }}</time>
|
33
|
+
</span>
|
34
|
+
<span class="post-meta-item">
|
35
|
+
<a href="{{ site.github.repository_url }}/blob/{{ site.github.branch }}/{{ page.path }}">
|
36
|
+
<i class="fab fa-github"></i> Modifier cette page
|
37
|
+
</a>
|
38
|
+
</span>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
{% if page.post-cover %}
|
42
|
+
<div class="filter"></div>
|
43
|
+
<div class="post-cover" style="background: url('{{ page.post-cover }}') center no-repeat; background-size: cover;"></div>
|
44
|
+
{% endif %}
|
45
|
+
</header>
|
46
|
+
|
47
|
+
<div class="post-content visible">
|
48
|
+
<div class="catalog-container">
|
49
|
+
<div class="side-catalog">
|
50
|
+
<h3 class="catalog-title">
|
51
|
+
<a class="catalog-toggle" href="#">Dans cet article</a>
|
52
|
+
</h3>
|
53
|
+
<ul class="catalog-body"></ul>
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
{% if page.subtitle %}
|
57
|
+
<h2 class="post-subtitle">{{ page.subtitle }}</h2>
|
58
|
+
{% endif %}
|
59
|
+
<article class="markdown-body">
|
60
|
+
{{ page.content }}
|
61
|
+
</article>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<section class="author-detail">
|
65
|
+
<section class="post-footer-item author-card">
|
66
|
+
<div class="avatar">
|
67
|
+
<img src="{{ site.avatar | absolute_url }}" alt="">
|
68
|
+
</div>
|
69
|
+
<div class="author-name" rel="author">{{ site.author }}</div>
|
70
|
+
<div class="bio">
|
71
|
+
<p>{{ site.bio }}</p>
|
72
|
+
</div>
|
73
|
+
{% if site.data.social.size > 0 %}
|
74
|
+
<ul id="social-links" class="social-links">
|
75
|
+
{% for social in site.data.social %}
|
76
|
+
<li>
|
77
|
+
<a href="{{ social[1].link }}" target="_blank">
|
78
|
+
<i class="{{ social[1].icon }}"></i>
|
79
|
+
</a>
|
80
|
+
</li>
|
81
|
+
{% endfor %}
|
82
|
+
</ul>
|
83
|
+
{% endif %}
|
84
|
+
</section>
|
85
|
+
<section class="post-footer-item read-next">
|
86
|
+
{% if page.next.url %}
|
87
|
+
<div class="read-next-item">
|
88
|
+
<a href="{{ page.next.url }}" class="read-next-link"></a>
|
89
|
+
<section>
|
90
|
+
<span>{{ page.next.title }}</span>
|
91
|
+
<p>{{ page.next.excerpt | strip_html | strip_newlines | truncate: 60}}</p>
|
92
|
+
</section>
|
93
|
+
{% if page.next.preview-cover %}
|
94
|
+
<div class="filter"></div>
|
95
|
+
<img src="{{ page.next.preview-cover }}" alt="{{ page.next.title }}">
|
96
|
+
{% elsif page.next.post-cover %}
|
97
|
+
<div class="filter"></div>
|
98
|
+
<img src="{{ page.next.post-cover }}" alt="{{ page.next.title }}">
|
99
|
+
{% endif %}
|
100
|
+
</div>
|
101
|
+
{% endif %}
|
102
|
+
|
103
|
+
{% if page.previous.url %}
|
104
|
+
<div class="read-next-item">
|
105
|
+
<a href="{{ page.previous.url }}" class="read-next-link"></a>
|
106
|
+
<section>
|
107
|
+
<span>{{ page.previous.title }}</span>
|
108
|
+
<p>{{ page.previous.excerpt | strip_html | strip_newlines | truncate: 60}}</p>
|
109
|
+
</section>
|
110
|
+
{% if page.previous.preview-cover %}
|
111
|
+
<div class="filter"></div>
|
112
|
+
<img src="{{ page.previous.preview-cover }}" alt="{{ page.previous.title }}">
|
113
|
+
{% elsif page.previous.post-cover %}
|
114
|
+
<div class="filter"></div>
|
115
|
+
<img src="{{ page.previous.post-cover }}" alt="{{ page.previous.title }}">
|
116
|
+
{% endif %}
|
117
|
+
</div>
|
118
|
+
{% endif %}
|
119
|
+
</section>
|
120
|
+
{% if site.comments.disqus %}
|
121
|
+
<section class="post-footer-item comment">
|
122
|
+
<div id="disqus_thread"></div>
|
123
|
+
</section>
|
124
|
+
{% endif %}
|
125
|
+
</section>
|
126
|
+
|
127
|
+
{% include footer.html %}
|
128
|
+
|
129
|
+
{% if site.comments.disqus %}
|
130
|
+
<script>
|
131
|
+
/**
|
132
|
+
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
|
133
|
+
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
|
134
|
+
/*
|
135
|
+
var disqus_config = function () {
|
136
|
+
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
|
137
|
+
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
138
|
+
};
|
139
|
+
*/
|
140
|
+
(function () { // DON'T EDIT BELOW THIS LINE
|
141
|
+
var d = document, s = d.createElement('script');
|
142
|
+
s.src = '{{ site.comments.disqus_url }}';
|
143
|
+
s.setAttribute('data-timestamp', +new Date());
|
144
|
+
(d.head || d.body).appendChild(s);
|
145
|
+
})();
|
146
|
+
</script>
|
147
|
+
{% endif %}
|
148
|
+
|
149
|
+
<script src="/assets/js/prism.js"></script>
|
150
|
+
<script src="/assets/js/index.min.js"></script>
|
151
|
+
<script src="/assets/js/nav.min.js"></script>
|
152
|
+
<script>
|
153
|
+
function generateCatalog (selector) {
|
154
|
+
// init
|
155
|
+
var P = $('.markdown-body'),a,n,t,l,i,c;
|
156
|
+
a = P.find('h1,h2,h3,h4,h5,h6');
|
157
|
+
|
158
|
+
// clean
|
159
|
+
$(selector).html('')
|
160
|
+
|
161
|
+
// appending
|
162
|
+
a.each(function () {
|
163
|
+
n = $(this).prop('tagName').toLowerCase();
|
164
|
+
i = "#"+$(this).prop('id');
|
165
|
+
t = $(this).text();
|
166
|
+
c = $('<a href="'+i+'" rel="nofollow">'+t+'</a>');
|
167
|
+
l = $('<li class="'+n+'_nav"></li>').append(c);
|
168
|
+
$(selector).append(l);
|
169
|
+
});
|
170
|
+
return true;
|
171
|
+
}
|
172
|
+
|
173
|
+
generateCatalog(".catalog-body");
|
174
|
+
|
175
|
+
// toggle side catalog
|
176
|
+
$(".catalog-toggle").click((function(e){
|
177
|
+
e.preventDefault();
|
178
|
+
$('.side-catalog').toggleClass("fold")
|
179
|
+
}))
|
180
|
+
|
181
|
+
// support padding
|
182
|
+
$('.catalog-body').onePageNav({
|
183
|
+
currentClass: "active",
|
184
|
+
changeHash: !1,
|
185
|
+
easing: "swing",
|
186
|
+
filter: "",
|
187
|
+
scrollSpeed: 700,
|
188
|
+
scrollOffset: 0,
|
189
|
+
scrollThreshold: .2,
|
190
|
+
begin: null,
|
191
|
+
end: null,
|
192
|
+
scrollChange: null,
|
193
|
+
padding: 80
|
194
|
+
});
|
195
|
+
</script>
|
196
|
+
</body>
|
197
|
+
</html>
|
data/_sass/base.scss
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
// Font
|
2
|
+
@font-face {
|
3
|
+
font-family: 'Merriweather';
|
4
|
+
src: url('../fonts/Merriweather-Black.ttf');
|
5
|
+
}
|
6
|
+
@font-face {
|
7
|
+
font-family: 'Merriweather-Light';
|
8
|
+
src: url('../fonts/Merriweather-Light.ttf');
|
9
|
+
}
|
10
|
+
|
11
|
+
// Base
|
12
|
+
html,
|
13
|
+
body {
|
14
|
+
height: 100%;
|
15
|
+
}
|
16
|
+
|
17
|
+
html, body, div, span, h1, h2, h3, h4, h5, h6, p, ol, ul, li, textarea,
|
18
|
+
form, label, legend, table, caption, menu, nav, section, summary,
|
19
|
+
time, mark, audio, video, iframe, main, header, footer {
|
20
|
+
border: 0;
|
21
|
+
margin: 0;
|
22
|
+
outline: 0 none;
|
23
|
+
padding: 0;
|
24
|
+
}
|
25
|
+
|
26
|
+
body {
|
27
|
+
-webkit-font-smoothing: antialiased;
|
28
|
+
background-color: $color-bg;
|
29
|
+
color: $color-f-secondary;
|
30
|
+
font-family: $fonts;
|
31
|
+
}
|
32
|
+
|
33
|
+
ul {
|
34
|
+
list-style-type: none;
|
35
|
+
}
|
36
|
+
|
37
|
+
a {
|
38
|
+
color: $color-f-primary;
|
39
|
+
cursor: pointer;
|
40
|
+
text-decoration: none;
|
41
|
+
transition: 0.2s;
|
42
|
+
}
|
43
|
+
|
44
|
+
::selection {
|
45
|
+
background-color: rgba(0, 147, 254, 0.2);
|
46
|
+
}
|
47
|
+
|
48
|
+
::-moz-selection {
|
49
|
+
background-color: rgba(0, 147, 254, 0.2);
|
50
|
+
}
|
51
|
+
|
52
|
+
::-webkit-selection {
|
53
|
+
background-color: rgba(0, 147, 254, 0.2);
|
54
|
+
}
|
data/_sass/common.scss
ADDED
@@ -0,0 +1,936 @@
|
|
1
|
+
/*** Main style ***/
|
2
|
+
|
3
|
+
.g-container {
|
4
|
+
width: $g-container-w;
|
5
|
+
}
|
6
|
+
|
7
|
+
.g-header {
|
8
|
+
background-color: rgba(255, 255, 255, 0.98);
|
9
|
+
height: $g-header-h;
|
10
|
+
left: 0;
|
11
|
+
padding: 16px 0;
|
12
|
+
position: fixed;
|
13
|
+
top: 0;
|
14
|
+
transition: all 0.6s;
|
15
|
+
width: 100%;
|
16
|
+
z-index: 1000;
|
17
|
+
|
18
|
+
.g-logo {
|
19
|
+
background: url('../icons/logo.svg') no-repeat center;
|
20
|
+
background-size: 100% 100%;
|
21
|
+
float: left;
|
22
|
+
height: $g-header-h;
|
23
|
+
margin-left: 2%;
|
24
|
+
opacity: 0.8;
|
25
|
+
transition: all 0.2s;
|
26
|
+
width: 60px;
|
27
|
+
|
28
|
+
&:hover {
|
29
|
+
opacity: 1;
|
30
|
+
}
|
31
|
+
|
32
|
+
a {
|
33
|
+
display: block;
|
34
|
+
height: 100%;
|
35
|
+
width: 100%;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
.fa-bars {
|
40
|
+
border-radius: 3px;
|
41
|
+
color: $color-theme-default;
|
42
|
+
display: none;
|
43
|
+
font-size: 28px;
|
44
|
+
opacity: 0.8;
|
45
|
+
padding: 8px;
|
46
|
+
position: absolute;
|
47
|
+
right: 0;
|
48
|
+
top: 22px;
|
49
|
+
}
|
50
|
+
|
51
|
+
.g-nav,
|
52
|
+
.g-nav ul,
|
53
|
+
.g-nav ul li,
|
54
|
+
.g-nav ul li a {
|
55
|
+
-moz-box-sizing: border-box;
|
56
|
+
-webkit-box-sizing: border-box;
|
57
|
+
border: 0;
|
58
|
+
box-sizing: border-box;
|
59
|
+
display: block;
|
60
|
+
list-style: none;
|
61
|
+
margin: 0;
|
62
|
+
padding: 0;
|
63
|
+
position: relative;
|
64
|
+
}
|
65
|
+
|
66
|
+
.g-nav {
|
67
|
+
float: right;
|
68
|
+
margin-right: 2%;
|
69
|
+
|
70
|
+
&:after,
|
71
|
+
& > ul:after {
|
72
|
+
clear: both;
|
73
|
+
content: '.';
|
74
|
+
height: 0;
|
75
|
+
visibility: hidden;
|
76
|
+
}
|
77
|
+
|
78
|
+
& ul > li {
|
79
|
+
float: left;
|
80
|
+
|
81
|
+
& > a {
|
82
|
+
-moz-transition: color 0.2s ease;
|
83
|
+
-ms-transition: color 0.2s ease;
|
84
|
+
-o-transition: color 0.2s ease;
|
85
|
+
-webkit-transition: color 0.2s ease;
|
86
|
+
color: $color-f-dark;
|
87
|
+
font-size: 14px;
|
88
|
+
letter-spacing: 1px;
|
89
|
+
padding: 5px 20px 20px 20px;
|
90
|
+
text-decoration: none;
|
91
|
+
text-transform: uppercase;
|
92
|
+
transition: color 0.2s ease;
|
93
|
+
}
|
94
|
+
|
95
|
+
&:hover > a,
|
96
|
+
&.active > a {
|
97
|
+
color: $color-theme-default;
|
98
|
+
}
|
99
|
+
|
100
|
+
&.has-sub {
|
101
|
+
& > a {
|
102
|
+
padding-right: 25px;
|
103
|
+
|
104
|
+
&::after {
|
105
|
+
-moz-transform: rotate(45deg);
|
106
|
+
-moz-transition: border-color 0.2s ease;
|
107
|
+
-ms-transform: rotate(45deg);
|
108
|
+
-ms-transition: border-color 0.2s ease;
|
109
|
+
-o-transform: rotate(45deg);
|
110
|
+
-o-transition: border-color 0.2s ease;
|
111
|
+
-webkit-transform: rotate(45deg);
|
112
|
+
-webkit-transition: border-color 0.2s ease;
|
113
|
+
border-bottom: 1px solid $color-f-dark;
|
114
|
+
border-right: 1px solid $color-f-dark;
|
115
|
+
content: '';
|
116
|
+
height: 4px;
|
117
|
+
position: absolute;
|
118
|
+
right: 10px;
|
119
|
+
top: 10px;
|
120
|
+
transform: rotate(45deg);
|
121
|
+
transition: border-color 0.2s ease;
|
122
|
+
width: 4px;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
&:hover > a::after {
|
127
|
+
border-color: $color-theme-default;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
& ul ul {
|
133
|
+
left: -9999px;
|
134
|
+
position: absolute;
|
135
|
+
|
136
|
+
& li {
|
137
|
+
-moz-transition: height 0.2s ease;
|
138
|
+
-ms-transition: height 0.2s ease;
|
139
|
+
-o-transition: height 0.2s ease;
|
140
|
+
-webkit-transition: height 0.2s ease;
|
141
|
+
height: 0;
|
142
|
+
transition: height 0.2s ease;
|
143
|
+
|
144
|
+
|
145
|
+
a {
|
146
|
+
-moz-transition: color 0.2s ease;
|
147
|
+
-ms-transition: color 0.2s ease;
|
148
|
+
-o-transition: color 0.2s ease;
|
149
|
+
-webkit-transition: color 0.2s ease;
|
150
|
+
background: rgba(255, 255, 255, 0.98);
|
151
|
+
color: $color-f-dark;
|
152
|
+
padding: 10px 20px;
|
153
|
+
text-decoration: none;
|
154
|
+
transition: color 0.2s ease;
|
155
|
+
width: 160px;
|
156
|
+
}
|
157
|
+
|
158
|
+
&.has-sub > a::after {
|
159
|
+
-moz-transform: rotate(-45deg);
|
160
|
+
-moz-transition: border-color 0.2s ease;
|
161
|
+
-ms-transform: rotate(-45deg);
|
162
|
+
-ms-transition: border-color 0.2s ease;
|
163
|
+
-o-transform: rotate(-45deg);
|
164
|
+
-o-transition: border-color 0.2s ease;
|
165
|
+
-webkit-transform: rotate(-45deg);
|
166
|
+
-webkit-transition: border-color 0.2s ease;
|
167
|
+
border-bottom: 1px solid $color-f-dark;
|
168
|
+
border-right: 1px solid $color-f-dark;
|
169
|
+
content: '';
|
170
|
+
height: 4px;
|
171
|
+
position: absolute;
|
172
|
+
right: 10px;
|
173
|
+
top: 16px;
|
174
|
+
transform: rotate(-45deg);
|
175
|
+
transition: border-color 0.2s ease;
|
176
|
+
width: 4px;
|
177
|
+
}
|
178
|
+
|
179
|
+
&.has-sub:hover > a::after {
|
180
|
+
border-color: $color-theme-default;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
& li:hover > ul {
|
186
|
+
left: auto;
|
187
|
+
}
|
188
|
+
|
189
|
+
& ul ul ul {
|
190
|
+
margin-left: 100%;
|
191
|
+
top: 0;
|
192
|
+
}
|
193
|
+
|
194
|
+
&::after,
|
195
|
+
& > ul::after {
|
196
|
+
clear: both;
|
197
|
+
content: '.';
|
198
|
+
display: block;
|
199
|
+
height: 0;
|
200
|
+
line-height: 0;
|
201
|
+
visibility: hidden;
|
202
|
+
}
|
203
|
+
|
204
|
+
& ul li:hover > ul > li {
|
205
|
+
height: 32px;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
|
210
|
+
// header scroll
|
211
|
+
.headerUp {
|
212
|
+
top: -65px;
|
213
|
+
}
|
214
|
+
|
215
|
+
.headerDown {
|
216
|
+
top: 0;
|
217
|
+
}
|
218
|
+
|
219
|
+
.g-banner {
|
220
|
+
background-color: #2F3139;
|
221
|
+
color: #fff;
|
222
|
+
height: $g-banner-h;
|
223
|
+
padding: 0 60px;
|
224
|
+
}
|
225
|
+
|
226
|
+
.home-banner {
|
227
|
+
box-shadow: 0 4px 20px rgba(0, 38, 55, 0.16);
|
228
|
+
overflow: hidden;
|
229
|
+
position: relative;
|
230
|
+
text-align: center;
|
231
|
+
|
232
|
+
h2,
|
233
|
+
h3 {
|
234
|
+
position: relative;
|
235
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
|
236
|
+
z-index: 1;
|
237
|
+
}
|
238
|
+
|
239
|
+
h2 {
|
240
|
+
font-family: 'Arial', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
|
241
|
+
font-size: 42px;
|
242
|
+
font-weight: bold;
|
243
|
+
letter-spacing: 2px;
|
244
|
+
line-height: 52px;
|
245
|
+
padding-top: 190px;
|
246
|
+
}
|
247
|
+
|
248
|
+
h3 {
|
249
|
+
font-size: 20px;
|
250
|
+
font-weight: normal;
|
251
|
+
letter-spacing: 10px;
|
252
|
+
margin-top: 8px;
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
.home-content {
|
257
|
+
@include clearfix;
|
258
|
+
margin: 40px auto 60px;
|
259
|
+
}
|
260
|
+
|
261
|
+
.article-list {
|
262
|
+
float: left;
|
263
|
+
width: 695px;
|
264
|
+
|
265
|
+
.article-item {
|
266
|
+
@include cardstyle;
|
267
|
+
margin-bottom: 16px;
|
268
|
+
width: 100%;
|
269
|
+
|
270
|
+
&:last-child {
|
271
|
+
margin-bottom: 0;
|
272
|
+
}
|
273
|
+
|
274
|
+
.post-link {
|
275
|
+
height: 100%;
|
276
|
+
left: 0;
|
277
|
+
position: absolute;
|
278
|
+
top: 0;
|
279
|
+
width: 100%;
|
280
|
+
}
|
281
|
+
|
282
|
+
.post-cover {
|
283
|
+
margin-bottom: 14px;
|
284
|
+
max-height: 300px;
|
285
|
+
overflow: hidden;
|
286
|
+
position: relative;
|
287
|
+
width: 100%;
|
288
|
+
|
289
|
+
img {
|
290
|
+
vertical-align: middle;
|
291
|
+
width: 100%;
|
292
|
+
}
|
293
|
+
}
|
294
|
+
|
295
|
+
.post-preview {
|
296
|
+
position: relative;
|
297
|
+
|
298
|
+
.post-title {
|
299
|
+
color: $color-f-primary;
|
300
|
+
font-family: 'Merriweather', $fonts;
|
301
|
+
font-size: 24px;
|
302
|
+
line-height: 32px;
|
303
|
+
}
|
304
|
+
|
305
|
+
.post-subtitle {
|
306
|
+
color: $color-brand;
|
307
|
+
font-size: 18px;
|
308
|
+
font-weight: normal;
|
309
|
+
line-height: 26px;
|
310
|
+
margin-top: 3px;
|
311
|
+
}
|
312
|
+
|
313
|
+
.post-excerpt {
|
314
|
+
font-family: 'Merriweather-Light', $fonts;
|
315
|
+
font-size: 16px;
|
316
|
+
line-height: 26px;
|
317
|
+
margin-top: 8px;
|
318
|
+
word-break: break-all;
|
319
|
+
}
|
320
|
+
}
|
321
|
+
|
322
|
+
.post-meta {
|
323
|
+
height: 22px;
|
324
|
+
margin-top: 16px;
|
325
|
+
|
326
|
+
.post-tags {
|
327
|
+
display: inline-block;
|
328
|
+
float: left;
|
329
|
+
}
|
330
|
+
|
331
|
+
.post-date {
|
332
|
+
@include timestyle;
|
333
|
+
color: #A9B0BC;
|
334
|
+
float: right;
|
335
|
+
}
|
336
|
+
}
|
337
|
+
}
|
338
|
+
}
|
339
|
+
|
340
|
+
.author-card {
|
341
|
+
@include authorcard;
|
342
|
+
}
|
343
|
+
|
344
|
+
.article-item .post-meta .post-tag,
|
345
|
+
.tags-card .tag,
|
346
|
+
.pages-content .tag {
|
347
|
+
@include tagstyle;
|
348
|
+
}
|
349
|
+
|
350
|
+
.g-sidebar-wrapper {
|
351
|
+
float: right;
|
352
|
+
width: 240px;
|
353
|
+
}
|
354
|
+
|
355
|
+
.g-sidebar {
|
356
|
+
@include cardstyle;
|
357
|
+
|
358
|
+
section {
|
359
|
+
border-bottom: 1px solid #E7EAF1;
|
360
|
+
padding: 30px 0;
|
361
|
+
|
362
|
+
&:first-child {
|
363
|
+
padding-top: 0;
|
364
|
+
}
|
365
|
+
|
366
|
+
&:last-child {
|
367
|
+
border-bottom: none;
|
368
|
+
padding-bottom: 0;
|
369
|
+
}
|
370
|
+
|
371
|
+
.tag {
|
372
|
+
margin-bottom: 8px;
|
373
|
+
}
|
374
|
+
}
|
375
|
+
}
|
376
|
+
|
377
|
+
.search-card {
|
378
|
+
margin-top: 16px;
|
379
|
+
padding: 0;
|
380
|
+
position: relative;
|
381
|
+
|
382
|
+
input,
|
383
|
+
.search_item {
|
384
|
+
color: $color-f-primary;
|
385
|
+
font-size: 16px;
|
386
|
+
}
|
387
|
+
|
388
|
+
input {
|
389
|
+
@include cardstyle;
|
390
|
+
background-color: #fff;
|
391
|
+
margin: 0;
|
392
|
+
outline: none;
|
393
|
+
padding: 12px 46px 12px 18px;
|
394
|
+
position: relative;
|
395
|
+
width: 100%;
|
396
|
+
z-index: 1;
|
397
|
+
}
|
398
|
+
|
399
|
+
::-webkit-input-placeholder {
|
400
|
+
color: #9EA8B3;
|
401
|
+
}
|
402
|
+
|
403
|
+
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
|
404
|
+
color: #9EA8B3;
|
405
|
+
}
|
406
|
+
|
407
|
+
::-moz-placeholder { /* Mozilla Firefox 19+ */
|
408
|
+
color: #9EA8B3;
|
409
|
+
}
|
410
|
+
|
411
|
+
.icon-search {
|
412
|
+
color: #CAD3DC;
|
413
|
+
font-size: 26px;
|
414
|
+
position: absolute;
|
415
|
+
right: 18px;
|
416
|
+
top: 10px;
|
417
|
+
transition: 0.2s;
|
418
|
+
z-index: 1;
|
419
|
+
}
|
420
|
+
|
421
|
+
.search_result {
|
422
|
+
background-color: #fff;
|
423
|
+
border-radius: 0 0 4px 4px;
|
424
|
+
margin-top: -2px;
|
425
|
+
position: relative;
|
426
|
+
z-index: 0;
|
427
|
+
}
|
428
|
+
|
429
|
+
.search_item {
|
430
|
+
border-left: 1px solid #E7EAF1;
|
431
|
+
border-right: 1px solid #E7EAF1;
|
432
|
+
box-sizing: border-box;
|
433
|
+
display: block;
|
434
|
+
margin-bottom: 0;
|
435
|
+
opacity: 0.8;
|
436
|
+
overflow: hidden;
|
437
|
+
padding: 6px 18px;
|
438
|
+
text-overflow:ellipsis;
|
439
|
+
transition: 0.2s;
|
440
|
+
white-space: nowrap;
|
441
|
+
width: 100%;
|
442
|
+
|
443
|
+
&:first-child {
|
444
|
+
padding-top: 14px;
|
445
|
+
}
|
446
|
+
|
447
|
+
&:last-child {
|
448
|
+
border-bottom: 1px solid #E7EAF1;
|
449
|
+
border-radius: 0 0 4px 4px;
|
450
|
+
padding-bottom: 14px;
|
451
|
+
}
|
452
|
+
|
453
|
+
&:hover {
|
454
|
+
background-color: #FAFAFA;
|
455
|
+
opacity: 1;
|
456
|
+
}
|
457
|
+
}
|
458
|
+
}
|
459
|
+
|
460
|
+
.pagination {
|
461
|
+
float: left;
|
462
|
+
left: 50%;
|
463
|
+
margin: 8px auto 0;
|
464
|
+
position: relative;
|
465
|
+
|
466
|
+
.page-links {
|
467
|
+
background-color: #fff;
|
468
|
+
border: 1px solid #E7EAF1;
|
469
|
+
border-radius: 3px;
|
470
|
+
box-shadow: 0 1px 3px rgba(0, 37, 55, 0.06);
|
471
|
+
left: -50%;
|
472
|
+
overflow: auto;
|
473
|
+
padding: 0 8px;
|
474
|
+
position: relative;
|
475
|
+
}
|
476
|
+
|
477
|
+
.page-link {
|
478
|
+
border-radius: 2px;
|
479
|
+
color: #A9B0BC;
|
480
|
+
cursor: pointer;
|
481
|
+
display: block;
|
482
|
+
float: left;
|
483
|
+
font-size: 16px;
|
484
|
+
height: 34px;
|
485
|
+
line-height: 34px;
|
486
|
+
margin: 6px;
|
487
|
+
text-align: center;
|
488
|
+
width: 34px;
|
489
|
+
|
490
|
+
&:hover {
|
491
|
+
background-color: #EEF0F4;
|
492
|
+
color: #8F98AA;
|
493
|
+
}
|
494
|
+
}
|
495
|
+
|
496
|
+
.active {
|
497
|
+
background-color: #EEF0F4;
|
498
|
+
color: #8F98AA;
|
499
|
+
}
|
500
|
+
|
501
|
+
#page-link-container {
|
502
|
+
display: inline-block;
|
503
|
+
float: left;
|
504
|
+
}
|
505
|
+
}
|
506
|
+
|
507
|
+
.g-footer {
|
508
|
+
border-top: 1px solid #E7EAF1;
|
509
|
+
min-height: $g-footer-h;
|
510
|
+
padding: 20px 0;
|
511
|
+
text-align: center;
|
512
|
+
|
513
|
+
section {
|
514
|
+
color: #A6ABB2;
|
515
|
+
font-size: 14px;
|
516
|
+
line-height: 20px;
|
517
|
+
|
518
|
+
a {
|
519
|
+
color: #A6ABB2;
|
520
|
+
|
521
|
+
&:hover {
|
522
|
+
color: #83888F;
|
523
|
+
}
|
524
|
+
}
|
525
|
+
}
|
526
|
+
}
|
527
|
+
|
528
|
+
.post-header,
|
529
|
+
.markdown-body,
|
530
|
+
.post-wrapper,
|
531
|
+
.author-detail {
|
532
|
+
margin: 0 auto;
|
533
|
+
}
|
534
|
+
|
535
|
+
.post-wrapper {
|
536
|
+
width: $post-content-w;
|
537
|
+
}
|
538
|
+
|
539
|
+
.post-header {
|
540
|
+
background-color: #4285f4;
|
541
|
+
color: #fff;
|
542
|
+
margin: 0;
|
543
|
+
overflow: hidden;
|
544
|
+
padding: 0;
|
545
|
+
position: relative;
|
546
|
+
z-index: 0;
|
547
|
+
|
548
|
+
h1 {
|
549
|
+
font-size: 32px;
|
550
|
+
line-height: 42px;
|
551
|
+
margin-bottom: 12px;
|
552
|
+
}
|
553
|
+
|
554
|
+
.post-tags {
|
555
|
+
margin: 150px 0 16px;
|
556
|
+
|
557
|
+
.post-tag {
|
558
|
+
@include tagstyle;
|
559
|
+
background-color: rgba(255, 255, 255, 0.26);
|
560
|
+
box-shadow: none;
|
561
|
+
color: #fff;
|
562
|
+
margin-bottom: 8px;
|
563
|
+
|
564
|
+
&:hover {
|
565
|
+
background-color: rgba(255, 255, 255, 0.4);
|
566
|
+
color: #fff;
|
567
|
+
}
|
568
|
+
}
|
569
|
+
}
|
570
|
+
|
571
|
+
.post-meta {
|
572
|
+
margin-top: 32px;
|
573
|
+
|
574
|
+
.post-meta-item {
|
575
|
+
color: #fff;
|
576
|
+
display: inline-block;
|
577
|
+
font-size: 16px;
|
578
|
+
margin-right: 4px;
|
579
|
+
opacity: 0.8;
|
580
|
+
|
581
|
+
&:last-child {
|
582
|
+
margin-right: 0;
|
583
|
+
}
|
584
|
+
|
585
|
+
.iconfont {
|
586
|
+
font-size: 18px;
|
587
|
+
margin-right: 4px;
|
588
|
+
}
|
589
|
+
|
590
|
+
a {
|
591
|
+
color: #fff;
|
592
|
+
}
|
593
|
+
}
|
594
|
+
}
|
595
|
+
|
596
|
+
.filter {
|
597
|
+
background-color: #000;
|
598
|
+
content: '';
|
599
|
+
height: 100%;
|
600
|
+
left: 0;
|
601
|
+
opacity: 0.3;
|
602
|
+
position: absolute;
|
603
|
+
top: 0;
|
604
|
+
width: 100%;
|
605
|
+
z-index: -1;
|
606
|
+
}
|
607
|
+
|
608
|
+
.post-cover {
|
609
|
+
height: 100%;
|
610
|
+
left: 0;
|
611
|
+
position: absolute;
|
612
|
+
top: 0;
|
613
|
+
width: 100%;
|
614
|
+
z-index: -2;
|
615
|
+
}
|
616
|
+
}
|
617
|
+
|
618
|
+
.bgcolor-default {
|
619
|
+
background-color: $color-theme-default;
|
620
|
+
}
|
621
|
+
|
622
|
+
.bgcolor-pink {
|
623
|
+
background-color: $color-theme-pink;
|
624
|
+
}
|
625
|
+
|
626
|
+
.post-no-cover {
|
627
|
+
height: 360px;
|
628
|
+
|
629
|
+
.post-tags {
|
630
|
+
margin-top: 100px;
|
631
|
+
}
|
632
|
+
}
|
633
|
+
|
634
|
+
.post-pattern-circuitBoard {
|
635
|
+
@include postheaderpattern('circuitBoard');
|
636
|
+
}
|
637
|
+
|
638
|
+
.post-pattern-overlappingCircles {
|
639
|
+
@include postheaderpattern('overlappingCircles');
|
640
|
+
}
|
641
|
+
|
642
|
+
.post-pattern-food {
|
643
|
+
@include postheaderpattern('food');
|
644
|
+
}
|
645
|
+
|
646
|
+
.post-pattern-glamorous {
|
647
|
+
@include postheaderpattern('glamorous');
|
648
|
+
}
|
649
|
+
|
650
|
+
.post-pattern-ticTacToe {
|
651
|
+
@include postheaderpattern('ticTacToe');
|
652
|
+
}
|
653
|
+
|
654
|
+
.post-pattern-seaOfClouds {
|
655
|
+
@include postheaderpattern('seaOfClouds');
|
656
|
+
}
|
657
|
+
|
658
|
+
.post-content {
|
659
|
+
background-color: #fff;
|
660
|
+
overflow: hidden;
|
661
|
+
padding: 40px 0 80px;
|
662
|
+
position: relative;
|
663
|
+
width: 100%;
|
664
|
+
|
665
|
+
.post-subtitle {
|
666
|
+
box-sizing: border-box;
|
667
|
+
color: #a6a6a6;
|
668
|
+
font-size: 18px;
|
669
|
+
font-weight: normal;
|
670
|
+
line-height: 28px;
|
671
|
+
margin: 0 auto 40px;
|
672
|
+
padding: 35px 0;
|
673
|
+
position: relative;
|
674
|
+
text-align: center;
|
675
|
+
width: $post-content-w;
|
676
|
+
|
677
|
+
&::before,
|
678
|
+
&::after {
|
679
|
+
background-color: #EAECEE;
|
680
|
+
content: '';
|
681
|
+
height: 2px;
|
682
|
+
left: 50%;
|
683
|
+
margin-left: -13%;
|
684
|
+
position: absolute;
|
685
|
+
width: 26%;
|
686
|
+
}
|
687
|
+
|
688
|
+
&::before {
|
689
|
+
top: 0;
|
690
|
+
}
|
691
|
+
|
692
|
+
&::after {
|
693
|
+
bottom: 0;
|
694
|
+
}
|
695
|
+
}
|
696
|
+
}
|
697
|
+
|
698
|
+
// Post style
|
699
|
+
.markdown-body {
|
700
|
+
box-sizing: border-box;
|
701
|
+
font-family: 'Merriweather-Light', $fonts;
|
702
|
+
padding: 0 0 32px;
|
703
|
+
width: $post-content-w;
|
704
|
+
|
705
|
+
.highlight {
|
706
|
+
margin: 0 0 16px;
|
707
|
+
}
|
708
|
+
|
709
|
+
img {
|
710
|
+
transition: 0.3s;
|
711
|
+
}
|
712
|
+
|
713
|
+
ul,
|
714
|
+
ol {
|
715
|
+
li {
|
716
|
+
p {
|
717
|
+
margin: 0;
|
718
|
+
|
719
|
+
&:first-child {
|
720
|
+
margin-bottom: 0;
|
721
|
+
}
|
722
|
+
}
|
723
|
+
}
|
724
|
+
}
|
725
|
+
}
|
726
|
+
|
727
|
+
.post-footer-item {
|
728
|
+
margin: 0 auto;
|
729
|
+
width: $post-content-w;
|
730
|
+
}
|
731
|
+
|
732
|
+
.author-detail {
|
733
|
+
position: relative;
|
734
|
+
top: -35px;
|
735
|
+
|
736
|
+
.comment {
|
737
|
+
margin-bottom: 60px;
|
738
|
+
}
|
739
|
+
}
|
740
|
+
|
741
|
+
.read-next {
|
742
|
+
display: flex;
|
743
|
+
margin: 60px auto;
|
744
|
+
width: $post-content-w;
|
745
|
+
}
|
746
|
+
|
747
|
+
.read-next-item {
|
748
|
+
background-color: #AAB4CA;
|
749
|
+
border-radius: 3px;
|
750
|
+
box-shadow: 0 2px 10px rgba(109, 127, 144, 0.5);
|
751
|
+
flex: 1;
|
752
|
+
height: 260px;
|
753
|
+
overflow: hidden;
|
754
|
+
padding: 0;
|
755
|
+
position: relative;
|
756
|
+
top: 0;
|
757
|
+
transition: box-shadow 0.4s ease, top 0.3s ease;
|
758
|
+
|
759
|
+
&:first-child {
|
760
|
+
margin-right: 10px;
|
761
|
+
}
|
762
|
+
|
763
|
+
&:hover {
|
764
|
+
box-shadow: 0 8px 20px rgba(52, 61, 70, 0.3);
|
765
|
+
top: -5px;
|
766
|
+
}
|
767
|
+
|
768
|
+
.read-next-link {
|
769
|
+
height: 100%;
|
770
|
+
left: 0;
|
771
|
+
position: absolute;
|
772
|
+
top: 0;
|
773
|
+
width: 100%;
|
774
|
+
z-index: 3;
|
775
|
+
}
|
776
|
+
|
777
|
+
section {
|
778
|
+
color: #fff;
|
779
|
+
display: none;
|
780
|
+
margin-left: 10%;
|
781
|
+
margin-top: 45px;
|
782
|
+
position: relative;
|
783
|
+
width: 80%;
|
784
|
+
z-index: 2;
|
785
|
+
|
786
|
+
span {
|
787
|
+
font-size: 22px;
|
788
|
+
font-weight: bold;
|
789
|
+
margin: 0;
|
790
|
+
}
|
791
|
+
|
792
|
+
p {
|
793
|
+
font-size: 15px;
|
794
|
+
line-height: 22px;
|
795
|
+
margin-top: 8px;
|
796
|
+
opacity: 0.8;
|
797
|
+
}
|
798
|
+
}
|
799
|
+
|
800
|
+
.filter {
|
801
|
+
background-color: rgba(0, 0, 0, 0.22);
|
802
|
+
height: 100%;
|
803
|
+
left: 0;
|
804
|
+
position: absolute;
|
805
|
+
top: 0;
|
806
|
+
transition: 0.3s linear;
|
807
|
+
width: 100%;
|
808
|
+
z-index: 1;
|
809
|
+
}
|
810
|
+
|
811
|
+
img {
|
812
|
+
-webkit-filter: blur(6px);
|
813
|
+
display: none;
|
814
|
+
left: 0;
|
815
|
+
position: absolute;
|
816
|
+
top: 0;
|
817
|
+
width: 100%;
|
818
|
+
z-index: 0;
|
819
|
+
}
|
820
|
+
}
|
821
|
+
|
822
|
+
.pages-banner {
|
823
|
+
height: 300px;
|
824
|
+
text-align: center;
|
825
|
+
|
826
|
+
h2 {
|
827
|
+
font-size: 36px;
|
828
|
+
line-height: 300px;
|
829
|
+
}
|
830
|
+
}
|
831
|
+
|
832
|
+
.pages-content {
|
833
|
+
margin: -100px auto 0;
|
834
|
+
width: 695px;
|
835
|
+
}
|
836
|
+
|
837
|
+
.pages-list {
|
838
|
+
padding: 40px 0;
|
839
|
+
|
840
|
+
li {
|
841
|
+
@include cardstyle;
|
842
|
+
margin-bottom: 12px;
|
843
|
+
|
844
|
+
&:first-child {
|
845
|
+
cursor: default;
|
846
|
+
margin-bottom: 24px;
|
847
|
+
}
|
848
|
+
|
849
|
+
.tag {
|
850
|
+
box-shadow: 0 0 .3px #BFC2C6;
|
851
|
+
margin-bottom: 12px;
|
852
|
+
}
|
853
|
+
|
854
|
+
.tag-name {
|
855
|
+
color: #333;
|
856
|
+
display: block;
|
857
|
+
font-size: 20px;
|
858
|
+
margin-bottom: 20px;
|
859
|
+
text-align: center;
|
860
|
+
}
|
861
|
+
|
862
|
+
.tag-post {
|
863
|
+
color: #666;
|
864
|
+
display: block;
|
865
|
+
font-size: 16px;
|
866
|
+
margin: 16px auto;
|
867
|
+
text-align: center;
|
868
|
+
|
869
|
+
&:hover {
|
870
|
+
color: #000;
|
871
|
+
}
|
872
|
+
}
|
873
|
+
}
|
874
|
+
}
|
875
|
+
|
876
|
+
// 404 page
|
877
|
+
.np-banner {
|
878
|
+
height: 100%;
|
879
|
+
left: 0;
|
880
|
+
padding: 0 !important;
|
881
|
+
position: fixed;
|
882
|
+
text-align: center;
|
883
|
+
top: 0;
|
884
|
+
width: 100%;
|
885
|
+
|
886
|
+
h1 {
|
887
|
+
font-size: 86px;
|
888
|
+
font-weight: normal;
|
889
|
+
letter-spacing: 4px;
|
890
|
+
padding: 160px 0 20px;
|
891
|
+
}
|
892
|
+
|
893
|
+
.subheading {
|
894
|
+
font-size: 18px;
|
895
|
+
}
|
896
|
+
|
897
|
+
.btn {
|
898
|
+
border: 1px solid #fff;
|
899
|
+
border-radius: 3px;
|
900
|
+
color: #fff;
|
901
|
+
display: block;
|
902
|
+
font-size: 16px;
|
903
|
+
height: 38px;
|
904
|
+
line-height: 38px;
|
905
|
+
margin: 80px auto 0;
|
906
|
+
opacity: 0.8;
|
907
|
+
width: 160px;
|
908
|
+
}
|
909
|
+
}
|
910
|
+
|
911
|
+
.slack-card {
|
912
|
+
margin-top: 16px;
|
913
|
+
padding: 0;
|
914
|
+
position: relative;
|
915
|
+
|
916
|
+
.btn {
|
917
|
+
@include cardstyle;
|
918
|
+
border-radius: 5px;
|
919
|
+
color: $color-f-primary;
|
920
|
+
display: block;
|
921
|
+
font-size: 15px;
|
922
|
+
outline: none;
|
923
|
+
padding: 12px 46px 12px 18px;
|
924
|
+
position: relative;
|
925
|
+
width: 100%;
|
926
|
+
|
927
|
+
&:hover {
|
928
|
+
background-color: #2391d0;
|
929
|
+
border-radius: 5px;
|
930
|
+
}
|
931
|
+
|
932
|
+
& i {
|
933
|
+
margin-right: 10px
|
934
|
+
}
|
935
|
+
}
|
936
|
+
}
|