希顶维基:首页/样式.css:修订间差异
外观
< 希顶维基:首页
无编辑摘要 |
无编辑摘要 |
||
| 第76行: | 第76行: | ||
width: calc(50% - 8px); | width: calc(50% - 8px); | ||
justify-content: space-between; | justify-content: space-between; | ||
color: inherit; | |||
border: 1px solid white; | |||
} | } | ||
2025年7月22日 (二) 13:34的版本
h2 {
display: inline-block;
padding: 0;
}
.wiki-tools {
display: none;
position: absolute;
right: 0;
top: 1rem;
}
.wiki-tools a {
margin-right: 1em;
}
.main-page-header {
text-align: center;
position: relative;
padding: 1em;
background: var(--color-base-fixed, #FDFCFA);
}
.main-page-hello {
font-size: 28px;
}
.main-page-header p {
margin: 0;
}
.main-page-header img {
display: none;
left: 0;
bottom: 0;
position: absolute;
width: auto;
height: 100%;
}
.fanse {
filter: invert(1);
}
.main-page-frame {
margin-top: 9px;
border-radius: 8px;
padding: 16px 20px;
box-shadow: 0 2px 6px 0 var(--background-color-neutral-subtle);
}
.chinese .main-page-frame > h2 {
margin: 0;
letter-spacing: 4px; /* XXX: Chinese only */
font: 20px/2 "Noto Serif CJK SC", PMingLiU, MingLiU, STSong, STZhongsong, SimSun, 宋体, XEGOEPUAall, serif;
border-bottom: none; /* 暂留此句,因为 Common.css 里还在 */
}
@media screen and (min-width: 720px) {
.main-page-left {
width: 66%;
float: left;
}
.main-page-right {
width: 33%;
float: right;
}
.wiki-tools, .main-page-header img {
display: block;
}
}
.btns {
display: flex;
flex-wrap: wrap;
}
.btns a {
padding: 2px;
display: flex;
width: calc(50% - 8px);
justify-content: space-between;
color: inherit;
border: 1px solid white;
}
.btns a span:last-child {
flex: 1;
}