希顶维基:首页/样式.css:修订间差异
< 希顶维基:首页
无编辑摘要 |
无编辑摘要 |
||
第4行: | 第4行: | ||
.wiki-tools { |
.wiki-tools { |
||
display: none; |
display: none; |
||
position: absolute; |
|||
right: 0; |
|||
top: 1rem; |
|||
} |
} |
||
.main-page-header { |
.main-page-header { |
||
text-align: center; |
text-align: center; |
||
position: relative; |
|||
} |
} |
||
.main-page-hello { |
.main-page-hello { |
||
font-size: 1.5rem; |
font-size: 1.5rem; |
||
} |
} |
||
.main-page-frame > h2 { |
.main-page-frame > h2 { |
||
padding: 0.2rem; |
padding: 0.2rem; |
||
第28行: | 第29行: | ||
width: 35%; |
width: 35%; |
||
float: right; |
float: right; |
||
} |
|||
.main-page-header::before { |
|||
content: ' '; |
|||
color: #eabeae; |
|||
position: absolute; |
|||
left: 0; |
|||
bottom: 0; |
|||
} |
} |
||
.wiki-tools { |
.wiki-tools { |
||
float: right; |
|||
display: block; |
display: block; |
||
} |
} |
2022年9月27日 (二) 09:23的版本
/* 完成后移动至 [[XW:首页/样式.css]] 并修改对应调用 */
.wiki-tools {
display: none;
position: absolute;
right: 0;
top: 1rem;
}
.main-page-header {
text-align: center;
position: relative;
}
.main-page-hello {
font-size: 1.5rem;
}
.main-page-frame > h2 {
padding: 0.2rem;
font-size: 1.5rem;
border-bottom: 2px solid #c30;
}
@media screen and (min-width: 720px) {
.main-page-left {
width: 62%;
float: left;
}
.main-page-right {
width: 35%;
float: right;
}
.main-page-header::before {
content: ' ';
color: #eabeae;
position: absolute;
left: 0;
bottom: 0;
}
.wiki-tools {
display: block;
}
}