added 增加配置
This commit is contained in:
1 parent
6f5fe6de35
commit
42b2a1f868
4 files changed
+15
-4
No files matched your search
@@ -1179,6 +1179,10 @@ ul {
|
||||
|
||||
/* Mobile Adaptation */
|
||||
@media (max-width: 767px) {
|
||||
.mobile-hide {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.recent-posts .posts .post:first-of-type {
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
@@ -413,10 +413,10 @@
|
||||
const description = post.description ? post.description.replace(/"/g, '"') : '';
|
||||
|
||||
// Calculate delay for staggered animation
|
||||
const delay = index * 50;
|
||||
const delay = index * 100;
|
||||
|
||||
html += `
|
||||
<a href="${post.link}" target="_blank" class="fc-item" data-desc="${description}" data-title="${post.title}" uk-scrollspy="cls: uk-animation-slide-bottom-small uk-animation-fast; delay: ${delay}">
|
||||
<a href="${post.link}" target="_blank" class="fc-item" data-desc="${description}" data-title="${post.title}" uk-scrollspy="cls: uk-animation-slide-bottom-small; delay: ${delay}">
|
||||
<div class="fc-title" title="${post.title}">${post.title}</div>
|
||||
<img src="${bgImageSrc}" class="fc-bg-image" onerror="this.style.opacity=0">
|
||||
<div class="fc-bottom">
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="header-info">
|
||||
<div class="header-social">
|
||||
<div class="header-social {{ if not .Site.Params.mobile.show_social }}mobile-hide{{ end }}">
|
||||
{{ with .Site.Params.social }}
|
||||
{{ range . }}
|
||||
<a href="{{ .url }}" title="{{ .title }}" target="_blank"><i class="{{ .icon }}"></i></a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="header-bio">{{ .Site.Params.author.description }}</div>
|
||||
<div class="header-bio {{ if not .Site.Params.mobile.show_hitokoto }}mobile-hide{{ end }}">{{ .Site.Params.author.description }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<nav class="header-menu">
|
||||
|
||||
Reference in new issue
Block a user