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

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

模块:Infobox/styles.css

来自RIA | Wiki
Aunst留言 | 贡献2024年10月27日 (日) 21:30的版本 (调整css)
.infobox {
  border: 1px solid rgb(162, 169, 177);
  border-spacing: 3px;
  width: 100%;
  padding: 0.2rem;
  font-size: 0.875em;
  line-height: 1.5;
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar {
  vertical-align: top;
}

.infobox-label, .infobox-data {
  text-align: left;
}

.infobox-header, .infobox-subheader, .infobox-image, .infobox-full-data, .infobox-below {
  text-align: center;
}

.infobox-above,
.infobox-title {
  text-align: center;
  font-size: 1.25em;
  font-weight: bold;
}

.infobox-title {
  padding: 0.2em;
}

.infobox-navbar {
  text-align: right;
}

.infobox .navbar {
  font-size: 1em;
}

@media (min-width: 720px) {
  .infobox {
    margin: 0.5em 0 0.5em 1em;
    width: 22em;
    float: right;
    clear: right;
  }
}

@media screen {
  .infobox {
    background-color: rgb(248, 249, 250);
  }

  html.skin-theme-clientpref-night .infobox {
    background-color: rgb(32, 33, 34);
    border-color: rgb(84, 89, 93);
  }
}

body.skin-minerva .infobox {
  position: relative;
  display: flex;
  flex: 1 1 100%;
  flex-flow: column nowrap;
  margin-bottom: 2rem;
}

body.skin-minerva .infobox caption {
  padding: 10px 10px 0;
  text-align: center;
}

body.skin-minerva .infobox th,
body.skin-minerva .infobox td {
  border: none;
  border-bottom: 1px solid rgb(162, 169, 177);
  padding: 7px 10px;
  vertical-align: top;
}

body.skin-minerva .infobox tbody > tr > td,
body.skin-minerva .infobox tbody > tr > th {
  flex: 1 0;
}

body.skin-minerva .infobox td:only-child,
body.skin-minerva .infobox th:only-child {
  width: 100%;
}

body.skin-minerva .infobox tr:last-child th,
body.skin-minerva .infobox tr:last-child td {
  border: none;
}

body.skin-minerva .infobox > tbody, body.skin-minerva .infobox > caption {
  display: flex;
  flex-flow: column nowrap;
}

body.skin-minerva .infobox > tbody > tr {
  display: flex;
  flex-flow: row nowrap;
  min-width: 100%;
}

@media screen {
  html.skin-theme-clientpref-night body.skin-minerva .infobox th,
  html.skin-theme-clientpref-night body.skin-minerva .infobox td {
    border-bottom-color: rgb(84, 89, 93);
  }
}