MediaWiki:Common.css:修订间差异

来自赛尔号精灵图鉴
跳转到导航 跳转到搜索
无编辑摘要
Len留言 | 贡献
无编辑摘要
 
(未显示同一用户的48个中间版本)
第1行: 第1行:
/*************************
#online-counter {
* 全局主题:暗黑背景
  position: fixed;
*************************/
  bottom: 10px;
html, body {
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
}
 
 
/* 顶部右上角登录 / 注册链接颜色修正 */
#pt-login a,
#pt-createaccount a {
  color: #6cf !important;
  text-decoration: none;
}
 
#pt-login a:hover,
#pt-createaccount a:hover {
  color: #9df !important;
  text-decoration: underline;
}
 
 
.mw-parser-output {
  max-width: 100% !important;
  width: 100% !important;
  padding: 20px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.7;
  box-sizing: border-box;
}
 
/* ===== 全站结构背景 ===== */
body.skin-vector #content,
body.skin-vector .mw-body,
body.skin-vector .mw-page-container,
body.skin-vector .mw-content-container,
body.skin-vector .vector-body,
body.skin-vector .vector-page-content {
   background-color: #000 !important;
   background-color: #000 !important;
   color: #f0f0f0 !important;
   color: #f0f0f0 !important;
}
}


/*************************
/* 顶部工具栏 */
* 内容区块:暗灰卡片样式
.vector-header,
*************************/
.vector-sticky-header,
.mw-parser-output > * {
.vector-header-container {
  background-color: #000 !important;
  color: #f0f0f0 !important;
  border-bottom: 1px solid #222;
}
 
/* 搜索栏 */
#p-search input {
   background-color: #1a1a1a !important;
   background-color: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid #444 !important;
}
/* 顶部用户菜单 */
.vector-user-menu,
.vector-user-menu a {
  color: #ccc !important;
}
.vector-user-menu a:hover {
  color: #fff !important;
}
/* 左侧边栏 */
#mw-panel {
  background-color: #111 !important;
   color: #f0f0f0 !important;
   color: #f0f0f0 !important;
   padding: 16px 24px;
}
   margin-bottom: 16px;
#mw-panel a {
  color: #ccc !important;
}
#mw-panel a:hover {
  color: #fff !important;
}
 
/* 编辑工具栏背景 */
.vector-menu-content {
  background-color: #111 !important;
}
 
/* 内容块默认背景 */
#content,
#mw-content-text {
  background-color: transparent !important;
}
 
/* ===== 主内容区模块样式 ===== */
 
/* 所有内容块:统一圆角+暗色背景+间距 */
.mw-parser-output > * {
  background-color: #1b1b1b !important;
   padding: 20px;
   margin-bottom: 24px;
   border-radius: 12px;
   border-radius: 12px;
   box-shadow: 0 0 10px rgba(0,0,0,0.4);
   box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
}
 
/* 标题样式 */
.mw-headline {
  font-size: 18px;
  font-weight: bold;
  border-left: 5px solid #888;
  padding-left: 10px;
  margin-bottom: 12px;
}
}


/*************************
/* ===== 表格统一样式 ===== */
* 表格美化(wikitable)
*************************/
.wikitable {
.wikitable {
   background-color: #111 !important;
   background-color: #111 !important;
   border: 1px solid #444 !important;
  border-collapse: collapse;
   color: #ccc !important;
   border: 1px solid #444;
   width: 100%;
}
}
.wikitable th {
.wikitable th {
   background-color: #222 !important;
   background-color: #222 !important;
   color: #fff !important;
   color: #fff !important;
  padding: 6px 10px;
}
}
.wikitable td {
.wikitable td {
   background-color: #111 !important;
   background-color: #111 !important;
   color: #ccc !important;
   color: #ccc !important;
  padding: 6px 10px;
  text-align: center;
}
}


/*************************
/* 表格小屏支持横向滚动 */
* 顶部区域 + 左侧边栏
.wikitable-container {
*************************/
  overflow-x: auto;
.vector-header,
}
.vector-sticky-header,
 
