From f9fa53fee245bf32f2560421dfda6fd7bbe4cce3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=A4=952077?= <274166795@qq.com> Date: Mon, 7 Jul 2025 23:58:51 +0800 Subject: [PATCH] Update custom.css --- assets/css/custom.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index 0864cd4..5a453f3 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -86,7 +86,13 @@ footer .hx-max-w-screen-xl{ text-decoration: underline; /* 悬停时添加下划线,明确表示这是一个可点击的链接 */ } - +.ad-container { + text-align: center; + max-width: 98%; + margin: 2rem auto; + overflow: hidden; + border-radius: 1rem; +} /** * Hextra 主题 - Pornhub 黑暗模式风格 @@ -94,7 +100,7 @@ footer .hx-max-w-screen-xl{ * 版本: 3 (包含代码美化) */ - .hextra-code-block pre { +.hextra-code-block pre { white-space: pre-wrap; overflow-wrap: break-word; word-break: break-word; /* 兼容旧浏览器 */