跳转到内容

Template:公报/styles.css

維基文庫,自由的圖書館
.wst-date {
  font-family: 仿宋, STFangsong, FangSong, serif;
}
.mw-heading h1, .mw-heading h2, .mw-heading h3 {
  all: revert;
  font-family: 小标宋, 方正小标宋, 方正小标宋简体, 方正小标宋_GBK, STZhongsong, STSong, NSimSun, SimSun, serif;
}
div, p {
  font-family: 宋体, STSong, NSimSun, SimSun, serif;
}
.mw-heading h2 small, p b {
  all: revert;
  font-family: 黑体, STHeiti, Hiragino Sans GB, SimHei, sans-serif;
}
.mw-heading1, .mw-heading2, .mw-heading3, .wst-date-center {
  text-align: center;
}
.wst-date-left2 {
  text-align: left;
  text-indent: 2em;
}
div, p, .mw-heading h1, .mw-heading h2, .mw-heading h3 {
  margin: 0;
  padding: 0;
  border-bottom: none;
  line-height: normal;
}
div, p {
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 2rem;
}
.wst-date {
  font-size: 1.2rem;
}
.mw-heading h1 {
  font-size: 2rem;
}
.mw-heading h2 {
  font-size: 1.75rem;
}
.mw-heading h3 {
  font-size: 1.5rem;
}
.mw-heading1 {
  margin-top: 2rem;
}
.mw-heading2 {
  margin-top: 1.5rem;
}
.mw-heading3 {
  margin-top: 1rem;
}
.mw-heading h2 small {
  display: block;
  text-align: left;
}
.mw-heading + .wst-date {
  margin-top: 1rem;
}
.mw-heading1 + .mw-heading2,
.mw-heading2 + .mw-heading3 {
  margin-top: 1.5rem;
}
.mw-heading1 + .wst-date {
  margin-top: 1rem;
}
.mw-heading2 + .wst-date,
.wst-date + .wst-date {
  margin-top: 0;
}
.mw-heading1 + p,
.mw-heading1 + div,
.mw-heading2 + p,
.mw-heading2 + div,
.mw-heading3 + p,
.mw-heading3 + div,
.wst-date + p,
.wst-date + div {
  margin-top: 1rem;
}
div + div,
p + p,
p + div,
span + div,
div + p,
div:first-child,
p:first-child {
  margin-top: 0;
}