.vector-header-container {
/* ===== 输入表单类 ===== */
   background-color: #000 !important;
input[type="text"],
   color: #eee !important;
input[type="number"],
   border: none !important;
select {
  background-color: #2a2a2a !important;
  color: #f0f0f0 !important;
  border: 1px solid #555 !important;
  border-radius: 6px !important;
  padding: 6px 10px;
  width: 100px;
  box-sizing: border-box;
}
 
/* 按钮样式 */
input[type="button"],
input[type="submit"],
button {
  background-color: #333 !important;
  color: #fff !important;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: 6px;
  cursor: pointer;
}
input[type="button"]:hover,
input[type="submit"]:hover,
button:hover {
  background-color: #555 !important;
}
 
/* ===== 计算器结构自动适配横排 ===== */
.mw-parser-output > div:has(input[type="number"]) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.mw-parser-output > div:has(input[type="number"]) > div {
  flex: 1 1 220px;
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  box-sizing: border-box;
}
 
/* ===== 精灵头像框优化(精简版)===== */
 
/* 单个头像卡片样式 */
.sprite-box {
   background-color: #111;
  border: 2px solid #444;
  border-radius: 8px;
  padding: 6px;
  width: 90px;
  height: 120px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
   color: #ccc;
   transition: border-color 0.2s ease, transform 0.15s ease;
}
 
/* 悬停高亮效果 */
.sprite-box:hover {
  border-color: #00ffff;
  transform: scale(1.04);
}
 
/* 精灵图片统一尺寸 */
.sprite-box img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}
 
/* 精灵名字文字样式 */
.sprite-name {
  font-size: 12px;
  white-space: nowrap;
  margin-top: 4px;
  color: #ccc;
}
}


.sprite-grid {
width: 100%;
max-width: unset;
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: flex-start;
padding: 12px;
}
/* 隐藏整个侧边栏 */
#mw-panel {
#mw-panel {
   background-color: #111 !important;
    display: none !important;
   border-right: 1px solid #333 !important;
}
   color: #eee !important;
 
/* 调整内容区宽度占满整个页面 */
#content,
#mw-content-text,
.vector-body {
    margin-left: 0 !important;
}
/* 登录用户也取消左右栏,内容全宽显示 */
body {
   max-width: 100% !important;
}
 
#content,
#mw-content-text,
.vector-body {
  margin: 0 auto !important;
   max-width: 100% !important;
  width: 100% !important;
}
 
/* 去掉右上角的用户工具栏宽度影响 */
.vector-page-tools-container,
.vector-skin .mw-workspace-container {
  max-width: 100% !important;
   width: 100% !important;
}
}


/*************************
/* 隐藏侧边栏 */
* 鼠标悬停高亮(整体卡片 hover 效果)
#mw-panel {
*************************/
  display: none !important;
.mw-parser-output > *:hover {
}
/* 搜索框文字改亮色 */
input#searchInput {
   background-color: #222 !important;
   background-color: #222 !important;
   box-shadow: 0 0 12px rgba(255,255,255,0.05);
   color: #fff !important;
   transition: background-color 0.2s ease;
   border: 1px solid #666 !important;
}
}


/*************************
/* 搜索按钮 */
* 首页头像区域排版(.sprite-grid)
input#searchButton {
*************************/
  background-color: #444 !important;
.sprite-grid {
  border: 1px solid #666 !important;
   display: grid;
}
   grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
input#searchButton:hover {
   gap: 16px 24px;
  background-color: #666 !important;
   justify-items: center;
}
   padding: 20px;
 
   margin: 0 auto;
/* 顶部登录/注册链接颜色 */
   max-width: 1400px;
#pt-login, #pt-createaccount {
  color: #6cf !important; /* 浅蓝色 */
}
 
/* 鼠标悬浮时更亮一点 */
#pt-login:hover, #pt-createaccount:hover {
  color: #9df !important;
}
 
/* 编辑按钮、查看历史等 tab 标签颜色 */
.vector-menu-tabs .selected a {
  background: #222 !important;
  color: #fff !important;
  border-color: #f9c !important; /* 粉红色边框 */
}
.vector-menu-tabs li a {
  color: #f9c !important;
}
.vector-menu-tabs li a:hover {
  background-color: #333 !important;
  color: #fff !important;
}
 
/* 侧边栏链接颜色(如果未隐藏侧边栏) */
#mw-panel a {
  color: #9cf !important;
}
#mw-panel a:hover {
  color: #cff !important;
}
/* 登录用户内容区域强制全宽 */
body {
  max-width: 100% !important;
}
 
#content,
#mw-content-text,
.vector-body {
  margin: 0 auto !important;
  max-width: 100% !important;
  width: 100% !important;
}
 
/* 隐藏右边栏 */
.vector-page-tools-container,
.vector-skin .mw-workspace-container {
  width: 100% !important;
  max-width: 100% !important;
}
 
/* 如果你启用了 vector-2022 皮肤,这样也能解决 */
body.skin-vector-2022 .mw-content-container {
  max-width: 100% !important;
}
 
/* 隐藏左边栏(可选) */
#mw-panel {
  display: none !important;
}
/* 标题区美化 */
.firstHeading {
   font-size: 28px !important;
   font-weight: bold;
  border-bottom: 2px solid #666;
   margin-bottom: 16px;
}
 
/* 精灵头像圆角 + 居中 */
#mw-content-text img[alt$="头像"] {
   border-radius: 12px;
   box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
   display: block;
   margin: 0 auto 10px auto;
}
}


