This repository has been archived by the owner on Nov 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
header.php
59 lines (58 loc) · 4.63 KB
/
header.php
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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta http-equiv="x-dns-prefetch-control" content="on">
<meta http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
<meta name="theme-color" content="<?php echo get_RnMaterial('phone_bar_color'); ?>">
<meta name="keywords" content="<?php echo get_RnMaterial('seo_author'); ?>">
<meta name="author" content="<?php echo get_RnMaterial('seo_author'); ?>">
<meta name="description" itemprop="description" content="<?php echo get_RnMaterial('seo_description'); ?>">
<link rel="canonical" href="<?php echo bloginfo('url');?>">
<link rel="stylesheet" href="<?php echo bloginfo('template_url');?>/css/material.min.css">
<link rel="stylesheet" href="<?php echo bloginfo('template_url');?>/css/style.min.css">
<script src="<?php echo bloginfo('template_url');?>/js/material.min.js"></script>
<script>
(function(u, c) {
var d = document, t = 'script', o = d.createElement(t),
s = d.getElementsByTagName(t)[0];
o.src = u;
if (c) { o.addEventListener('load', function(e) { c(e); }); }
s.parentNode.insertBefore(o, s);
})("<?php echo bloginfo('template_url');?>/js/pangu.js", function() {
pangu.spacingPage();
});
</script> <!--[if lte IE 9]>
<link rel="stylesheet" href="/css/ie-blocker.css">
<script src="/js/ie-blocker.zhCN.js"></script>
<![endif]-->
<style>@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(<?php echo bloginfo('template_url');?>/fonts/MaterialIcons-Regular.woff2) format('woff2'),url(<?php echo bloginfo('template_url');?>/fonts/MaterialIcons-Regular.woff) format('woff'),url(<?php echo bloginfo('template_url');?>/fonts/MaterialIcons-Regular.ttf) format('truetype')}</style>
<style>body,html{font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI","Noto Sans","Noto Sans CJK SC",Roboto,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif}a{color:<?php echo get_RnMaterial('a_link_color','#78909c'); ?>}#scheme-Paradox .hot_tags-count,#scheme-Paradox .sidebar-colored .sidebar-badge,#scheme-Paradox .sidebar-colored .sidebar-header,#scheme-Paradox .sidebar_archives-count,#search-form-label:after,#search-label,.mdl-card__media{background-color:<?php echo get_RnMaterial('fpic_background_color','#455a64'); ?>!important}#scheme-Paradox .sidebar-colored .sidebar-nav>.dropdown>.dropdown-menu>li>a:focus,#scheme-Paradox .sidebar-colored .sidebar-nav>.dropdown>.dropdown-menu>li>a:hover{color:#455a64!important}#ds-reset #ds-ctx .ds-ctx-entry .ds-ctx-head a,#post_entry-right-info,.sidebar-colored .sidebar-nav li:hover>a,.sidebar-colored .sidebar-nav li:hover>a i,.sidebar-colored .sidebar-nav li>a:focus i,.sidebar-colored .sidebar-nav li>a:hover,.sidebar-colored .sidebar-nav li>a:hover i,.sidebar-colored .sidebar-nav>.open>a,.sidebar-colored .sidebar-nav>.open>a:focus,.sidebar-colored .sidebar-nav>.open>a:hover{color:#455a64!important}.toTop{background:#455a64!important}.material-layout .material-index>.material-nav,.material-layout .material-post>.material-nav,.material-nav a{color:#455a64}#scheme-Paradox .MD-burger-layer{background-color:#455a64}#scheme-Paradox #post-toc-trigger-btn{color:#455a64}.post-toc a:hover{color:#78909c;text-decoration:underline}.nav-body{padding:20px 20px 15px 20px;box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);background-color:#fff;margin-bottom:15px;width: 884px;margin:0 auto;}.nav-body a{text-decoration:none}.nav-next{float:left }.nav-prev{float:right }</style>
<style>body{background-color:<?php echo get_RnMaterial('background_color','#dedede'); ?>}#scheme-Paradox .material-layout .something-else .mdl-card__supporting-text{background-color:#fff}p img{height: auto;}</style>
<script src="<?php echo bloginfo('template_url');?>/js/jquery.min.js"></script>
<script>function Queue() {
function e(e) {
this.debug && console.log("Offered a Queued Function."),
"function" == typeof e ? this.dataStore.push(e) : console.log("You must offer a function.")
}
function t() {
return this.debug && console.log("Polled a Queued Function."),
this.dataStore.shift()
}
function o() {
var e = this.poll();
void 0 !== e && (this.debug && console.log("Run a Queued Function."), e())
}
function u() {
this.debug = !0
}
this.dataStore = [],
this.offer = e,
this.poll = t,
this.execNext = o,
this.debug = !1,
this.startDebug = u
}
var queue = new Queue</script>
<?php wp_head();?></head>