希顶维基:首页/样式.css:修订间差异
外观
< 希顶维基:首页
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的35个中间版本) | |||
| 第1行: | 第1行: | ||
h2 { | |||
display: inline-block; | |||
padding: 0; | |||
} | |||
.wiki-tools { | .wiki-tools { | ||
display: none; | display: none; | ||
| 第6行: | 第8行: | ||
right: 0; | right: 0; | ||
top: 1rem; | top: 1rem; | ||
text-align: right; | |||
} | } | ||
.wiki-tools a { | .wiki-tools a { | ||
| 第13行: | 第16行: | ||
text-align: center; | text-align: center; | ||
position: relative; | position: relative; | ||
padding: | padding: 1em; | ||
} | } | ||
.main-page-hello { | .main-page-hello { | ||
font-size: 28px; | font-size: 28px; | ||
| 第21行: | 第25行: | ||
margin: 0; | margin: 0; | ||
} | } | ||
.main-page-frame > h2 { | .main-page-header img { | ||
display: none; | |||
font | left: 0; | ||
border-bottom: | 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) { | @media screen and (min-width: 720px) { | ||
.main-page-left { | .main-page-left { | ||
width: | width: 66%; | ||
float: left; | float: left; | ||
} | } | ||
.main-page-right { | .main-page-right { | ||
width: | width: 33%; | ||
float: right; | float: right; | ||
} | } | ||
.wiki-tools { | .wiki-tools, .main-page-header img { | ||
display: block; | 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; | |||
} | } | ||
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;
}