模板:Breadcrumb/styles.css:修订间差异
来自RIA | Wiki
更多操作
优化颜色 |
样式优化 标签:mobile edit mobile web edit advanced mobile edit |
||
| 第21行: | 第21行: | ||
/* 行内化无序列表 */ | /* 行内化无序列表 */ | ||
.template-breadcrumb li { | .template-breadcrumb li { | ||
display: inline | display: inline; | ||
margin: 0; | |||
padding: 0; | |||
} | } | ||
2022年3月19日 (六) 22:48的最新版本
/* Template:Breadcrumb 的样式表 */
/* == 核心样式 == */
/* 添加内边距, 改变文本颜色 */
.template-breadcrumb {
padding: 0.25em 0.5em;
color: rgb(47, 53, 60);
}
/* 移除边距、列表样式, 重设字体大小 */
.template-breadcrumb ul {
margin: 0;
padding: 0;
list-style-type: none;
font-size: 0.875em;
}
/* 行内化无序列表 */
.template-breadcrumb li {
display: inline;
margin: 0;
padding: 0;
}
/* 生成导航符号 */
.template-breadcrumb li:before {
content: "/\00A0";
/* 斜杠 (U+002F) + 不换行空格 (U+00A0)
* 添加额外空格是为了和左边的固有空格 (display: inline-block 产生) 匹配 */
}
/* 移除首个列表项的导航符号 */
.template-breadcrumb li:first-child:before {
content: none;
margin: 0;
}
/* == 自定义样式 == */
/* 分类导航栏 */
.catnav, .template-breadcrumb.catnav {
background-color: rgb(247, 235, 250);
border: 1px outset rgb(247, 235, 250);
}