/*************************
/* 卡片式信息框样式 */
* 精灵卡片样式
.mw-parser-output > .infobox,
*************************/
.mw-parser-output > .精灵资料,
.sprite-grid > div,
.mw-parser-output > .wikitable {
.mw-parser-output > div > div {
   background-color: #1e1e1e !important;
   background-color: #1a1a1a !important;
  color: #f0f0f0 !important;
   border: 1px solid #444;
   border: 1px solid #444 !important;
   border-radius: 12px;
   border-radius: 12px;
   padding: 10px;
   padding: 16px;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
   width: 100px;
   box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
 
/* 精灵资料表格优化 */
.wikitable th {
  background-color: #2c2c2c !important;
  color: #fff !important;
}
.wikitable td {
  background-color: #1e1e1e !important;
   color: #ccc !important;
   text-align: center;
   text-align: center;
  transition: transform 0.2s ease;
}
}


.sprite-grid > div:hover,
/* 计算器输入框优化 */
.mw-parser-output > div > div:hover {
input[type="number"],
   transform: translateY(-4px);
input[type="text"] {
   box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
  background-color: #2a2a2a;
  color: #fff;
   border: 1px solid #555;
  border-radius: 6px;
   padding: 4px 6px;
}
}


/*************************
button,
* 图片外框(白色背景改为灰色)
input[type="submit"] {
*************************/
   background-color: #444;
.mw-parser-output a.image {
  color: #fff;
   background-color: #2a2a2a !important;
   border: 1px solid #666;
   display: inline-block;
   padding: 6px 10px;
   padding: 4px;
   border-radius: 8px;
   border-radius: 8px;
   box-shadow: none !important;
   transition: background 0.2s ease;
   border: none !important;
}
button:hover,
input[type="submit"]:hover {
  background-color: #666;
}
/* 页面统一字体和间距 */
body, .mw-body {
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif !important;
   line-height: 1.7 !important;
  font-size: 15px;
}
}


/*************************
/* 标题区样式 */
* 图片自身(去白底和阴影)
.firstHeading {
*************************/
   font-size: 32px !important;
.mw-parser-output a.image img,
   font-weight: bold;
.sprite-grid img {
   color: #fff;
   background: transparent !important;
   border-bottom: 2px solid #666;
   border: none !important;
   padding-bottom: 10px;
   box-shadow: none !important;
   margin-bottom: 20px;
   border-radius: 6px;
   width: 100%;
   height: auto;
}
}


/*************************
/* 精灵头像圆角 */
* 精灵名称样式
#mw-content-text img[alt$="头像"] {
*************************/
   border-radius: 12px;
.mw-parser-output > div > div br + span,
   box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
.mw-parser-output > div > div br + div,
   margin-bottom: 10px;
.sprite-name {
   color: #f0f0f0 !important;
  font-size: 14px;
  font-weight: 500;
   margin-top: 4px;
  background: transparent !important;
  text-shadow: 0 1px 2px #000;
}
/* 页面整体居中,控制最大宽度 */
.mw-parser-output {
  max-width: 980px;
   margin: 0 auto;
  padding: 20px;
  font-size: 14px;
  line-height: 1.7;
}
}


