跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
最近更改
随机页面
特殊页面
Vend88百科
搜索
搜索
外观
登录
个人工具
登录
查看“︁Template:首页/index.css”︁的源代码
模板
讨论
English
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
页面信息
在其他项目中
外观
移至侧栏
隐藏
←
Template:首页/index.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
/* ================================ VEND88 百科首页 Template:首页/index.css ================================ */ .vend88-home { box-sizing: border-box; width: 100%; margin: 0; color: #202124; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; } .vend88-home *, .vend88-home *::before, .vend88-home *::after { box-sizing: border-box; } /* 隐藏首页默认标题,可根据实际页面结构决定是否保留 */ .page-首页 .mw-first-heading { display: none; } /* 减少首页顶部空白 */ .page-首页 .mw-body-content { margin-top: 0; } .page-首页 .mw-parser-output > .vend88-home { margin-top: -8px; } /* ================================ 顶部欢迎区域 ================================ */ .vend88-hero { position: relative; overflow: hidden; margin: 0 0 48px; padding: 72px 32px 76px; border-radius: 18px; background: radial-gradient( circle at 90% 20%, rgba(255, 255, 255, 0.14) 0, rgba(255, 255, 255, 0) 30% ), linear-gradient(135deg, #133b70 0%, #18599c 55%, #1675b9 100%); color: #fff; text-align: center; } .vend88-hero::before, .vend88-hero::after { position: absolute; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 50%; content: ""; /*pointer-events: none;*/ } .vend88-hero::before { top: -190px; right: -100px; width: 430px; height: 430px; } .vend88-hero::after { right: 90px; bottom: -240px; width: 390px; height: 390px; } .vend88-hero-content { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; } .vend88-hero-label { display: inline-block; margin-bottom: 15px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; } .vend88-hero h1 { margin: 0 0 14px; padding: 0; border: 0; color: #fff; font-size: clamp(30px, 5vw, 46px); font-weight: 700; line-height: 1.25; } .vend88-hero-description { margin: 0 auto 32px; color: rgba(255, 255, 255, 0.88); font-size: 17px; line-height: 1.8; } /* 搜索框 */ .vend88-search { display: flex; align-items: center; max-width: 680px; min-height: 60px; margin: 0 auto; padding: 7px 8px 7px 19px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 12px; background: #fff; box-shadow: 0 14px 40px rgba(0, 28, 62, 0.25); text-align: left; } .vend88-search-icon { flex: 0 0 auto; margin-right: 12px; color: #657586; font-size: 27px; line-height: 1; transform: rotate(-20deg); } .vend88-search-input { flex: 1; min-width: 0; } /* InputBox 生成结构 */ .vend88-search .mw-inputbox-centered { margin: 0; } .vend88-search form { display: flex; align-items: center; width: 100%; margin: 0; } .vend88-search .mw-inputbox-input, .vend88-search input[type="search"], .vend88-search input[type="text"] { flex: 1; width: auto !important; min-width: 0; height: 44px; margin: 0; padding: 0 12px; border: 0; outline: 0; background: transparent; box-shadow: none; color: #202124; font-size: 16px; } .vend88-search .mw-inputbox-input:focus, .vend88-search input[type="search"]:focus, .vend88-search input[type="text"]:focus { border: 0; outline: 0; box-shadow: none; } .vend88-search input[type="submit"] { flex: 0 0 auto; height: 44px; margin: 0; padding: 0 25px; border: 0; border-radius: 8px; background: #1769aa; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; } .vend88-search input[type="submit"]:hover { background: #10588f; transform: translateY(-1px); } .vend88-hot-searches { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 16px; margin-top: 22px; color: rgba(255, 255, 255, 0.72); font-size: 13px; } .vend88-hot-searches a { color: #fff; font-weight: 500; text-decoration: none; } .vend88-hot-searches a:hover { text-decoration: underline; } /* ================================ 主体内容 ================================ */ .vend88-content { max-width: 1180px; margin: 0 auto; padding: 0 12px 64px; } .vend88-section-heading { margin-bottom: 26px; text-align: center; } .vend88-section-heading h2 { margin: 0 0 8px; padding: 0; border: 0; color: #172b3e; font-size: 28px; font-weight: 700; line-height: 1.3; } .vend88-section-heading p { margin: 0; color: #687888; font-size: 15px; line-height: 1.7; } /* ================================ 分类卡片 ================================ */ .vend88-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 70px; } .vend88-category-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 29px 27px 25px; border: 1px solid #e3e9ee; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(26, 54, 78, 0.05); transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; } .vend88-category-card:hover { border-color: #bfd7e9; box-shadow: 0 13px 30px rgba(26, 70, 104, 0.11); transform: translateY(-3px); } .vend88-category-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 21px; border-radius: 12px; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; } .vend88-icon-start { background: #e8f3ff; color: #1769aa; } .vend88-icon-order { background: #e7f8f1; color: #16835e; } .vend88-icon-manage { background: #fff2df; color: #b76500; } .vend88-category-content { display: flex; flex: 1; flex-direction: column; } .vend88-category-content > h2 { margin: 0 0 9px; padding: 0; border: 0; color: #172b3e; font-size: 21px; font-weight: 700; } .vend88-category-content > p { min-height: 49px; margin: 0 0 18px; color: #687888; font-size: 14px; line-height: 1.7; } .vend88-link-list { margin-top: auto; border-top: 1px solid #edf0f2; } .vend88-link-item { position: relative; padding: 16px 24px 15px 0; border-bottom: 1px solid #edf0f2; } .vend88-link-item:last-child { border-bottom: 0; } .vend88-link-item::after { position: absolute; top: 20px; right: 4px; color: #9ba8b3; content: "›"; font-size: 22px; line-height: 1; transition: color 0.2s ease, transform 0.2s ease; } .vend88-link-item:hover::after { color: #1769aa; transform: translateX(3px); } .vend88-link-item a { display: block; color: #263b4d; text-decoration: none; } .vend88-link-title { display: block; color: #263b4d; font-size: 15px; font-weight: 600; line-height: 1.5; transition: color 0.2s ease; } .vend88-link-item:hover .vend88-link-title { color: #1769aa; } .vend88-link-description { display: block; margin-top: 4px; color: #7b8996; font-size: 12px; line-height: 1.55; } /* ================================ 常见问题 ================================ */ .vend88-faq-section { margin-bottom: 64px; } .vend88-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; } .vend88-faq-column { display: flex; flex-direction: column; gap: 14px; } .vend88-faq-item { position: relative; display: flex; align-items: center; min-height: 70px; padding: 15px 48px 15px 18px; border: 1px solid #e4e9ed; border-radius: 10px; background: #fff; box-shadow: 0 3px 12px rgba(30, 55, 75, 0.035); transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; } .vend88-faq-item:hover { border-color: #bcd5e8; box-shadow: 0 7px 20px rgba(30, 70, 100, 0.08); transform: translateY(-2px); } .vend88-faq-item a { flex: 1; color: #263b4d; font-size: 15px; font-weight: 600; line-height: 1.5; text-decoration: none; } .vend88-faq-item:hover a { color: #1769aa; } .vend88-faq-icon { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 32px; height: 32px; margin-right: 14px; border-radius: 50%; background: #eef5fb; color: #1769aa; font-size: 15px; font-weight: 700; } .vend88-arrow { position: absolute; top: 50%; right: 20px; color: #9ba8b3; font-size: 24px; line-height: 1; transform: translateY(-50%); transition: color 0.2s ease, right 0.2s ease; } .vend88-faq-item:hover .vend88-arrow { right: 16px; color: #1769aa; } .vend88-faq-more { margin-top: 25px; text-align: center; } .vend88-faq-more a { display: inline-block; padding: 10px 17px; border-radius: 7px; color: #1769aa; font-size: 14px; font-weight: 600; text-decoration: none; transition: background 0.2s ease, color 0.2s ease; } .vend88-faq-more a:hover { background: #eef6fc; color: #10588f; } /* ================================ 联系支持 ================================ */ .vend88-support { padding: 29px 32px; border: 1px solid #d9e8f3; border-radius: 13px; background: #f3f8fc; } .vend88-support-content { display: flex; align-items: center; max-width: 900px; margin: 0 auto; } .vend88-support-icon { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: 18px; border-radius: 50%; background: #1769aa; color: #fff; font-family: Georgia, serif; font-size: 24px; font-weight: 700; } .vend88-support-text { flex: 1; min-width: 0; } .vend88-support-text h2 { margin: 0 0 5px; padding: 0; border: 0; color: #19344a; font-size: 20px; font-weight: 700; } .vend88-support-text p { margin: 0; color: #657888; font-size: 14px; line-height: 1.6; } .vend88-support-action { flex: 0 0 auto; margin-left: 25px; } .vend88-support-action a { display: inline-block; padding: 11px 22px; border: 1px solid #1769aa; border-radius: 7px; background: #1769aa; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; } .vend88-support-action a:hover { border-color: #10588f; background: #10588f; color: #fff; transform: translateY(-1px); } /* ================================ 平板适配 ================================ */ @media screen and (max-width: 1000px) { .vend88-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vend88-category-card:last-child { grid-column: 1 / -1; } .vend88-category-content > p { min-height: 0; } } /* ================================ 手机适配 ================================ */ @media screen and (max-width: 720px) { .vend88-hero { margin-bottom: 38px; padding: 52px 18px 55px; border-radius: 12px; } .vend88-hero-description { font-size: 15px; } .vend88-search { padding-left: 12px; } .vend88-search-icon { display: none; } .vend88-search form { align-items: stretch; } .vend88-search input[type="submit"] { padding-right: 17px; padding-left: 17px; } .vend88-hot-searches { line-height: 1.7; } .vend88-content { padding-right: 3px; padding-left: 3px; } .vend88-section-heading h2 { font-size: 24px; } .vend88-category-grid, .vend88-faq-grid { grid-template-columns: 1fr; } .vend88-category-card:last-child { grid-column: auto; } .vend88-category-card { padding: 25px 22px 21px; } .vend88-support { padding: 26px 21px; } .vend88-support-content { align-items: flex-start; flex-wrap: wrap; } .vend88-support-icon { width: 42px; height: 42px; margin-right: 14px; font-size: 21px; } .vend88-support-text { width: calc(100% - 60px); } .vend88-support-action { width: 100%; margin: 20px 0 0 56px; } .vend88-support-action a { text-align: center; } } /* ================================ 窄屏适配 ================================ */ @media screen and (max-width: 480px) { .vend88-hero { padding-top: 43px; padding-bottom: 46px; } .vend88-hero h1 { font-size: 29px; } .vend88-search { display: block; padding: 8px; } .vend88-search form { display: block; } .vend88-search .mw-inputbox-input, .vend88-search input[type="search"], .vend88-search input[type="text"] { width: 100% !important; padding: 0 10px; } .vend88-search input[type="submit"] { width: 100%; margin-top: 5px; } .vend88-category-grid { gap: 16px; } .vend88-faq-item { padding-left: 14px; } .vend88-faq-icon { margin-right: 11px; } .vend88-support-action { margin-left: 0; } .vend88-support-action a { display: block; width: 100%; } }
返回
Template:首页/index.css
。
搜索
搜索
查看“︁Template:首页/index.css”︁的源代码
添加话题