更新
This commit is contained in:
parent
b634391343
commit
1324639a90
File diff suppressed because one or more lines are too long
@ -477,6 +477,28 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
&-count {
|
||||
background: var(--background);
|
||||
border-radius: var(--radius-wrap);
|
||||
padding: 10px 15px;
|
||||
box-shadow: var(--box-shadow);
|
||||
margin-bottom: 15px;
|
||||
.item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: var(--routine);
|
||||
line-height: 28px;
|
||||
.icon {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
fill: var(--routine);
|
||||
margin-right: 5px;
|
||||
}
|
||||
strong {
|
||||
color: var(--theme);
|
||||
}
|
||||
}
|
||||
}
|
||||
&-menu {
|
||||
background: var(--background);
|
||||
padding: 10px 15px;
|
||||
|
@ -265,6 +265,25 @@
|
||||
<p class="motto"><?php _getAsideAuthorMotto() ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="joe_header__slideout-count">
|
||||
<?php Typecho_Widget::widget('Widget_Stat')->to($count); ?>
|
||||
<li class="item">
|
||||
<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="15" height="15">
|
||||
<path d="M606.226851 985.923317 164.750051 985.923317c-69.714817 0-126.404264-56.722238-126.404264-126.442758l0-733.003584c0-69.721946 56.695149-126.476975 126.404264-126.476975l619.275389 0c69.714817 0 126.548261 56.75503 126.548261 126.476975l0 503.924726c0 18.216414-14.813222 32.996845-33.069557 32.996845-18.183623 0-32.925559-14.780431-32.925559-32.996845l0-503.924726c0-33.354701-27.199871-60.487563-60.553146-60.487563l-619.275389 0c-33.353275 0-60.409148 27.132862-60.409148 60.487563L104.340903 859.480559c0 33.353275 27.055873 60.44194 60.409148 60.44194L606.226851 919.922499c18.183623 0 32.925559 14.786134 32.925559 33.003974C639.15241 971.137184 624.410473 985.923317 606.226851 985.923317L606.226851 985.923317zM606.226851 985.923317"></path>
|
||||
<path d="M657.619751 322.055709 291.154315 322.055709c-18.183623 0-32.924133-14.786134-32.924133-33.002548 0-18.210711 14.740511-32.998271 32.924133-32.998271l366.465436 0c18.256334 0 33.070982 14.787559 33.070982 32.998271C690.690733 307.269575 675.876085 322.055709 657.619751 322.055709L657.619751 322.055709zM657.619751 322.055709" p-id="15074"></path>
|
||||
<path d="M657.619751 504.748792 291.154315 504.748792c-18.183623 0-32.924133-14.780431-32.924133-32.992568 0-18.222117 14.740511-32.996845 32.924133-32.996845l366.465436 0c18.256334 0 33.070982 14.774728 33.070982 32.996845C690.690733 489.974064 675.876085 504.748792 657.619751 504.748792L657.619751 504.748792zM657.619751 504.748792" p-id="15075"></path>
|
||||
<path d="M445.611029 687.486073 291.154315 687.486073c-18.183623 0-32.924133-14.780431-32.924133-33.003974 0-18.210711 14.740511-32.991142 32.924133-32.991142l154.456715 0c18.183623 0 32.998271 14.780431 32.998271 32.991142C478.6093 672.705642 463.794652 687.486073 445.611029 687.486073L445.611029 687.486073zM445.611029 687.486073" p-id="15076"></path>
|
||||
<path d="M866.48191 1024c-8.447386 0-16.896198-3.224977-23.340449-9.662099L577.595558 748.786295c-7.155685-7.122893-10.591668-17.070136-9.44539-27.055873l8.73253-77.728785c1.787852-15.320778 13.885079-27.378086 29.200155-29.060434l77.45077-8.520098c10.441967-0.963786 19.898763 2.433703 26.904747 9.449667L975.995678 881.422378c12.87567 12.877096 12.87567 33.783842 0 46.665215l-86.1833 86.250308C883.373831 1020.775023 874.925019 1024 866.48191 1024L866.48191 1024zM635.432709 713.354322l231.049201 231.017835 39.575113-39.619311L675.013525 673.70222l-35.504685 3.937836L635.432709 713.354322 635.432709 713.354322zM635.432709 713.354322" p-id="15077"></path>
|
||||
</svg>
|
||||
<span>累计撰写 <strong><?php echo number_format($count->publishedPostsNum); ?></strong> 篇文章</span>
|
||||
</li>
|
||||
<li class="item">
|
||||
<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="15" height="15">
|
||||
<path d="M921.6 153.6H102.4a102.4 102.4 0 0 0-102.4 102.4v512a102.4 102.4 0 0 0 102.4 102.4h819.2a102.4 102.4 0 0 0 102.4-102.4V256a102.4 102.4 0 0 0-102.4-102.4z m-233.984 319.488L972.8 258.304V791.04zM960 204.8L527.104 527.36 73.216 204.8z m-588.8 278.784L51.2 770.816V256zM73.984 819.2l339.2-307.2 83.456 59.392a51.2 51.2 0 0 0 60.416 0l89.6-67.328L931.072 819.2z"></path>
|
||||
</svg>
|
||||
<span>累计收到 <strong><?php echo number_format($count->publishedCommentsNum); ?></strong> 条评论</span>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="joe_header__slideout-menu panel-box">
|
||||
<li>
|
||||
<a class="link" href="<?php $this->options->siteUrl(); ?>" title="首页">
|
||||
@ -347,5 +366,4 @@
|
||||
</div>
|
||||
|
||||
<div class="joe_header__mask"></div>
|
||||
</header>
|
||||
|
||||
</header>
|
@ -78,7 +78,7 @@
|
||||
<script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/sketchpad/joe.sketchpad.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/qmsg/qmsg.js"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.global.js?v=214'); ?>"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.global.js?v=215'); ?>"></script>
|
||||
<!-- 异步加载的JS -->
|
||||
<script async src="https://apip.weatherdt.com/standard/static/js/weather-standard.js?v=2.0"></script>
|
||||
<script async src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/smooth/joe.smooth.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user