/* 精灵信息区块统一样式 */
/* 信息卡片风格容器 */
.mw-parser-output > * {
.mw-parser-output > div, .mw-parser-output > .card {
   background-color: #1a1a1a !important;
   background: #1a1a1a;
  color: #f0f0f0;
  padding: 16px 24px;
  margin-bottom: 24px;
   border-radius: 12px;
   border-radius: 12px;
   box-shadow: 0 0 10px rgba(0,0,0,0.3);
  padding: 16px 20px;
  margin-bottom: 20px;
   box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
}


/* 表格优化 */
/* 表格优化(技能/种族值) */
.wikitable {
.wikitable {
   background-color: #111 !important;
   background: #111 !important;
  border: 1px solid #333;
   color: #ccc;
   color: #ccc;
  border-collapse: collapse;
   width: 100%;
   width: 100%;
   border-collapse: collapse;
   border-radius: 12px;
  overflow: hidden;
}
}
.wikitable th {
.wikitable th {
   background-color: #222 !important;
   background: #292933 !important;
   color: #fff;
   color: #ffcaff !important;
   padding: 6px 10px;
   padding: 8px;
}
}
.wikitable td {
.wikitable td {
   background-color: #111 !important;
   background: #181818 !important;
   padding: 6px 10px;
  padding: 8px;
  border-top: 1px solid #333 !important;
}
 
/* 计算器区域美化 */
input[type="number"],
input[type="text"],
select {
  background: #292929;
  color: #eee;
  border: 1px solid #555;
  border-radius: 6px;
   padding: 5px;
  width: 60px;
   text-align: center;
   text-align: center;
}
button,
input[type="submit"] {
  background-color: #444;
  color: #fff;
  border: 1px solid #666;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
button:hover,
input[type="submit"]:hover {
  background-color: #777;
}
/* 进化链头像展示:横向居中 + 圆角 + hover 放大 */
.evolution img {
  border-radius: 12px;
  margin: 0 8px;
  transition: transform 0.2s ease;
}
.evolution img:hover {
  transform: scale(1.1);
}
/* 去掉多余黑色空区块 */
.mw-parser-output > div:empty {
  display: none;
}
/* 小标题美化 */
h2, h3 {
  color: #9cf !important;
  border-left: 4px solid #9cf;
  padding-left: 8px;
  margin-top: 24px;
}
/* 计算器外层统一居中、横排排列 */
.calc-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  background: #111;
  padding: 20px;
  border-radius: 12px;
  gap: 20px;
  margin-top: 10px;
}
/* 每个模块的基础卡片 */
.calc-box {
  background: #1c1c1c;
  border-radius: 10px;
  padding: 16px 20px;
  min-width: 160px;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
  color: #fff;
}
}


/* 标题更显眼 */
/* 子标题样式 */
.mw-headline {
.calc-box h4 {
   font-size: 18px;
   font-size: 16px;
   font-weight: bold;
   font-weight: bold;
  border-left: 5px solid #555;
  padding-left: 10px;
   margin-bottom: 12px;
   margin-bottom: 12px;
  text-align: center;
  color: #fff;
}
}


/* 输入框样式统一 */
/* 表格内项目 */
input[type="text"], input[type="number"], select {
.calc-box table {
   background-color: #2a2a2a;
  width: 100%;
   color: #f0f0f0;
  border-collapse: collapse;
}
.calc-box th, .calc-box td {
  padding: 4px 6px;
  text-align: center;
  font-size: 14px;
  color: #ccc;
}
.calc-box th {
  color: #fff;
}
 
/* 输入框统一风格 */
.calc-box input[type="number"],
.calc-box input[type="text"],
.calc-box select {
   background-color: #1a1a1a;
   color: #fff;
   border: 1px solid #444;
   border: 1px solid #444;
   border-radius: 6px;
   border-radius: 6px;
   padding: 5px 8px;
   padding: 4px;
  width: 60px;
   margin: 4px 0;
   margin: 4px 0;
  text-align: center;
}
}


/* 按钮统一 */
/* 按钮统一风格 */
button, input[type="button"], input[type="submit"] {
.calc-box button,
   background-color: #444;
.calc-box input[type="submit"] {
   background-color: #333;
   color: #fff;
   color: #fff;
   border: none;
   border: 1px solid #555;
  padding: 6px 12px;
   border-radius: 6px;
   border-radius: 6px;
  padding: 5px 10px;
  margin: 4px;
   cursor: pointer;
   cursor: pointer;
}
}
button:hover {
.calc-box button:hover,
.calc-box input[type="submit"]:hover {
   background-color: #666;
   background-color: #666;
}
}


/* 种族值计算器布局优化 */
/* 高亮行:绿色 */
.calc-container {
.stat-up {
   display: grid;
  color: #78ff78 !important;
   grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  font-weight: bold;
   gap: 16px;
}
   margin-top: 16px;
 
/* 计算结果为 0 的蓝色 */
.calc-result-zero {
  color: #3cf !important;
}
 
/* 子区块对齐 */
.calc-box .field-row {
   display: flex;
   justify-content: space-between;
  align-items: center;
  margin: 4px 0;
}
.calc-box .field
/* 顶部导航栏背景统一为深色 */
.vector-header,
.vector-sticky-header,
.vector-header-container {
  background: #000 !important;
   color: #fff !important;
   border-bottom: 1px solid #444 !important;
}
 
/* 顶部右上角登录/注册链接颜色 */
#pt-login, #pt-createaccount {
  color: #6cf !important;
}
}
/* 限制页面宽度居中显示 */
#pt-login:hover, #pt-createaccount:hover {
.mw-parser-output {
   color: #9df !important;
   max-width: 960px;
   text-decoration: underline;
  margin: 0 auto;
  padding: 20px;
  font-size: 14px;
   line-height: 1.7;
}
}


/* 统一每个段落背景盒子美化 */
/* 顶部标签页(首页/讨论/阅读/查看源代码等)样式 */
.mw-parser-output > * {
.vector-menu-tabs li {
   background-color: #1a1a1a !important;
  background: transparent !important;
   padding: 20px;
}
   margin-bottom: 24px;
.vector-menu-tabs li.selected a {
   border-radius: 12px;
   background-color: #111 !important;
   box-shadow: 0 0 8px rgba(255,255,255,0.05);
   color: #fff !important;
   border-bottom: 2px solid #f9c !important; /* 粉色下划线 */
}
.vector-menu-tabs li a {
   color: #f9c !important;
}
.vector-menu-tabs li a:hover {
  color: #fff !important;
   background-color: #222 !important;
}
}


