模板:最新卡面/行:修订间差异

无编辑摘要
无编辑摘要
 
第1行: 第1行:
<!-- 使用div class="card"包裹每个卡面 -->
<div class="card">
<div class="card">
     <!-- 卡面 -->
     <!-- 卡面 -->
第35行: 第34行:
     white-space: normal; /* 正常换行 */
     white-space: normal; /* 正常换行 */
     text-overflow: ellipsis; /* 用省略号表示溢出部分 */
     text-overflow: ellipsis; /* 用省略号表示溢出部分 */
}
/* Media Queries for Mobile Devices */
@media (max-width: 600px) {
    .card {
        flex: 1 1 150px; /* 调整基础宽度为150px */
        max-width: 150px; /* 设置卡片的最大宽度为150px */
    }
    .card-title {
        padding: 5px 0; /* 减小标题的上下内边距 */
        max-height: 40px; /* 设置标题的最大高度为40px */
    }
}
}
}}
}}

2024年7月16日 (二) 16:00的最新版本

   [[File:{{{ID}}}-卡面.webp|居中|200px|link={{{标题}}}]]
{{{标题}}}