跳转到内容

模板:物品展示/styles.css:修订间差异

来自Wymbot 共创站
NotBot​(留言 | 贡献)
建立模块化物品展示及用户提供的测试数据(不迁移旧掉落)
 
NotBot​(留言 | 贡献)
恢复旧站紧凑灰底收集度折叠表格,修复来源表其他单元格的异常段落间距
 
第3行: 第3行:
.wum-item-block.wum-item-image .thumb { margin: 0; }
.wum-item-block.wum-item-image .thumb { margin: 0; }
.wum-item-block .wum-item-table { max-width: 100%; }
.wum-item-block .wum-item-table { max-width: 100%; }
.wum-item-block .wum-item-collection-entry { border: 1px solid #a2a9b1; margin-block: 0.5em; padding: 0.5em; }
.wum-item-block table.wum-item-collection-entry { width: auto; max-width: 100%; margin: 1em 0; }
.wum-item-block .wum-item-collection-heading { font-weight: bold; }
.wum-item-block .wum-item-collection-heading { font-weight: bold; }
.wum-item-block .wum-item-literal { white-space: pre-wrap; overflow-wrap: anywhere; }
.wum-item-block .wum-item-literal { white-space: pre-wrap; overflow-wrap: anywhere; }
.wum-item-block .wum-item-other > p:first-child { margin-top: 0; }
.wum-item-block .wum-item-other > p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
@media (max-width: 600px) {
     .wum-item-block.wum-item-image { float: none; margin-inline-start: 0; }
     .wum-item-block.wum-item-image { float: none; margin-inline-start: 0; }

2026年10月24日 (六) 12:37的最新版本

.wum-item-block { margin-block: 0.6em; }
.wum-item-block.wum-item-image { float: right; margin-inline-start: 1em; }
.wum-item-block.wum-item-image .thumb { margin: 0; }
.wum-item-block .wum-item-table { max-width: 100%; }
.wum-item-block table.wum-item-collection-entry { width: auto; max-width: 100%; margin: 1em 0; }
.wum-item-block .wum-item-collection-heading { font-weight: bold; }
.wum-item-block .wum-item-literal { white-space: pre-wrap; overflow-wrap: anywhere; }
.wum-item-block .wum-item-other > p:first-child { margin-top: 0; }
.wum-item-block .wum-item-other > p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
    .wum-item-block.wum-item-image { float: none; margin-inline-start: 0; }
    .wum-item-block.wum-item-image .thumb { float: none; }
    .wum-item-block .wum-item-table { display: block; overflow-x: auto; }
}