打开/关闭搜索
搜索
打开/关闭菜单
1
1.2K
20
1.6K
光圈共享
导航
首页
最近更改
随机照片
随机截图
特殊页面
上传文件
游览图片
精选图片
优质图片
每日图片
游戏截图
现实摄影
所有图片
打开/关闭外观设置菜单
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
查看“︁模块:Infobox/styles.css”︁的源代码
来自光圈共享
查看
阅读
查看源代码
查看历史
associated-pages
模块
讨论
更多操作
←
模块:Infobox/styles.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:emailconfirmed
您可以查看和复制此页面的源代码。
.infobox { max-width: 400px; background: var(--color-surface-2); border-radius: 8px; box-shadow: var(--box-shadow-drop-medium); margin: 0; padding: 0; font-size: 0.875rem; overflow: hidden; float: right; margin-left: 16px; } .infobox-align-left { margin-right: auto; float: left; margin-right: 16px; } .infobox-align-center { margin-left: auto; margin-right: auto; float: none; } .infobox-align-right { margin-left: auto; float: right; margin-left: 16px; } .infobox-header { padding: 16px; border-bottom: 1px solid var(--border-color-base); display: flex; align-items: center; } .infobox-logo { margin-left: 8px; align-self: center; } .infobox-title-and-subtitle { display: flex; flex-direction: column; } .infobox-title { font-size: 1.4rem; margin: 0; color: var(--color-emphasized); font-weight: bold; } .infobox-subtitle { font-size: 0.9em; color: var(--color-subtle); margin: 0; } .infobox-section { padding: 12px 16px; border-bottom: 1px solid var(--border-color-base); } .infobox-columns { display: grid; gap: 12px; } .columns-1 { grid-template-columns: repeat(1, 1fr); } .columns-2 { grid-template-columns: repeat(2, 1fr); } .columns-3 { grid-template-columns: repeat(3, 1fr); } .infobox-columns .label { font-size: 0.8125rem; color: var(--color-subtle); margin-bottom: 2px; } .infobox-columns .value { font-weight: 600; word-break: break-word; } .tabber.infobox-tabber { border-radius: 8px 8px 0 0; } .tabber .tabbertab { padding: 0; } .infobox-image { text-align: center; line-height: 0; } .infobox-image img { max-width: 100%; height: auto; object-fit: cover; } @media (max-width: 720px) { .infobox { width: 95%; margin: 1rem auto; float: none; } .columns-2, .columns-3 { grid-template-columns: 1fr; } } .title-style-left { justify-content: space-between; } .title-style-center { justify-content: center; gap: 16px; flex-direction: row-reverse; } .infobox-logo { margin-left: 0; align-self: center; }
返回
模块:Infobox/styles.css
。
查看“︁模块:Infobox/styles.css”︁的源代码
来自光圈共享