Template:首页/styles.css:修订间差异

删除的内容 添加的内容
恢复并修复:移除 margin:0 auto,改为 .home-search-row 选择器避免 flex 冲突
标签:已被回退
删除自定义 home-random-btn 样式,cdx-button 补齐 vertical-align 对齐
标签:已被回退
第51行:
gap: 12px;
flex-wrap: wrap;
}
 
/* ==== 试试手气按钮 ==== */
.home-random-btn {
display: inline-flex;
align-items: center;
padding: 10px 24px;
font-size: 1em;
background: #36c;
color: #fff !important;
border-radius: 2px;
text-decoration: none !important;
cursor: pointer;
white-space: nowrap;
transition: background 0.1s;
font-family: inherit;
}
.home-random-btn:hover {
background: #2a4b8d;
text-decoration: none !important;
}
 
第84行 ⟶ 第64行:
font-size: 1em;
padding: 10px 24px;
vertical-align: middle;
}