/
default.hbs
119 lines (112 loc) · 7.61 KB
/
default.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html>
<head>
{{!-- Document Settings --}}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="dns-prefetch" href="https://cdn.sevencdn.com">
{{!-- Page Meta --}}
<title>
{{#is "home"}}
{{@site.title}}
{{else}}
{{#is "tag"}}
{{#tag}}
{{name}} - Tag - {{@site.title}}
{{/tag}}
{{else}}
{{#is "page, post"}}
{{meta_title}} - {{@site.title}}
{{else}}
{{meta_title}}
{{/is}}
{{/is}}
{{/is}}
</title>
{{!-- Mobile Meta --}}
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{!-- Brand icon --}}
<link rel="shortcut icon" href="{{asset "favicon.ico"}}">
<style>
@font-face {font-family: AlimamaShuHeiTi; src:url(https://puhuiti.oss-cn-hangzhou.aliyuncs.com/AlimamaShuHeiTi/AlimamaShuHeiTi-Bold/AlimamaShuHeiTi-Bold.woff2) format('woff2');}
.btn,a,blockquote,body,code,h1,h2,h3,h4,h5,input,li,p,pre,textarea,ul{font-family:"Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Hiragino Kaku Gothic Pro", Meiryo, "Malgun Gothic",sans-serif}
.header .header-logo{margin:80px auto 20px auto;max-width:600px}
.header .header-logo h1{font-size: 36px; font-weight: 600; text-align: left;}
.header .header-logo h1 a{color:#4A4A4A; text-decoration: none; font-family:"AlimamaShuHeiTi", "Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Hiragino Kaku Gothic Pro", Meiryo, "Malgun Gothic",sans-serif;}
.header .header-logo h1 a:hover{-webkit-box-shadow: inset 0 -6px 0 rgba(255,74,110,.2);box-shadow: inset 0 -6px 0 rgba(255,74,110,.2);text-decoration:none}
.header .header-menu{margin:20px auto 20px auto;max-width:600px}
.header .header-menu .header-nav{list-style:none;font-size:15px}
.header .header-menu .header-nav li{position:relative;display:initial;padding-right:10px}
.header .header-menu .header-nav li a:focus{background-color:#fff;font-weight:400}
.header .header-menu .header-nav a{text-decoration:none;color:#555;display:initial;font-weight:400}
.header .header-menu .header-nav a:hover{-webkit-box-shadow: inset 0 -6px 0 rgba(255,74,110,.2);box-shadow: inset 0 -6px 0 rgba(255,74,110,.2);background-color:#fff}
.header .header-menu .header-nav a.active{-webkit-box-shadow: inset 0 -6px 0 rgba(36,177,209,.2);box-shadow: inset 0 -6px 0 rgba(36,177,209,.2);font-weight:400}
.main .content{margin:auto;max-width:600px}
.main .content .content-head{padding:10px 0}
.main .content .content-head h2{font-size:20px; padding-bottom: 5px; text-transform: uppercase; font-weight: 600}
.main .content .content-head h2 a{color: #4A4A4A; text-decoration: none;}
.main .content .content-head h2 a:hover{-webkit-box-shadow: inset 0 -6px 0 rgba(255,74,110,.2);box-shadow: inset 0 -6px 0 rgba(255,74,110,.2);}
.main .content .content-head p{color:#555;font-size:12px;text-transform:uppercase}
.main .content .content-head p a{color:#555;font-size:12px;text-decoration:none}
.main .content .content-head p a:hover{-webkit-box-shadow: inset 0 -3px 0 rgba(255,74,110,.2);box-shadow: inset 0 -3px 0 rgba(255,74,110,.2);}
.main .content .article{padding-top:30px}
.main .content .article img{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;margin-bottom:10px}
.main .content .article ul{margin-top:10px;margin-bottom:10px;padding-left:20px;list-style:square}
.main .content .article a,.main .content .article blockquote,.main .content .article code,.main .content .article li,.main .content .article p,.main .content .article ul{font-size:15px;color:#4A4A4A}
.main .content .article h5{font-size:15px;font-weight:600;color:#4A4A4A}
.main .content .article h4{font-size:17px;font-weight:600;color:#4A4A4A}
.main .content .article h3{font-size:19px;font-weight:600;color:#4A4A4A}
.main .content .article h2{font-size:21px;font-weight:600;color:#4A4A4A}
.main .content .article h1{font-size:23px;font-weight:600;color:#4A4A4A}
.main .content .article a{-webkit-box-shadow: inset 0 -3px 0 rgba(36,177,209,.2);box-shadow: inset 0 -3px 0 rgba(36,177,209,.2);text-decoration:none}
.main .content .article a:hover{-webkit-box-shadow: inset 0 -3px 0 rgba(255,74,110,.2);box-shadow: inset 0 -3px 0 rgba(255,74,110,.2);text-decoration:none}
.main .content .article .back-to-top{color:#4A4A4A;font-size:15px}
.main .content .article .back-to-top a{color:#4A4A4A;font-size:15px;text-decoration:none}
.main .content .article .back-to-top a:hover{-webkit-box-shadow: inset 0 -3px 0 rgba(255,74,110,.2);box-shadow: inset 0 -3px 0 rgba(255,74,110,.2);}
.main .content .content-pagi{padding:20px 0 0}
.main .content .content-pagi p{color:#555;font-size:15px;text-transform:uppercase}
.main .content .content-pagi p a{color:#555;font-size:15px;text-decoration:none}
.main .content .content-pagi p a:hover{-webkit-box-shadow: inset 0 -6px 0 rgba(255,74,110,.2);box-shadow: inset 0 -6px 0 rgba(255,74,110,.2);}
.footer{margin: 40px auto 40px auto; max-width: 600px; text-transform: uppercase}
.footer p{color:#4A4A4A;font-size:12px;font-weight:400}
.footer a{text-decoration:none;-webkit-box-shadow: inset 0 -3px 0 rgba(36,177,209,.2);box-shadow: inset 0 -3px 0 rgba(36,177,209,.2);color:#4A4A4A;}
.footer a:hover{-webkit-box-shadow: inset 0 -3px 0 rgba(255,74,110,.2);box-shadow: inset 0 -3px 0 rgba(255,74,110,.2);text-decoration:none}
@media (max-width:768px){.header .header-logo h1,.header .header-menu{text-align:center}.header .header-menu,.main .content{padding-left:10px;padding-right:10px}.footer{padding:30px 10px 30px 10px}}
table{width:100%;margin:0 0 10px 0;border:1px solid #ccc;border-collapse:collapse}table td,table th{border:1px solid #ccc;color:#666;padding:.5em 1em}table th{font-weight:400;background:#f2f2f2}
</style>
</head><body>
<div class="header">
<div class="header-logo">
<h1><a href="/" class="start">
{{#is "home"}}
{{@site.title}}
{{else}}
{{#is "tag"}}
{{#tag}}
<i class="fa fa-tag"></i> {{name}}
{{/tag}}
{{else}}
{{meta_title}}
{{/is}}
{{/is}}
</a></h1>
</div>
<div class="header-menu">
{{!-- The blog navigation links --}}
{{navigation}}
</div>
</div>
<div class="main">
{{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
{{{body}}}
</div>
<div class="footer">
<p><i class="fa fa-copyright"></i></span> {{date format="YYYY"}} <a href="{{@site.url}}">{{@site.title}}</a>. Theme <a href="https://github.com/ygbhf/1ite" target="_blank">1ite</a> with <a href="https://github.com/TryGhost/Ghost" target="_blank">Ghost</a>. </p>
</div>
{{ghost_foot}}
<link href="https://cdn.sevencdn.com/npm/font-awesome@4.6.3/css/font-awesome.min.css" rel="stylesheet">
<link href="https://cdn.sevencdn.com/combine/npm/bootstrap@3.4.0/dist/css/bootstrap.min.css,gh/highlightjs/cdn-release/build/styles/default.min.css" rel="stylesheet">
<script src="https://cdn.sevencdn.com/combine/npm/jquery@3.3.1/dist/jquery.min.js,gh/instantpage/instant.page/instantpage.min.js,gh/ygbhf/clicklove/clickfireworks.min.js,gh/highlightjs/cdn-release/build/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
</body></html>