打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

RIA Wiki 已更新到 1.41!部分 CSS 在新版本下可能有不同的表现,请编辑者注意检查和修改。 目前wiki关闭了自行注册账号的功能,如需注册账号,请查阅Help:注册账号

模板:Breadcrumb/styles.css:修订间差异

来自RIA | Wiki
Aunst留言 | 贡献
建立内容为“.template-breadcrumb ul { margin: 0; padding: 0.25em 0.5em; list-style-type: none; font-size: 0.875em; } .template-breadcrumb li { display: inline-bl…”的新页面
 
Aunst留言 | 贡献
样式优化
标签mobile edit mobile web edit advanced mobile edit
 
(未显示同一用户的2个中间版本)
第1行: 第1行:
/* Template:Breadcrumb 的样式表 */
/* == 核心样式 == */
/* 添加内边距, 改变文本颜色 */
.template-breadcrumb {
  padding: 0.25em 0.5em;
  color: rgb(47, 53, 60);
}
/* 移除边距、列表样式, 重设字体大小 */
.template-breadcrumb ul {
.template-breadcrumb ul {
   margin: 0;
   margin: 0;
   padding: 0.25em 0.5em;
   padding: 0;


   list-style-type: none;
   list-style-type: none;
第8行: 第19行:
}
}


/* 行内化无序列表 */
.template-breadcrumb li {
.template-breadcrumb li {
   display: inline-block;
   display: inline;
  margin: 0;
  padding: 0;
}
}


/* 生成导航符号 */
.template-breadcrumb li:before {
.template-breadcrumb li:before {
   content: "/\00A0";
   content: "/\00A0";
第18行: 第33行:
}
}


/* 移除首个列表项的导航符号 */
.template-breadcrumb li:first-child:before {
.template-breadcrumb li:first-child:before {
   content: none;
   content: none;
第23行: 第39行:
}
}


/* 自定义样式 */
/* == 自定义样式 == */
.catnav, .template-breadcrumb.catnav { /* 分类导航栏 */
/* 分类导航栏 */
   background-color: rgb(227, 215, 244);
.catnav, .template-breadcrumb.catnav {
   border: 1px outset rgb(227, 215, 244);
   background-color: rgb(247, 235, 250);
   border: 1px outset rgb(247, 235, 250);
}
}

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);
}