今天是2026年9月21日 第39周 星期一
代人,时大变了。
我们生活在大地上,但我们的梦想超越天空。
“MediaWiki:Timeless.css”的版本间的差异
跳到导航
跳到搜索
(我还是没有更好的配色方案,先留着) 标签:移动网页编辑 移动版编辑 |
(// Edit via Wikiplus) |
||
| 第33行: | 第33行: | ||
box-shadow: 0 1px 2px rgba(0,0,0,0.05); | box-shadow: 0 1px 2px rgba(0,0,0,0.05); | ||
} | } | ||
| + | |||
| + | /*Navbox*/ | ||
| + | |||
.navbox, | .navbox, | ||
.navbox-subgroup { | .navbox-subgroup { | ||
background: #fdfdfd; /* Background color */ | background: #fdfdfd; /* Background color */ | ||
| − | |||
} | } | ||
.navbox-list { | .navbox-list { | ||
2020年7月2日 (四) 14:47的版本
/* CSS placed here will affect users of the Timeless skin */
/* T161423 */
.infobox {
border-collapse: separate;
}
/* T173151 */
.mw-changeslist-legend dt {
margin: 0 0.5em 0 0 !important;
}
/* Better behavior when placed next to infoboxes etc */
#toc {
display:table;
}
/* Make sure the list of links is on it's own line.. */
#mw-footer #copyright {
display: block;
}
/* 更适合Timeless的按钮 */
.mw-ui-button {
padding: 0.25em 1em 0.1em 1em;
border: solid 1px #cccccc;
border-bottom-width: 1px;
border-bottom-width: 0.2em;
text-shadow: 0 -1px 0 #cccccc;
box-sizing: border-box;
border-radius: 0.2em;
min-height: 30px;
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
/*Navbox*/
.navbox,
.navbox-subgroup {
background: #fdfdfd; /* Background color */
}
.navbox-list {
border-color: #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
background: #ccccff; /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background: transparent; /* Odd row striping */
}