/* 优化所有输入框样式 */
/* 顶部搜索栏优化 */
input[type="text"], input[type="number"], select {
#p-search input[type="search"],
   background-color: #2a2a2a !important;
#searchInput {
   color: #f0f0f0 !important;
   background-color: #222 !important;
   color: #eee !important;
   border: 1px solid #555 !important;
   border: 1px solid #555 !important;
   border-radius: 6px !important;
   border-radius: 6px;
   padding: 5px 8px;
  padding: 4px 8px;
   width: 100px;
}
   box-sizing: border-box;
#searchInput::placeholder {
  color: #888;
}
/* 顶部登录 / 注册菜单项优化 */
.vector-menu-content-list > li#pt-login a,
.vector-menu-content-list > li#pt-createaccount a {
  color: #ddd !important;
  background-color: rgba(255, 255, 255, 0.06);
   padding: 4px 10px;
  border-radius: 6px;
  margin-left: 4px;
  text-decoration: none !important;
   font-weight: 500;
   transition: all 0.2s ease;
}
 
/* 悬停效果 */
.vector-menu-content-list > li#pt-login a:hover,
.vector-menu-content-list > li#pt-createaccount a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff !important;
}
}


/* 按钮样式 */
 
input[type="button"], input[type="submit"], button {
/* 搜索按钮优化 */
#searchButton {
   background-color: #444 !important;
   background-color: #444 !important;
  border: 1px solid #666 !important;
   color: #fff !important;
   color: #fff !important;
  border: none;
   border-radius: 6px !important;
  padding: 6px 12px;
   padding: 4px 8px;
  margin: 4px;
   border-radius: 6px;
   cursor: pointer;
}
}
input[type="button"]:hover, input[type="submit"]:hover, button:hover {
#searchButton:hover {
   background-color: #666 !important;
   background-color: #666 !important;
}
}


/* 自动让多列表格或DIV并排 */
/* ==== 通用评论块样式 ==== */
.mw-parser-output > div:has(input[type="text"]),
.cs-comment {
.mw-parser-output > div:has(input[type="number"]) {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  margin: 12px 0 !important;
  padding: 12px 16px !important;
  color: #f0f0f0 !important;
  backdrop-filter: blur(4px) !important;
}
 
/* ==== 主评论样式 ==== */
.cs-comment.cs-head-comment {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
 
/* ==== 评论头部(用户 + 时间 + 投票) ==== */
.cs-comment-header {
   display: flex;
   display: flex;
  flex-wrap: wrap;
  gap: 16px;
   justify-content: space-between;
   justify-content: space-between;
  align-items: center;
  font-size: 0.85em;
  color: #aaa;
  margin-bottom: 6px;
}
/* ==== 投票按钮区域 ==== */
.cs-comment-voting {
  color: #888 !important;
  font-size: 0.9em;
}
.cs-comment-voting .cs-vote-up:hover,
.cs-comment-voting .cs-vote-down:hover {
  color: #66ccff !important;
  cursor: pointer;
}
/* ==== 评论正文 ==== */
.cs-comment-body {
  color: #f8f8f8 !important;
  font-size: 1em;
  line-height: 1.6;
}
}


/* 表格结构美化 */
/* ==== 回复按钮 ==== */
.wikitable {
.cs-comment-reply-button {
   background-color: #111 !important;
   margin-top: 10px;
   border-collapse: collapse;
  font-size: 0.9em;
   border: 1px solid #333;
  color: #66ccff !important;
   width: 100%;
  background: none !important;
   border: none !important;
   cursor: pointer;
}
.cs-comment-reply-button:hover {
   text-decoration: underline !important;
}
}
.wikitable th {
#back-to-home-button {
   background-color: #222 !important;
  position: fixed;
   color: #fff !important;
  bottom: 50px;
   padding: 6px 10px;
  left: 10px;
  z-index: 9999;
   background: rgba(0, 0, 0, 0.7);
   color: #fff;
   padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
  transition: background 0.3s;
}
}
.wikitable td {
#back-to-home-button:hover {
  background-color: #111 !important;
   background: rgba(255, 255, 255, 0.2);
  padding: 6px 10px;
  text-align: center;
   color: #ccc;
}
}

2025年6月21日 (六) 14:00的最新版本

#online-counter {
  position: fixed;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
}


/* 顶部右上角登录 / 注册链接颜色修正 */
#pt-login a,
#pt-createaccount a {
  color: #6cf !important;
  text-decoration: none;
}

#pt-login a:hover,
#pt-createaccount a:hover {
  color: #9df !important;
  text-decoration: underline;
}


