查看“︁MediaWiki:Common.css”︁的源代码
←
MediaWiki:Common.css
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
管理员
本页面提供本维基软件的界面文本,并受到保护以防止滥用。 要添加或更改所有维基的翻译,请使用MediaWiki的本地化项目
translatewiki.net
。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有网站访客。
您可以查看和复制此页面的源代码。
/* ===== 尘月维基 外观(对齐截图:黑顶栏 / 白侧栏 / 淡紫内容区 / 紫标题白卡居中) ===== */ :root { --wiki-purple: #4b2e83; --wiki-purple-border: #e7e0f5; --wiki-content-bg: #f4effd; } /* 顶部导航条:黑色背景(仿截图黑顶栏) */ .mw-header, .vector-header-container { background-color: #1b1b1b !important; } .vector-header-container a, .mw-header a, .vector-header-container .vector-menu-heading { color: #fff !important; } .vector-header-container a:hover { color: #cfc3ec !important; } .vector-search-box .cdx-text-input__input { color: #fff !important; } .vector-search-box .cdx-text-input__input::placeholder { color: #bdbdbd !important; } /* 内容区淡紫背景 */ .mw-page-container, #content, .mw-content-container { background: var(--wiki-content-bg) !important; } /* 侧边栏保持白色 */ #mw-panel, .vector-main-menu { background: #ffffff !important; } /* 侧边栏分组标题紫 */ .vector-menu-heading { color: var(--wiki-purple); font-weight: 700; } /* 顶部欢迎横幅(紫渐变 + 右侧熊猫头) */ .site-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(135deg, #4b2e83, #6b4ea8); color: #fff; border-radius: 10px; padding: 20px 26px; margin-bottom: 20px; } .banner-text { flex: 1 1 auto; } .banner-title { font-size: 28px; font-weight: 800; letter-spacing: 2px; } .banner-sub { font-size: 14px; opacity: .92; margin-top: 8px; line-height: 1.7; } .banner-logo { flex: 0 0 auto; width: 96px; height: 96px; background-image: url(/logo.jpg); background-size: contain; background-repeat: no-repeat; background-position: center; border-radius: 50%; } /* 板块(公告 / 万恶之源 / 各栏目)—— 标题居中 */ .block { background: #fff; border: 1px solid var(--wiki-purple-border); border-radius: 10px; overflow: hidden; margin-bottom: 20px; } .block-title { background: var(--wiki-purple); color: #fff; text-align: center; font-size: 18px; font-weight: 700; letter-spacing: 2px; padding: 11px 0; } .block-body { padding: 18px 20px; line-height: 1.85; color: #333; } /* 两列并排卡片 */ .card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; } .card-row .block { margin-bottom: 0; } @media (max-width: 700px) { .card-row { grid-template-columns: 1fr; } } /* ===== 删除「外观 / 参数设置」等默认菜单入口 ===== */ #pt-preferences, #pt-watchlist, #pt-mycontris, .vector-user-menu #pt-preferences { display: none !important; } /* 隐藏页脚 MediaWiki 默认品牌文字 */ #footer-poweredby, .mw-footer__content .footer-poweredby, #f-poweredbyimg { display: none !important; }
返回
MediaWiki:Common.css
。
导航菜单
个人工具
登录
associated-pages
系统消息
讨论
English
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
创建新页面
最近更改
随机页面
特殊页面
社区
帮助
社区专页
工具
上传文件
链入页面
相关更改
个人
登录
工具
链入页面
相关更改
页面信息