跳转到内容
打开/关闭搜索
搜索
打开/关闭菜单
1
条目
2
文件
8
用户
591
编辑
ANACHRONISM
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
打开/关闭外观设置菜单
无法加载外观设置。请检查您的网络连接并重试。
重试
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
登录
请求账号
查看“︁模板:标识符/styles.css”︁的源代码
来自ANACHRONISM
查看
阅读
查看源代码
查看历史
相关页面
模板
讨论
更多操作
更多
工具
链入页面
相关更改
页面信息
←
模板:标识符/styles.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
旅人
您可以查看和复制此页面的源代码。
/* ===== 容器 ===== */ .wiki-marker { position: relative; display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; min-height: 2.5rem; padding: 0.5rem 6rem; 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.5; } /* ===== 四角箭头:呼吸发光 ===== */ .wiki-marker__corner { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; font-size: 1.5rem; line-height: 1; color: rgba(255, 255, 255, 0.6); user-select: none; animation: wiki-marker-corner-glow 2s ease-in-out infinite; } @keyframes wiki-marker-corner-glow { 0%, 100% { text-shadow: 0 0 3px rgba(255, 215, 221, 0.7), 0 0 6px rgba(139, 26, 43, 0.5); } 50% { text-shadow: 0 0 5px rgba(255, 215, 221, 1), 0 0 12px rgba(139, 26, 43, 0.9), 0 0 20px rgba(139, 26, 43, 0.6); } } .wiki-marker__corner--tl { top: 0.15rem; left: 0.15rem; transform: rotate(0deg); } .wiki-marker__corner--tr { top: 0.15rem; right: 0.15rem; transform: rotate(90deg); } .wiki-marker__corner--br { bottom: 0.15rem; right: 0.15rem; transform: rotate(180deg); } .wiki-marker__corner--bl { bottom: 0.15rem; left: 0.15rem; transform: rotate(-90deg); } /* ===== 说明文字(PC 端显示)===== */ .wiki-marker__label { flex: 0 1 auto; min-width: 0; text-align: center; color: #fff; overflow: hidden; text-overflow: ellipsis; } .wiki-marker__label a { color: inherit !important; text-decoration: none !important; } .wiki-marker__label a:hover { color: #ffd7dd !important; text-decoration: none !important; } /* ===== 类型短名(移动端才显示)===== */ .wiki-marker__type { display: none; flex: 0 0 auto; font-weight: bold; color: #ffd7dd; } /* ===== 作者栏 ===== */ .wiki-marker__author { position: absolute; top: 50%; right: 2rem; transform: translateY(-50%); 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; white-space: nowrap; line-height: 1.5; } .wiki-marker__author a { color: #fff !important; text-decoration: underline !important; } /* ===== 空节点不占空间 ===== */ .wiki-marker__type:empty, .wiki-marker__author:empty, .wiki-marker__label:empty { display: none !important; } /* ===== 夜间模式 ===== */ html.skin-theme-clientpref-night .wiki-marker, html.skin-theme-clientpref-pureblack .wiki-marker { background: linear-gradient(90deg, #3a0008 0%, #6b1010 50%, #3a0008 100%); } /* ============================================ 移动端(≤700px):只显示类型 + 作者 ============================================ */ @media (max-width: 700px) { .wiki-marker { padding: 0.5rem 2.5rem; gap: 0.75rem; justify-content: center; } .wiki-marker__label { display: none; } .wiki-marker__type { display: inline-block; font-size: 0.85rem; } .wiki-marker__author { position: static; transform: none; padding-left: 0.75rem; border-left: 1px solid rgba(255, 255, 255, 0.35); font-size: 0.8rem; } }
返回
模板:标识符/styles.css
。
查看“︁模板:标识符/styles.css”︁的源代码
来自ANACHRONISM