.mw-parser-output {
  max-width: 100% !important;
  width: 100% !important;
  padding: 20px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.7;
  box-sizing: border-box;
}

/* ===== 全站结构背景 ===== */
body.skin-vector #content,
body.skin-vector .mw-body,
body.skin-vector .mw-page-container,
body.skin-vector .mw-content-container,
body.skin-vector .vector-body,
body.skin-vector .vector-page-content {
  background-color: #000 !important;
  color: #f0f0f0 !important;
}

/* 顶部工具栏 */
.vector-header,
.vector-sticky-header,
.vector-header-container {
  background-color: #000 !important;
  color: #f0f0f0 !important;
  border-bottom: 1px solid #222;
}

/* 搜索栏 */
#p-search input {
  background-color: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid #444 !important;
}

/* 顶部用户菜单 */
.vector-user-menu,
.vector-user-menu a {
  color: #ccc !important;
}
.vector-user-menu a:hover {
  color: #fff !important;
}

/* 左侧边栏 */
#mw-panel {
  background-color: #111 !important;
  color: #f0f0f0 !important;
}
#mw-panel a {
  color: #ccc !important;
}
#mw-panel a:hover {
  color: #fff !important;
}

/* 编辑工具栏背景 */
.vector-menu-content {
  background-color: #111 !important;
}

/* 内容块默认背景 */
#content,
#mw-content-text {
  background-color: transparent !important;
}

/* ===== 主内容区模块样式 ===== */

/* 所有内容块:统一圆角+暗色背景+间距 */
.mw-parser-output > * {
  background-color: #1b1b1b !important;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
}

/* 标题样式 */
.mw-headline {
  font-size: 18px;
  font-weight: bold;
  border-left: 5px solid #888;
  padding-left: 10px;
  margin-bottom: 12px;
}

/* ===== 表格统一样式 ===== */
.wikitable {
  background-color: #111 !important;
  border-collapse: collapse;
  border: 1px solid #444;
  width: 100%;
}
.wikitable th {
  background-color: #222 !important;
  color: #fff !important;
  padding: 6px 10px;
}
.wikitable td {
  background-color: #111 !important;
  color: #ccc !important;
  padding: 6px 10px;
  text-align: center;
}

/* 表格小屏支持横向滚动 */
.wikitable-container {
  overflow-x: auto;
}

/* ===== 输入表单类 ===== */
input[type="text"],
input[type="number"],
select {
  background-color: #2a2a2a !important;
  color: #f0f0f0 !important;
  border: 1px solid #555 !important;
  border-radius: 6px !important;
  padding: 6px 10px;
  width: 100px;
  box-sizing: border-box;
}

/* 按钮样式 */
input[type="button"],
input[type="submit"],
button {
  background-color: #333 !important;
  color: #fff !important;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: 6px;
  cursor: pointer;
}
input[type="button"]:hover,
input[type="submit"]:hover,
button:hover {
  background-color: #555 !important;
}

/* ===== 计算器结构自动适配横排 ===== */
.mw-parser-output > div:has(input[type="number"]) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.mw-parser-output > div:has(input[type="number"]) > div {
  flex: 1 1 220px;
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  box-sizing: border-box;
}

/* ===== 精灵头像框优化(精简版)===== */

/* 单个头像卡片样式 */
.sprite-box {
  background-color: #111;
  border: 2px solid #444;
  border-radius: 8px;
  padding: 6px;
  width: 90px;
  height: 120px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ccc;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

/* 悬停高亮效果 */
.sprite-box:hover {
  border-color: #00ffff;
  transform: scale(1.04);
}

/* 精灵图片统一尺寸 */
.sprite-box img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

/* 精灵名字文字样式 */
.sprite-name {
  font-size: 12px;
  white-space: nowrap;
  margin-top: 4px;
  color: #ccc;
}

.sprite-grid {
width: 100%;
max-width: unset;
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: flex-start;
padding: 12px;

}
/* 隐藏整个侧边栏 */
#mw-panel {
    display: none !important;
}

/* 调整内容区宽度占满整个页面 */
#content,
#mw-content-text,
.vector-body {
    margin-left: 0 !important;
}
/* 登录用户也取消左右栏,内容全宽显示 */
body {
  max-width: 100% !important;
}

#content,
#mw-content-text,
.vector-body {
  margin: 0 auto !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* 去掉右上角的用户工具栏宽度影响 */
.vector-page-tools-container,
.vector-skin .mw-workspace-container {
  max-width: 100% !important;
  width: 100% !important;
}

/* 隐藏侧边栏 */
#mw-panel {
  display: none !important;
}
/* 搜索框文字改亮色 */
input#searchInput {
  background-color: #222 !important;
  color: #fff !important;
  border: 1px solid #666 !important;
}

