Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
- **最新动态**:角色故事、官方资讯、活动资讯、壁纸精选、同人作品等卡片
- **角色介绍**:流萤角色资料、图片壁纸、视频剪辑、同人创作、周边推荐
- **共建邀请**:「加入共建团队」弹窗,邀请喜欢流萤、愿意一起维护网站的人参与
- **开源入口**:顶栏与页脚提供 [FireflyDevs](https://github.com/FireflyDevs) 的 GitHub 图标入口,方便查看源码、提交 Issue 或参与共建
- **页面细节**:响应式布局、星空/光点动画、中英文字体与内容交互
- **非官方声明**:明确项目与官方无关

Expand Down
19 changes: 18 additions & 1 deletion firefly.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@
.icon-btn.sun{color:#ffdca6;filter:drop-shadow(0 0 8px rgba(255,205,130,.55))}
.icon-btn.sun:hover svg{animation:spinSlow 3.6s linear infinite}
@keyframes spinSlow{to{transform:rotate(360deg)}}
.icon-btn.github{color:#dbe8fb}
.icon-btn.github svg{width:22px;height:22px}
.icon-btn.github:hover{color:#fff}
.icon-btn.github:hover::before{background:rgba(190,220,255,.2)}
.icon-btn.bfly{color:#cfe4ff;filter:drop-shadow(0 0 10px rgba(150,195,255,.66))}
.icon-btn.bfly:hover svg{animation:bflyBob 1s ease-in-out infinite}
@keyframes bflyBob{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-3px) rotate(4deg)}}
Expand Down Expand Up @@ -415,6 +419,8 @@
.social{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;cursor:pointer;color:#c3d6f2;border:1px solid rgba(150,190,245,.22);background:rgba(18,34,60,.6);transition:transform .28s cubic-bezier(.2,.8,.2,1),color .28s,border-color .28s,background .28s,box-shadow .28s}
.social svg{width:18px;height:18px;position:relative}
.social:hover{transform:translateY(-3px);color:#fff;border-color:rgba(200,228,255,.6);background:rgba(120,168,240,.24);box-shadow:0 10px 22px rgba(0,0,0,.34)}
.social-github{border-color:rgba(180,212,255,.32);color:#e6f0ff}
.social-github:hover{background:rgba(160,200,255,.3);box-shadow:0 10px 24px rgba(0,0,0,.4),0 0 18px rgba(140,190,255,.4)}
.footer-note{flex:1;text-align:center;font-family:var(--f-display);font-style:italic;font-size:16px;letter-spacing:.02em;color:#a9bfe0}
.footer-note::before,.footer-note::after{content:"✦";font-style:normal;font-size:8px;color:rgba(180,210,255,.5);vertical-align:middle;margin:0 16px}
.footer-right{display:flex;align-items:center;gap:9px;color:#a5bada;font-family:var(--f-display);font-size:14px;letter-spacing:.06em}
Expand Down Expand Up @@ -525,6 +531,9 @@
.mini-copy{font-size:14px}
.mini-copy em{font-size:12.5px}
}
@media (max-width:980px){
.header-actions .github-btn{display:none}
}
@media (max-width:860px){
.d-only{display:none}
.m-only{display:inline}
Expand Down Expand Up @@ -638,7 +647,9 @@

.site-footer{margin-top:0}
.footer-inner{flex-direction:column;gap:0;padding:9px 14px 11px;text-align:center}
.socials,.footer-right{display:none}
.socials{display:flex;gap:7px;order:2;margin:1px 0 5px}
.socials .social:not(.social-github){display:none}
.footer-right{display:none}
.footer-note{font-size:11.5px;line-height:1.6;order:1;color:#8fa5c6}
.footer-note::before,.footer-note::after{margin:0 8px}
.footer-right{font-size:12px;order:3}
Expand Down Expand Up @@ -721,6 +732,9 @@
<button class="icon-btn sun" type="button" data-modal aria-label="切换主题" title="切换主题">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true"><circle cx="12" cy="12" r="4.1"/><path d="M12 1.6v2.9M12 19.5v2.9M1.6 12h2.9M19.5 12h2.9M4.6 4.6l2.1 2.1m10.6 10.6 2.1 2.1m0-14.8-2.1 2.1M6.7 17.3l-2.1 2.1" stroke-linecap="round"/></svg>
</button>
<a class="icon-btn github github-btn" href="https://github.com/FireflyDevs" target="_blank" rel="noopener noreferrer" aria-label="GitHub · FireflyDevs" title="GitHub · FireflyDevs">
<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
</a>
<button class="icon-btn bfly" type="button" data-modal aria-label="流萤主题" title="流萤主题">
<svg viewBox="0 0 44 44" fill="currentColor" aria-hidden="true">
<g class="wing l"><path d="M21.6 21.1C16.9 11.4 8.9 6.3 4.9 10.1 1.2 13.6 5.2 20.5 15.7 21.9 6.7 23.3 4.6 30.3 8.6 33.3c3.9 2.9 9.3-2.8 12.4-11.1Z"/></g>
Expand Down Expand Up @@ -896,6 +910,9 @@ <h2 class="panel-title" id="newsHeading">
<footer class="site-footer">
<div class="shell footer-inner">
<div class="socials">
<a class="social social-github" href="https://github.com/FireflyDevs" target="_blank" rel="noopener noreferrer" aria-label="GitHub · FireflyDevs" title="GitHub · FireflyDevs">
<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
</a>
<button class="social" type="button" data-modal aria-label="Discord">
<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M19.5 5.6A16 16 0 0 0 15.6 4.4l-.3.6a12 12 0 0 1 3.4 1.7 15.7 15.7 0 0 0-11.4 0A12 12 0 0 1 10.7 5l-.3-.6A16 16 0 0 0 6.5 5.6C4 9.3 3.3 13 3.6 16.6a16 16 0 0 0 4.8 2.4l.9-1.5c-.8-.3-1.6-.7-2.3-1.2l.6-.4a11.4 11.4 0 0 0 9.8 0l.6.4c-.7.5-1.5.9-2.3 1.2l.9 1.5a16 16 0 0 0 4.8-2.4c.4-4.2-.7-7.9-2.9-11ZM9.4 14.4c-.9 0-1.7-.9-1.7-2s.7-2 1.7-2 1.7.9 1.7 2-.8 2-1.7 2Zm5.2 0c-.9 0-1.7-.9-1.7-2s.7-2 1.7-2 1.7.9 1.7 2-.8 2-1.7 2Z"/></svg>
</button>
Expand Down
Loading