模板:Tabs/收纳表/styles.css:修订间差异
外观
小无编辑摘要 |
小无编辑摘要 |
||
| (未显示同一用户的1个中间版本) | |||
| 第1行: | 第1行: | ||
/* [[Category:CSS页面]] */ | /* [[Category:CSS页面]] */ | ||
/* 沒有前綴的給叫 stgt 的 class */ | /* 沒有前綴的給叫 stgt 的 class */ | ||
/* | |||
.stgt { | .stgt { | ||
width: auto; | width: auto; | ||
| 第17行: | 第18行: | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
} | } | ||
*/ | |||
.tabs-container { | .tabs-container { | ||
width: 100%; | width: 100%; | ||
| 第24行: | 第25行: | ||
.tabs-pages { | .tabs-pages { | ||
display: flex; | display: flex !important; | ||
list-style:none; | list-style:none; | ||
background-color:#e2e9f6; | background-color:#e2e9f6; | ||
2026年2月15日 (日) 13:20的最新版本
/* [[Category:CSS页面]] */
/* 沒有前綴的給叫 stgt 的 class */
/*
.stgt {
width: auto;
}
.sitm {
width: 35%;
display:inline-block;
white-space: normal;
}
.stab {
white-space: nowrap;
overflow:auto;
display:block;
flex-wrap: wrap;
}
*/
.tabs-container {
width: 100%;
margin-bottom:20px;
}
.tabs-pages {
display: flex !important;
list-style:none;
background-color:#e2e9f6;
border-radius:4px;
}
.tab:focus,
.tab:hover {
cursor: pointer;
}
.tab {
padding: 0.5em 1em;
color: #244786;
font-size:16px;
margin:0 0 0 1em;
}
.tab:hover {
background-color: #a4c2f8;
}
.tab.active {
background-color: #c3d8fc;
}
.tabs-contents {
width: 100%;
height: auto;
}
.tab-c {
display: none;
width: 100%;
height: auto;
}
.tab-c.active {
display: block;
}
.inner-content {
padding: .5em;
column-count:3;
border:solid #e2e9f6;
border-radius:4px;
border-width:0 3px 3px;
}