/* 搜索按钮 */
input#searchButton {
  background-color: #444 !important;
  border: 1px solid #666 !important;
}
input#searchButton:hover {
  background-color: #666 !important;
}

/* 顶部登录/注册链接颜色 */
#pt-login, #pt-createaccount {
  color: #6cf !important; /* 浅蓝色 */
}

/* 鼠标悬浮时更亮一点 */
#pt-login:hover, #pt-createaccount:hover {
  color: #9df !important;
}

/* 编辑按钮、查看历史等 tab 标签颜色 */
.vector-menu-tabs .selected a {
  background: #222 !important;
  color: #fff !important;
  border-color: #f9c !important; /* 粉红色边框 */
}
.vector-menu-tabs li a {
  color: #f9c !important;
}
.vector-menu-tabs li a:hover {
  background-color: #333 !important;
  color: #fff !important;
}

/* 侧边栏链接颜色(如果未隐藏侧边栏) */
#mw-panel a {
  color: #9cf !important;
}
#mw-panel a:hover {
  color: #cff !important;
}
/* 登录用户内容区域强制全宽 */
body {
  max-width: 100% !important;
}

#content,
#mw-content-text,
.vector-body {
  margin: 0 auto !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* 隐藏右边栏 */
.vector-page-tools-container,
.vector-skin .mw-workspace-container {
  width: 100% !important;
  max-width: 100% !important;
}

/* 如果你启用了 vector-2022 皮肤,这样也能解决 */
body.skin-vector-2022 .mw-content-container {
  max-width: 100% !important;
}

/* 隐藏左边栏(可选) */
#mw-panel {
  display: none !important;
}
/* 标题区美化 */
.firstHeading {
  font-size: 28px !important;
  font-weight: bold;
  border-bottom: 2px solid #666;
  margin-bottom: 16px;
}

/* 精灵头像圆角 + 居中 */
#mw-content-text img[alt$="头像"] {
  border-radius: 12px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
  display: block;
  margin: 0 auto 10px auto;
}

/* 卡片式信息框样式 */
.mw-parser-output > .infobox,
.mw-parser-output > .精灵资料,
.mw-parser-output > .wikitable {
  background-color: #1e1e1e !important;
  color: #f0f0f0 !important;
  border: 1px solid #444 !important;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* 精灵资料表格优化 */
.wikitable th {
  background-color: #2c2c2c !important;
  color: #fff !important;
}
.wikitable td {
  background-color: #1e1e1e !important;
  color: #ccc !important;
  text-align: center;
}

/* 计算器输入框优化 */
input[type="number"],
input[type="text"] {
  background-color: #2a2a2a;
  color: #fff;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 4px 6px;
}

button,
input[type="submit"] {
  background-color: #444;
  color: #fff;
  border: 1px solid #666;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
button:hover,
input[type="submit"]:hover {
  background-color: #666;
}
/* 页面统一字体和间距 */
body, .mw-body {
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif !important;
  line-height: 1.7 !important;
  font-size: 15px;
}

/* 标题区样式 */
.firstHeading {
  font-size: 32px !important;
  font-weight: bold;
  color: #fff;
  border-bottom: 2px solid #666;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* 精灵头像圆角 */
#mw-content-text img[alt$="头像"] {
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

/* 信息卡片风格容器 */
.mw-parser-output > div, .mw-parser-output > .card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* 表格优化(技能/种族值) */
.wikitable {
  background: #111 !important;
  color: #ccc;
  border-collapse: collapse;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.wikitable th {
  background: #292933 !important;
  color: #ffcaff !important;
  padding: 8px;
}
.wikitable td {
  background: #181818 !important;
  padding: 8px;
  border-top: 1px solid #333 !important;
}

/* 计算器区域美化 */
input[type="number"],
input[type="text"],
select {
  background: #292929;
  color: #eee;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 5px;
  width: 60px;
  text-align: center;
}
button,
input[type="submit"] {
  background-color: #444;
  color: #fff;
  border: 1px solid #666;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
button:hover,
input[type="submit"]:hover {
  background-color: #777;
}

/* 进化链头像展示:横向居中 + 圆角 + hover 放大 */
.evolution img {
  border-radius: 12px;
  margin: 0 8px;
  transition: transform 0.2s ease;
}
.evolution img:hover {
  transform: scale(1.1);
}

/* 去掉多余黑色空区块 */
.mw-parser-output > div:empty {
  display: none;
}

/* 小标题美化 */
h2, h3 {
  color: #9cf !important;
  border-left: 4px solid #9cf;
  padding-left: 8px;
  margin-top: 24px;
}
/* 计算器外层统一居中、横排排列 */
.calc-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  background: #111;
  padding: 20px;
  border-radius: 12px;
  gap: 20px;
  margin-top: 10px;
}

/* 每个模块的基础卡片 */
.calc-box {
  background: #1c1c1c;
  border-radius: 10px;
  padding: 16px 20px;
  min-width: 160px;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
  color: #fff;
}

/* 子标题样式 */
.calc-box h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
  color: #fff;
}

/* 表格内项目 */
.calc-box table {
  width: 100%;
  border-collapse: collapse;
}
.calc-box th, .calc-box td {
  padding: 4px 6px;
  text-align: center;
  font-size: 14px;
  color: #ccc;
}
.calc-box th {
  color: #fff;
}

/* 输入框统一风格 */
.calc-box input[type="number"],
.calc-box input[type="text"],
.calc-box select {
  background-color: #1a1a1a;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 4px;
  width: 60px;
  margin: 4px 0;
  text-align: center;
}

/* 按钮统一风格 */
.calc-box button,
.calc-box input[type="submit"] {
  background-color: #333;
  color: #fff;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 5px 10px;
  margin: 4px;
  cursor: pointer;
}
.calc-box button:hover,
.calc-box input[type="submit"]:hover {
  background-color: #666;
}

/* 高亮行:绿色 */
.stat-up {
  color: #78ff78 !important;
  font-weight: bold;
}

/* 计算结果为 0 的蓝色 */
.calc-result-zero {
  color: #3cf !important;
}

/* 子区块对齐 */
.calc-box .field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0;
}
.calc-box .field
/* 顶部导航栏背景统一为深色 */
.vector-header,
.vector-sticky-header,
.vector-header-container {
  background: #000 !important;
  color: #fff !important;
  border-bottom: 1px solid #444 !important;
}

/* 顶部右上角登录/注册链接颜色 */
#pt-login, #pt-createaccount {
  color: #6cf !important;
}
#pt-login:hover, #pt-createaccount:hover {
  color: #9df !important;
  text-decoration: underline;
}

