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

删除的内容 添加的内容
line-height→height:45px 精确匹配搜索按钮高度
更新选择器匹配 span+onclick 方案
第53行:
}
 
/* ==== 消除中间包裹层,让 form 直接成为 flex 项 ==== */
.home-search-row .mw-inputbox-centered {
display: contents;
}
 
/* ==== 试试手气:a 只做透明包裹按钮高度 ==== */
.home-search-row > a.cdx-button--fake-button--enabled {
display: inline-flex;
text-decoration: none !important;
}
.home-search-row > a:hover {
text-decoration: none !important;
}
.home-search-row > a .cdx-button {
height: 45px;
cursor: pointer;
}