Skip to content

Commit ef188fc

Browse files
committed
v1.0
1 parent 1f08432 commit ef188fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+16554
-0
lines changed

spzac/archive.php

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
<?php
2+
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
3+
$this->need('header.php');
4+
?>
5+
6+
<!-- main content -->
7+
<main class="main main--breadcrumb">
8+
<!-- breadcrumb -->
9+
<?php $this->need('assets/post - link.php'); ?>
10+
<!-- end breadcrumb -->
11+
12+
<div class="container">
13+
<div class="row">
14+
<!-- header -->
15+
<?php $this->need('user - sider.php'); ?>
16+
<!-- end header -->
17+
18+
<div class="col-12 col-md-7 col-lg-8 col-xl-6 pagecontent">
19+
<!-- post -->
20+
<?php while($this->next()): ?>
21+
<div class="post pagepost">
22+
<div class="post__head egg <?php if($this->fields->feiy){echo 'elv1';} ?>">
23+
<a href="<?php $this->permalink(); ?>" class="post__head-img">
24+
<?php $email=$this->author->mail; $imgUrl = getGravatar($email);echo '<img src="'.$imgUrl.'" srcset="'.$imgUrl.'" class="avatar avatar-140 photo" height="46" width="46">'; ?>
25+
</a>
26+
<div class="post__head-title">
27+
<h5><a href="#"><?php $this->author->screenName(); ?></a></h5>
28+
<p><?php $this->date('F j, Y'); ?><?php $this->category('', false, 'none'); ?></p>
29+
</div>
30+
</div>
31+
32+
<h2 class="post__title"><a href="<?php $this->permalink(); ?>"><?php listdeng($this);?><?php if(timeZone($this->date->timeStamp)) echo '<span class="badge arc_v2">最新</span>'; ?><?php $this->sticky(); $this->title() ?></a></h2>
33+
34+
<div class="post__description">
35+
<div class="post__img"><?php if ($this->fields->img):?><a href="<?php $this->permalink(); ?>"><img class="post__img" src="<?php $this->fields->img(); ?>" alt="" ></a><?php endif; ?>
36+
<p><?php $this->excerpt(80, '...');?></p>
37+
<a href="<?php $this->permalink(); ?>">view more</a>
38+
</div>
39+
</div>
40+
41+
<div class="post__tags">
42+
<?php $this->tags('', true, ''); ?>
43+
</div>
44+
45+
<div class="post__stats">
46+
<div>
47+
<i class="icon ion-ios-text"></i> <span><?php $this->commentsNum('0 评论', '1 条评论', '%d 条评论'); ?></span>
48+
</div>
49+
50+
<div class="post__views">
51+
<i class="icon ion-ios-eye"></i> <span><?php Postviews($this); ?></span>
52+
</div>
53+
</div>
54+
<div class="deanshadowmd"></div>
55+
</div>
56+
<?php endwhile; ?>
57+
<!-- end post -->
58+
<!-- view more -->
59+
<?php $this->pageNav('<', '>', 3, '...', array('wrapTag' => 'div', 'wrapClass' => 'page-navigator', 'itemTag' => 'li', 'textTag' => 'span', 'currentClass' => 'current', 'prevClass' => 'prev', 'nextClass' => 'nexts',)); ?>
60+
<!-- end view more -->
61+
</div>
62+
63+
<?php $this->need('info - sider.php'); ?>
64+
</div>
65+
</div>
66+
</main>
67+
<!-- end main content -->
68+
69+
<!-- footer -->
70+
<?php $this->need('footer.php'); ?>
71+
<!-- end footer -->
72+

spzac/assets/css/setting.fb.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.setfb {
2+
border-radius: 4px;
3+
background: #cbe4ef61 !important;
4+
padding: 10px 12px;
5+
box-shadow: 0 1px 5px #ddd;
6+
-moz-box-shadow: 0 1px 5px #ddd;
7+
-webkit-box-shadow: 0 1px 5px #ddd;
8+
border-color: #ddd;
9+
}

spzac/assets/css/setting.spzac.css

