查看“MediaWiki:Common.css”的源代码
←
MediaWiki:Common.css
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* 这里放置的CSS将应用于所有皮肤 */ body{ font-size: 18px !important; background: #f7f8fa; } #mw-navigation{ box-shadow: inset 0 -1px #d7d8d9; height: 65px; } #maincontentwrapper{ top: 20px; } /* 以下是公告样式*/ .notice-my { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); display: flex; justify-content: center; align-items: center; z-index: 9999; } .notice-modal { width: 750px; background-color: #ffffff; border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); padding: 24px; position: relative; overflow: hidden; } .notice-badge{ position: absolute; top: -8px; right: 0; background-color: #f97316; color: white; font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 10px; } .notice-header{ display: flex; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; } .notice-title{ font-size: 20px; font-weight: 600; color: #1f2937; position: relative; padding-right: 40px; margin: 0px; } .notice-title{ font-size: 20px; font-weight: 600; color: #1f2937; position: relative; padding-right: 40px; margin: 0px; } .notice-btn{ padding: 10px 24px; background-color: #3b82f6; color: white; border: none; border-radius: 8px; font-size: 16px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; } .notice-btn:hover{ background-color: #2563eb; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); } .notice-hidden{ display: none; } /* 最新版本 */ .newversion{ width: 1760px; font-size: 30px; font-weight: 700; margin: 15px auto; text-align: center; } .container { max-width: 1760px; } /* 首页页面 */ .documentimg{ margin: 0 auto; margin-bottom: 70px; background-image: url(/images/6/60/Wd.png); background-size: cover; position: relative; height: 22vw; max-width: 1960px; max-height: 400px; } /* 目录标题样式 */ .toctitle { font-size: 18px; font-weight: 700; color: #1f2937; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #3b82f6; } /* 一级标题:页面主标题,最醒目 */ h1 { font-size: 30px; /* 移动端可设 24px,PC 端 32px */ font-weight: 700; /* 加粗 */ color: #1a1a1a; /* 深黑色,避免纯黑刺眼 */ margin: 50px 0 16px; /* 上下间距,与正文分隔 */ border-bottom: 1px solid #dddbdb; padding-bottom: 20px; } /* 二级标题:章节标题 */ h2 { font-size: 22px; /* 移动端 20px,PC 端 24px */ font-weight: 700; color: #2d2d2d; margin: 20px 30px 12px; } /* 三级标题:子章节标题 */ h3 { font-size: 18px; /* 移动端 18px,PC 端 20px */ font-weight: 600; /* 半粗体,比一级标题稍轻 */ color: #444; margin: 16px 40px 8px; } h4 { font-size: 18px; font-weight: 600; /* 半粗体,比 h3 的 700 轻 */ color: #555; margin: 12px 50px 8px; /* 间距比 h3 小,避免抢占视觉焦点 */ padding-left: 8px; /* 左内边距,配合左边框强化层级 */ border-left: 2px solid #555; /* 辅助样式,不增加复杂度但能区分 */ } h5 { font-size: 18px; font-weight: 500; /* 仅比正文粗一点,不抢视觉 */ color: #666; margin: 8px 60px 6px; font-style: italic; /* 用斜体作为辅助区分,比加粗更柔和 */ } p{ margin-left: 60px; } span.title { position: relative; color: black; top: 7vw; left: 4vw; line-height: 1; font-weight: 700; font-size: 45px; } .documentlist { display: flex; justify-content: space-between; width: 100%; background-color: #fff; text-decoration: none; padding: 24px; height: 102px; transition: all .3s; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); border-radius: 12px; } .documentlist:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); } .doc-beancurd-cube-des { height: 22px; font-family: PingFang SC; font-weight: 400; font-size: 14px; letter-spacing: .4px; text-align: justify; line-height: 22px; overflow: hidden; color: #8c8c8c; text-overflow: ellipsis; white-space: nowrap; width: 100%; } .doc-beancurd-cube-title{ height: 24px; font-family: PingFang SC; font-weight: 600; font-size: 16px; color: #181818; letter-spacing: .12px; line-height: 21px; margin-bottom: 7px; width: 100% } .title-inner { font-size: 34px; line-height: 58px; font-weight: 600; color: var(--pc-color); margin: 40px 24px; } /* 开局指南页面 */ .welcome{ margin-top: 70px; } .Index--title--DvfFkW0{ color: #181818; font-size: 34px; font-weight: 600; height: 48px; line-height: 48px; margin: 0 auto; } .ModuleCard--left--Pzs9WCH{ display: flex; justify-content: space-between; margin-left: -1px; margin-top: 30px; padding: 20px 24px; font-size: 22px; font-weight: 700; } .model-col{ padding: 0px; } .model{ color: #212529; display: flex; height: 100px; list-style: none; padding: 30px; margin: 0px 10px 10px 10px; transition: all .3s; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); background-color: #
返回
MediaWiki:Common.css
。
Edit MediaWiki