Files
hjc-web/app/templates/template-09/theme.css
T
gxwebsoft 2b69686795 feat(app): 添加多模板关于我们页面及相关路由和404页面
- 新增404页面,优化未找到页面体验,避免被搜索引擎索引
- 增加文件代理接口,隐藏真实文件服务器地址,支持文件请求代理
- 实现/article、/case、/product及/page动态路由兼容列表与详情展示
- 添加动态CMS页面兼容入口处理旧式路径,统一路由与SEO设置
- 新增模板1、模板7、模板2、模板3关于我们页面,实现多模板支持
- 模板增强支持CMS单页内容加载及SEO信息动态设置
- 配置环境变量及Git忽略文件规则辅助开发和构建环境管理
2026-09-08 12:13:44 +08:00

122 lines
2.9 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* 模板 9 主题变量(墨绿文化出版风,对齐漓江出版社官网)
通过 :root 全局定义,确保组件内 var(--t9-*) 始终有值,
不依赖 data-template-id 作用域(兼容 SSR 布局注入时机) */
:root {
--t9-primary: #008960;
--t9-primary-dark: #006c4b;
--t9-primary-light: #00a878;
--t9-primary-soft: #e6f4ef;
--t9-primary-faint: #f4faf8;
--t9-bg: #ffffff;
--t9-bg-soft: #f9f9f9;
--t9-bg-gray: #f6f6f6;
--t9-border: #e5e5e5;
--t9-border-2: #cbcbcb;
--t9-text: #505050;
--t9-text-strong: #333333;
--t9-text-secondary: #6e6e6e;
--t9-muted: #959595;
--t9-muted-light: #cbcbcb;
--t9-muted-2: #8d8d8d;
--t9-secondary: #00a878;
--t9-accent: #c8a86b;
--t9-success: #008960;
--t9-danger: #c0392b;
/* 页脚深色背景 */
--t9-footer-bg: #3a3a3a;
--t9-footer-text: #9b9b9b;
/* 固定内容区宽度(原站 1200px 设计稿) */
--t9-container: 1200px;
}
[data-template-id="template-09"] {
--t9-primary: #008960;
--t9-primary-dark: #006c4b;
--t9-primary-light: #00a878;
--t9-primary-soft: #e6f4ef;
--t9-primary-faint: #f4faf8;
--t9-bg: #ffffff;
--t9-bg-soft: #f9f9f9;
--t9-bg-gray: #f6f6f6;
--t9-border: #e5e5e5;
--t9-border-2: #cbcbcb;
--t9-text: #505050;
--t9-text-strong: #333333;
--t9-text-secondary: #6e6e6e;
--t9-muted: #959595;
--t9-muted-light: #cbcbcb;
--t9-muted-2: #8d8d8d;
--t9-secondary: #00a878;
--t9-accent: #c8a86b;
--t9-success: #008960;
--t9-danger: #c0392b;
--t9-footer-bg: #3a3a3a;
--t9-footer-text: #9b9b9b;
--t9-container: 1200px;
}
/* 模板 9 固定宽度容器:桌面端 1200px 居中,移动端自适应留白 */
.t9-container {
width: 100%;
max-width: var(--t9-container);
margin-left: auto;
margin-right: auto;
padding-left: 16px;
padding-right: 16px;
}
/* 栏目大标题:居中 + 下方短横线(对齐原站 .Title / .title */
.t9-section-title {
position: relative;
text-align: center;
font-size: 26px;
line-height: 1.4;
letter-spacing: 2px;
color: var(--t9-text);
padding: 44px 0 22px;
}
.t9-section-title::after {
content: '';
display: block;
width: 46px;
height: 3px;
margin: 14px auto 0;
background-color: var(--t9-primary);
border-radius: 2px;
}
/* 图书速递横向滚动条外观 */
.t9-scroll-x {
scrollbar-width: thin;
scrollbar-color: var(--t9-primary-light) transparent;
}
.t9-scroll-x::-webkit-scrollbar {
height: 6px;
}
.t9-scroll-x::-webkit-scrollbar-track {
background: transparent;
}
.t9-scroll-x::-webkit-scrollbar-thumb {
background-color: var(--t9-primary-light);
border-radius: 3px;
}
/* 单行/多行省略 */
.t9-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.t9-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.t9-clamp-3 {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}