打开/关闭搜索
搜索
打开/关闭菜单
1
1
148
潮语辞书
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
上传文件
打开/关闭外观设置菜单
notifications
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
查看“︁MediaWiki:Common.css”︁的源代码
MediaWiki界面页面
查看
阅读
查看源代码
查看历史
associated-pages
系统消息
讨论
更多操作
←
MediaWiki:Common.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* 这里放置的CSS将应用于所有皮肤 */ @font-face { font-family: 'ShangguSerif'; src: url('/resources/fonts/ShangguSerif-ExtraLight.woff2') format('woff2'), url('/resources/fonts/ShangguSerif-ExtraLight.ttf') format('truetype'); font-weight: normal; font-style: normal; } .shanggu-serif { font-family: 'ShangguSerif', serif; } @media (max-width: 768px) { /* 让表格和父容器不限制高度、不出现滚动 */ .wikitable, .wikitable * { max-height: none !important; overflow: visible !important; } } /* 桌面端样式 */ .table-container { display: flex; flex-wrap: nowrap; } .table-box { flex: 1 1 auto; } .desktop-text { width: 35%; float: left; padding-left: 10px; } .mobile-text { display: none; clear: both; margin-top: 10px; } /* 手机端样式 */ @media (max-width: 768px) { .table-container { display: block; } .desktop-text { display: none; } .mobile-text { display: block; } .wikitable { width: 100% !important; float: none !important; overflow: visible !important; max-height: none !important; } } .region-group { margin-bottom: 1.5em; padding: 10px; border: 1px solid #282828; border-radius: 6px; background-color: #1a1a1a; } .region-group h3 { font-size: 1.3em; margin-top: 0; margin-bottom: 10px; padding-bottom: 5px; border-bottom: 1px solid #3a3a3a; } .dialect-list { display: grid; grid-template-columns: 1fr; gap: 10px; list-style: none; padding: 0; margin: 0; } @media (min-width: 600px) { .dialect-list { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 900px) { .dialect-list { grid-template-columns: repeat(3, 1fr); } } .dialect-list li { background-color: #2a2a2a; padding: 8px 12px; border-radius: 4px; display: flex; align-items: center; } .dialect-list li .place { color: #e0e0e0; font-weight: normal; } .dialect-list li .pronunciation { color: #ffd700; font-family: 'Consolas', 'Monaco', monospace; margin-left: 20px; white-space: nowrap; } a { color: #82b1ff; text-decoration: none; } a:hover { text-decoration: underline; } .toggle-pronunciation-btn { display: inline-block; padding: 6px 12px; background-color: #444; color: #fff; border-radius: 5px; cursor: pointer; font-size: 90%; user-select: none; } .toggle-pronunciation-btn:hover { background-color: #666; }
返回
MediaWiki:Common.css
。
查看“︁MediaWiki:Common.css”︁的源代码
MediaWiki界面页面