希顶维基:首页/样式.css:修订间差异
外观
< 希顶维基:首页
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的4个中间版本) | |||
| 第8行: | 第8行: | ||
right: 0; | right: 0; | ||
top: 1rem; | top: 1rem; | ||
text-align: right; | |||
} | } | ||
.wiki-tools a { | .wiki-tools a { | ||
| 第16行: | 第17行: | ||
position: relative; | position: relative; | ||
padding: 1em; | padding: 1em; | ||
} | } | ||
| 第72行: | 第72行: | ||
.btns a { | .btns a { | ||
padding: | box-sizing: border-box; | ||
padding: 4px; | |||
display: flex; | |||
width: calc(50% - 4px); | |||
color: inherit; | |||
border: 1px solid white; | |||
background: none; | |||
} | |||
.btns a:hover { | |||
background: #e97; | |||
text-decoration: none; | |||
} | } | ||
2025年9月27日 (六) 15:28的最新版本
h2 {
display: inline-block;
padding: 0;
}
.wiki-tools {
display: none;
position: absolute;
right: 0;
top: 1rem;
text-align: right;
}
.wiki-tools a {
margin-right: 1em;
}
.main-page-header {
text-align: center;
position: relative;
padding: 1em;
}
.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 {
box-sizing: border-box;
padding: 4px;
display: flex;
width: calc(50% - 4px);
color: inherit;
border: 1px solid white;
background: none;
}
.btns a:hover {
background: #e97;
text-decoration: none;
}
.btns a span:last-child {
flex: 1;
}