跳转到内容
打开/关闭搜索
搜索
打开/关闭菜单
1
条目
2
文件
8
用户
591
编辑
ANACHRONISM
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
打开/关闭外观设置菜单
无法加载外观设置。请检查您的网络连接并重试。
重试
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
登录
请求账号
查看“︁模板:标识符/styles.css”︁的源代码
来自ANACHRONISM
查看
阅读
查看源代码
查看历史
相关页面
模板
讨论
更多操作
更多
工具
链入页面
相关更改
页面信息
←
模板:标识符/styles.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
旅人
您可以查看和复制此页面的源代码。
.wiki-marker { /* 定位:给四角箭头做参照 */ position: relative; /* 布局:横向 flex,宽度撑满容器,永不换行 */ display: flex; align-items: center; gap: 0.5rem; width: 100%; min-height: 2.25rem; padding: 0.45rem 2.25rem; box-sizing: border-box; white-space: nowrap; overflow: hidden; /* 视觉:暗红渐变底色 + 圆角 */ border-radius: 0.4rem; background: linear-gradient(90deg, #56000d 0%, #8b1a2b 50%, #56000d 100%); color: #fff; font-size: 0.88rem; line-height: 1.4; } /* 四角箭头:纯装饰 */ .wiki-marker__corner { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 1.4rem; height: 1.4rem; font-size: 1.5rem; line-height: 1; color: rgba(255, 255, 255, 0.55); user-select: none; } .wiki-marker__corner--tl { top: 0; left: 0; transform-origin: top left; } .wiki-marker__corner--tr { top: 0; right: 0; transform-origin: top right; transform: rotate(90deg); } .wiki-marker__corner--br { bottom: 0; right: 0; transform-origin: bottom right; transform: rotate(180deg); } .wiki-marker__corner--bl { bottom: 0; left: 0; transform-origin: bottom left; transform: rotate(-90deg); } /* 说明文字(可点击) */ .wiki-marker__label { flex: 1 1 auto; min-width: 0; text-align: center; color: #fff; text-decoration: none; overflow: hidden; text-overflow: ellipsis; } .wiki-marker__label:hover { color: #ffd7dd; text-decoration: none; } /* 作者栏 */ .wiki-marker__author { flex: 0 0 auto; padding-left: 0.75rem; border-left: 1px solid rgba(255, 255, 255, 0.35); color: rgba(255, 255, 255, 0.92); font-size: 0.82rem; } .wiki-marker__author a { color: #fff; text-decoration: underline; } /* 夜间模式:加深一层底色,白字保持可读 */ html.skin-theme-clientpref-night .wiki-marker, html.skin-theme-clientpref-pureblack .wiki-marker { background: linear-gradient(90deg, #3a0008 0%, #6b1010 50%, #3a0008 100%); }
返回
模板:标识符/styles.css
。
查看“︁模板:标识符/styles.css”︁的源代码
来自ANACHRONISM