这边主要记录我在博客源文件中的改动,不公示。
node_modules\hexo-theme-keep\layout\_partial\footer.ejs
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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
| <footer class="footer border-box"> <div id="footer-block"> <div id="iframe"> <iframe height="250" src="https://www.widgets.link/#/date-number-02?nc=37352f&bbc=ffffff&br=5&bg=&_b=true" frameborder="0" allowfullscreen=""></iframe> <iframe height="250" src="https://www.widgets.link/#/count-down-04?bs=true&br=10&s=1&bg=&_b=true" frameborder="0" allowfullscreen=""></iframe> <iframe height="250" src="https://www.widgets.link/#/fans-bilibili?upFansColor=999999&upNameColor=333333&bg=&p=15&i=04&un=Q绮曜&ui=519208713&br=5&_b=true&bs=true&bpc=ffffff" frameborder="0" allowfullscreen=""></iframe> </div> <div class="copyright-info info-item"> © <span>2024</span> - 2024 <i class="fas fa-heart icon-animate"></i> <a href="/" data-pjax-state="">绮曜</a> </div>
<div class="count-info info-item">
</div>
<div style="font-size: 1rem;text-align: center;"> <span id="timeDate">本站在恶劣的环境中生存了 84 天</span> <span id="times">07 小时 37 分 39 秒</span> <script src="/js/runtime.js"></script> </div> <div id="StaticBadge"> <a target="_blank" rel="noopener" href="https://icp.gov.moe/?keyword=20240822" data-pjax-state=""> <img alt="Static Badge" src="https://img.shields.io/badge/%E8%90%8CICP%E5%A4%87-20240822%E5%8F%B7-green?style=for-the-badge&logo=https%3A%2F%2Ficp.gov.moe%2Fmoe-icon.zip&logoSize=auto&labelColor=FF1485&link=https%3A%2F%2Ficp.gov.moe%2F%3Fkeyword%3D20240822" > </a> <a target="_blank" rel="noopener" href="https://hexo.io/" data-pjax-state=""> <img alt="Static Badge" src="https://img.shields.io/badge/Powered_By-Hexo-blue?style=for-the-badge" > </a> <a target="_blank" rel="noopener" href="https://github.com/XPoet/hexo-theme-keep" data-pjax-state=""> <img alt="Static Badge" src="https://img.shields.io/badge/Theme-Keep_v4.2.4_By_Qiyao-blue?style=for-the-badge" > </a> <a target="_blank" rel="noopener" href="https://www.cloudflare.com/" data-pjax-state=""> <img alt="Static Badge" src="https://img.shields.io/badge/C_D_N-Cloudflare-F38020?style=for-the-badge&logo=cloudflare&logoSize=auto" > </a> <img alt="Static Badge" src="https://img.shields.io/badge/%E6%80%BB%E5%AD%97%E6%95%B0-<%= totalcount(site) %>-yellow?style=for-the-badge" >
</div>
</div> </footer>
|
home.styl
node_modules\hexo-theme-keep\source\css\layout\_page\home.styl
1 2 3 4 5 6 7 8 9 10 11 12
| .announcement { width 100% padding 0 0.5rem color var(--text-color-3)
p { width 100% overflow hidden white-space normal overflow-wrap break-word } }
|
friend-link.ejs
node_modules\hexo-theme-keep\layout\_template
1 2 3 4 5 6 7
| <div class="details border-box text-ellipsis"> <div class="name border-box text-ellipsis"><%= f?.name %></div> <div class="desc border-box text-ellipsis"><%= f?.description %><%= f?.descr %></div> </div> <% if (f?.siteshot) { %> <div class="siteshot" style="background-image: url('<%- url_for(f.siteshot) %>')"></div> <% } %>
|
friend-link.styl
node_modules\hexo-theme-keep\source\css\layout\_template
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
| .friends-link-item { width 100% height $friend-link-item-height border-radius $friend-link-item-border-radius box-shadow 1px 1px 3px var(--shadow-color) cursor pointer disable-user-select() position relative /* 新增:设置相对定位 */ overflow visible
.friends-link-item:hover .siteshot { display block transform scale(1.3) }
/* 新增:友链站点截图样式 */ .siteshot { display none /* 默认不显示 */ bottom 0 right 0 width 100% height 100% border 1px solid var(--border-color) border-radius $friend-link-item-border-radius background-size cover background-position center z-index 999 }
/* 新增:鼠标悬停时显示siteshot */ &:hover .siteshot { display block transform scale(2.0) }
|