Lines changed: 311 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,311 @@
1+
@charset 'utf-8';
2+
3+
:root {
4+
--theme-color: #4D90FE
5+
}
6+
7+
body {
8+
width: 100%;
9+
background: #fcfcfc;
10+
font-family: 'Noto Sans SC', sans-serif
11+
}
12+
13+
hr {
14+
border: none;
15+
border-bottom: 1px solid #448EF6;
16+
margin: 30px 0
17+
}
18+
body, p, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd {
19+
margin: 0;
20+
padding: 0;
21+
}
22+
.miracles-pannel {
23+
background: #0185ba;
24+
padding: 28px 30px;
25+
margin: 40px 0;
26+
margin-top: 10px;
27+
color: #fff;
28+
box-shadow: 0 2px 8px #ddd;
29+
-moz-box-shadow: 0 2px 8px #ddd;
30+
-webkit-box-shadow: 0 2px 8px #ddd;
31+
}
32+
.miracles-pannel h1{
33+
margin-bottom: 10px;
34+
}
35+
.miracles-pannel hr{
36+
border: none;
37+
border-bottom: 1px solid #fff;
38+
margin: 10px 0;
39+
}
40+
.miracles-pannel p {
41+
margin: 5px 0;
42+
font-size: 14px;
43+
letter-spacing: 1px;
44+
}
45+
.miracles-pannel .protected{
46+
margin: 10px 0 10px 0;
47+
}
48+
49+
.miracles-pannel a {
50+
color: #fafafa;
51+
position: relative
52+
}
53+
54+
.miracles-pannel a:hover {
55+
text-decoration: none
56+
}
57+
58+
.miracles-pannel a::before {
59+
content: '';
60+
position: absolute;
61+
bottom: 0;
62+
left: 0;
63+
right: 0;
64+
height: 2px;
65+
background-color: #fafafa;
66+
transform-origin: bottom right;
67+
transform: scaleX(0);
68+
transition: transform .5s ease
69+
}
70+
71+
.miracles-pannel a:hover::before {
72+
transform-origin: bottom left;
73+
transform: scaleX(1)
74+
}
75+
76+
.miracles-backup-alert {
77+
transition: all .2s;
78+
position: fixed;
79+
top: 0;
80+
left: 0;
81+
right: 0;
82+
padding: 15px 0;
83+
background: #4d90fe;
84+
text-align: center
85+
}
86+
87+
.miracles-backup-alert,
88+
.miracles-backup-alert a {
89+
color: #fff
90+
}
91+
92+
.miracles-pannel li{
93+
list-style-type: none;
94+
border-bottom: 1px dashed #eee;
95+
font-size: 13px;
96+
line-height: 30px;
97+
}
98+
99+
.miracles-backup-button {
100+
margin: 15px 0;
101+
margin-bottom: 0;
102+
padding: 6px 10px;
103+
border-radius: 2px;
104+
color: #fff;
105+
background: #020202;
106+
box-shadow: 0 1px 1px #000;
107+
-moz-box-shadow: 0 1px 1px #000;
108+
-webkit-box-shadow: 0 1px 1px #000;
109+
border: none;
110+
}
111+
112+
[action="?MiraclesBackup"] {
113+
margin-top: -10px
114+
}
115+
116+
.miracles-para-attention {
117+
padding: 10px 12px;
118+
background: red;
119+
color: #fff;
120+
border-radius: 3px
121+
}
122+
123+
iframe.miracles-news {
124+
width: 100%;
125+
border: none;
126+
height: 60px;
127+
margin: 0 -8px;
128+
margin-top: -5px
129+
}
130+
131+
::-webkit-scrollbar {
132+
width: 6px;
133+
height: 5px
134+
}
135+
136+
::-webkit-scrollbar-button {
137+
display: none
138+
}
139+
140+
::-webkit-scrollbar-thumb {
141+
background: gray
142+
}
143+
144+
145+
146+
.typecho-page-title {
147+
visibility: hidden;
148+
margin-top: 90px
149+
}
150+
151+
.typecho-option .btn,
152+
.typecho-option li input,
153+
.typecho-option li select,
154+
.typecho-option li textarea {
155+
border-radius: 4px;
156+
background: #cbe4ef61;
157+
padding: 10px 12px;
158+
box-shadow: 0 1px 5px #ddd;
159+
-moz-box-shadow: 0 1px 5px #ddd;
160+
-webkit-box-shadow: 0 1px 5px #ddd;
161+
border-color: #ddd;
162+
}
163+
164+
.typecho-option li select {
165+
padding: 0 4px;
166+
min-width: 100px
167+
}
168+
169+
.typecho-option li textarea {
170+
171+
min-height: 160px !important
172+
}
173+
174+
.typecho-option li .typecho-label {
175+
font-size: 15px;
176+
letter-spacing: 1px;
177+
margin: 15px 0;
178+
margin-top: 40px;
179+
}
180+
181+
.typecho-option .btn {
182+
display: block;
183+
width: 100%;
184+
margin: 25px 0;
185+
height: 50px;
186+
text-align: center;
187+
background: var(--theme-color);
188+
font-size: 18px;
189+
}
190+
191+
@media (min-width:768px) {
192+
.typecho-option-tabs {
193+
margin-left: 122px
194+
}
195+
}
196+
197+
@media (min-width:992px) {
198+
.typecho-option-tabs {
199+
margin-left: 160px
200+
}
201+
}
202+
203+
@media (min-width:1200px) {
204+
.typecho-option-tabs {
205+
margin-left: 194px
206+
}
207+
}
208+
209+
.typecho-option li .typecho-label h2 {
210+
color: #4b92b1;
211+
}
212+
.panel-set {
213+
background-color: #0185ba;
214+
padding: 20px;
215+
216+
}
217+
.panel-title {
218+
margin: 0;
219+
padding: 0;
220+
font-size: 24px;
221+
font-weight: 500;
222+
color: #fff;
223+
line-height: 28px;
224+
}
225+
226+
.fixed-sidebar {
227+
top: 97px;
228+
}
229+
.fixed-sidebar {
230+
position: fixed;
231+
left: 50%;
232+
top: 170px;
233+
z-index: 19;
234+
transform: translate(-100%, 0);
235+
}
236+
.fixed-sidebar .menu {
237+
position: relative;
238+
background: #ffffff;
239+
border: 1px solid #D9D9D6;
240+
font-size: 13px;
241+
242+
}
243+
.fixed-sidebar .menu .link-0 {
244+
display: block;
245+
padding: 10px 15px 12px;
246+
color: #333;
247+
font-weight: bold;
248+
font-size: 14px;
249+
250+
}
251+
.fixed-sidebar .menu a {
252+
white-space: nowrap;
253+
}
254+
255+
.fixed-sidebar .menu a {
256+
white-space: nowrap;
257+
text-decoration:none
258+
}
259+
.fixed-sidebar .menu li{
260+
list-style: none;
261+
}
262+
263+
.fixed-sidebar .menu .item-0:hover .link-0 {
264+
background: rgb(84, 181, 219);
265+
color: #fff;
266+
}
267+
.fixed-sidebar *, .fixed-sidebar:after, .fixed-sidebar:before {
268+
transition: none;
269+
}
270+
.fixed-sidebar .menu .link-0 i {
271+
font-size: 16px;
272+
margin-right: 10px;
273+
}
274+
.fixed-sidebar .menu .ss{ background: rgb(84, 181, 219); color: #fff;}
275+
@media (max-width: 991px) {
276+
.fixed-sidebar {
277+
display:none;
278+
}
279+
}
280+
281+
#scroll-to-top {
282+
border-radius: 3px;
283+
position: fixed;
284+
bottom: 50px;
285+
right: 2%;
286+
width: 35px;
287+
height: 35px;
288+
text-align: center;
289+
line-height: 45px;
290+
color: rgba(0, 0, 0, .4);
291+
display: block;
292+
z-index: 49;
293+
color: #fff;
294+
background-color: #448EF6;
295+
border-color: #448EF6;
296+
}
297+
298+
#scroll-to-top span {
299+
position: absolute;
300+
width: 100%;
301+
height: 100%;
302+
top: 0;
303+
display: -ms-flexbox;
304+
display: flex;
305+
-webkit-box-align: center;
306+
-ms-flex-align: center;
307+
align-items: center;
308+
-webkit-box-pack: center;
309+
-ms-flex-pack: center;
310+
justify-content: center;
311+
}

0 commit comments

Comments
 (0)