惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
V
Vulnerabilities – Threatpost
Google Online Security Blog
Google Online Security Blog
Hugging Face - Blog
Hugging Face - Blog
L
LINUX DO - 热门话题
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
D
Docker
C
Cyber Attacks, Cyber Crime and Cyber Security
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
T
Tenable Blog
P
Privacy International News Feed
Google DeepMind News
Google DeepMind News
小众软件
小众软件
Cisco Talos Blog
Cisco Talos Blog
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
A
Arctic Wolf
C
Cybersecurity and Infrastructure Security Agency CISA
C
Cisco Blogs
T
Threat Research - Cisco Blogs
NISL@THU
NISL@THU
The Hacker News
The Hacker News
Project Zero
Project Zero
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Threatpost
V
Visual Studio Blog
The GitHub Blog
The GitHub Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
Jina AI
Jina AI
Cyberwarzone
Cyberwarzone
The Register - Security
The Register - Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
Vercel News
Vercel News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
MongoDB | Blog
MongoDB | Blog
U
Unit 42
Scott Helme
Scott Helme
A
About on SuperTechFans
WordPress大学
WordPress大学
F
Fortinet All Blogs
大猫的无限游戏
大猫的无限游戏
G
GRAHAM CLULEY
Latest news
Latest news
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Schneier on Security

个人博客网站 | 张涵哲

影视资源站合集,采集电影必备 - 个人博客网站 | 张涵哲 使用 acme.sh 生成免费 90 天的 SSL 泛域名证书 - 个人博客网站 网站整站镜像克隆下载工具 - Terminus 终点站 WIKI 备用地址 - 个人博客网站 Typecho Joe 导航菜单目录以及搜索关键字回显主题优化版 - 个人博客网站 2023最新Win10/Win11运行罪恶都市解决方案 - 个人博客网站 | 张涵哲 Typecho Joe 使用第三方插件开启文章侧边导肮目录 - AutocJS - 个人博客网站 Emby Terminus 终点站公益服考试答案 - 个人博客网站 Typecho Joe 发动态发瞬间发微语分享生活类似朋友圈的功能【Joe主题优化版更新】 - 个人博客网站 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒) - 个人博客网站
调整 Halo2 Joe 主题友情链接页面样式 - 个人博客网站
张涵哲 · 2001-01-23 · via 个人博客网站 | 张涵哲

张涵哲

本文最后更新于2025年03月29日,已超过442天没有更新,若内容或图片失效,请留言反馈。

本人之前是使用 Typecho 建站的,后来接触到了 Halo,权衡后将网站内容都迁移到 Halo 建站上了,无论是 Typecho 还是 Halo 都有一款 Joe 主题,我个人非常喜欢这款主题,决定迁移到 Halo 也是因为 Joe 主题移植的很成功,相似度极高

但还是有点地方不太一样,例如友情连接页面,Halo 中的友链的样式占位太大了,布局我也不是很喜欢,相比之下我还是觉得原版的比较漂亮

image

于是我决定调整一下友链页面的样式,使其布局与原本保持一致,但样式仍然使用这种线条边框,同时保留两种样式的风格,经过一番调整后最终的效果如下所示:

image

如果你跟我一样觉得Joe的友链页面看着不太好,并喜欢这种效果的话,点击左侧的【主题】,在Joe主题编辑的Tab栏中滑到最右侧,点击【自定义】,在【自定义CSS】中加入下面的代码:

/*** 友情链接 ***/

/* 整体边距调整 */
.joe_detail__article ol, .joe_detail__article ul {
  padding-left: 15px;
}
/* 最外层标签 */
.evan-friends .contain {
  display: flex;
  align-items: flex-end;
  flex-direction: row-reverse;
  padding: 10px;
}
/* 图片外 */
.evan-friends .evan-f-left {
  width: auto;
  min-width: auto;
}
/* 图片内 */
.evan-friends .evan-f-left .f-avatar {
  width: 45px;
  height: 45px;
}
/* 内容外 */
.evan-friends .evan-f-right {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-around;
  padding-right: 10px;
}
/* 标题外 */
.evan-friends .title {
  justify-content: start;
  margin-top: 0;
  font-size: unset;
  min-width: unset;
  border-bottom: 1px solid;
}
/* 隐藏√符号 */
.evan-friends .title .icon {
  display: none !important;
}
/* 描述外 */
.joe_detail__friends-item .contain .content {
  height: 45px;
}
/* 描述内 */
.joe_detail__friends-item .contain .content .desc {
  -webkit-line-clamp: 2 !important;
  height: 45px;
}