模板:Flex/Style.css:修订间差异
来自Limbo Wiki Mirror
< 模板:Flex
创建页面,内容为“.community-tabs { box-sizing: border-box; width: 100%; text-align: center; font-size: 110%; } .community-tabs ul { list-style: none; margin: 0; } .community-tabs li { margin: 0; } .community-tabs > ul > li { vertical-align: middle; padding: 0.3em; border: solid 1px #a2a9b1; border-top: 0; background-color: #069; color: white; } .community-tabs > ul > li.active { background-color: #d7e8f9; border-bottom-width: 0; color: black; } .community-tabs >…” |
小无编辑摘要 |
||
| 第63行: | 第63行: | ||
.community-tabs > ul > li { | .community-tabs > ul > li { | ||
display: table-cell; | display: table-cell; | ||
width: | min-width: 12em; | ||
} | } | ||
.community-tabs > ul > li.active { | .community-tabs > ul > li.active { | ||
2022年4月11日 (一) 12:49的版本
.community-tabs {
box-sizing: border-box;
width: 100%;
text-align: center;
font-size: 110%;
}
.community-tabs ul {
list-style: none;
margin: 0;
}
.community-tabs li {
margin: 0;
}
.community-tabs > ul > li {
vertical-align: middle;
padding: 0.3em;
border: solid 1px #a2a9b1;
border-top: 0;
background-color: #069;
color: white;
}
.community-tabs > ul > li.active {
background-color: #d7e8f9;
border-bottom-width: 0;
color: black;
}
.community-tabs > ul > li > ul {
font-size: 80%;
}
.community-tabs > ul > li > ul > li {
display: inline;
}
.community-tabs > ul > li > ul > li::after {
content: " •";
}
.community-tabs > ul > li > ul > li:last-child::after {
content: none;
}
.community-tabs li a {
color: inherit;
white-space: nowrap;
}
.community-tabs > ul > li.active a[href] {
color: #069;
}
.community-page-wrapper {
border: solid 1px #a2a9b1;
padding: .5em 1em 1em 1em;
border-top: none;
background-color: transparent;
color: inherit;
}
@media (min-width: 1000px) {
.community-tabs {
display: table;
border-collapse: collapse;
}
.community-tabs > ul {
display: table-row;
}
.community-tabs > ul > li {
display: table-cell;
min-width: 12em;
}
.community-tabs > ul > li.active {
border-bottom-width: 0;
}
}