/* 顶部标签页(首页/讨论/阅读/查看源代码等)样式 */
.vector-menu-tabs li {
  background: transparent !important;
}
.vector-menu-tabs li.selected a {
  background-color: #111 !important;
  color: #fff !important;
  border-bottom: 2px solid #f9c !important; /* 粉色下划线 */
}
.vector-menu-tabs li a {
  color: #f9c !important;
}
.vector-menu-tabs li a:hover {
  color: #fff !important;
  background-color: #222 !important;
}

/* 顶部搜索栏优化 */
#p-search input[type="search"],
#searchInput {
  background-color: #222 !important;
  color: #eee !important;
  border: 1px solid #555 !important;
  border-radius: 6px;
  padding: 4px 8px;
}
#searchInput::placeholder {
  color: #888;
}
/* 顶部登录 / 注册菜单项优化 */
.vector-menu-content-list > li#pt-login a,
.vector-menu-content-list > li#pt-createaccount a {
  color: #ddd !important;
  background-color: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  margin-left: 4px;
  text-decoration: none !important;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* 悬停效果 */
.vector-menu-content-list > li#pt-login a:hover,
.vector-menu-content-list > li#pt-createaccount a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff !important;
}


/* 搜索按钮优化 */
#searchButton {
  background-color: #444 !important;
  border: 1px solid #666 !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 4px 8px;
}
#searchButton:hover {
  background-color: #666 !important;
}

/* ==== 通用评论块样式 ==== */
.cs-comment {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  margin: 12px 0 !important;
  padding: 12px 16px !important;
  color: #f0f0f0 !important;
  backdrop-filter: blur(4px) !important;
}

/* ==== 主评论样式 ==== */
.cs-comment.cs-head-comment {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ==== 评论头部(用户 + 时间 + 投票) ==== */
.cs-comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85em;
  color: #aaa;
  margin-bottom: 6px;
}

/* ==== 投票按钮区域 ==== */
.cs-comment-voting {
  color: #888 !important;
  font-size: 0.9em;
}
.cs-comment-voting .cs-vote-up:hover,
.cs-comment-voting .cs-vote-down:hover {
  color: #66ccff !important;
  cursor: pointer;
}

/* ==== 评论正文 ==== */
.cs-comment-body {
  color: #f8f8f8 !important;
  font-size: 1em;
  line-height: 1.6;
}

/* ==== 回复按钮 ==== */
.cs-comment-reply-button {
  margin-top: 10px;
  font-size: 0.9em;
  color: #66ccff !important;
  background: none !important;
  border: none !important;
  cursor: pointer;
}
.cs-comment-reply-button:hover {
  text-decoration: underline !important;
}
#back-to-home-button {
  position: fixed;
  bottom: 50px;
  left: 10px;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
  transition: background 0.3s;
}
#back-to-home-button:hover {
  background: rgba(255, 255, 255, 0.2);
}