MediaWiki:Common.css:修订间差异

来自23世纪百科
无编辑摘要
无编辑摘要
 
(未显示同一用户的2个中间版本)
第20行: 第20行:
.latest-entries-box li {
.latest-entries-box li {
   background: none !important;
   background: none !important;
   font-weight: 600;
   font-weight: 400;
   /* 把 li 内的所有内容清空 */
   /* 把 li 内的所有内容清空 */
   font-size: 0;
   font-size: 0;
第26行: 第26行:
.latest-entries-box li .mw-newpages-pagename {
.latest-entries-box li .mw-newpages-pagename {
   font-size: 1rem;  /* 恢复标题文字大小 */
   font-size: 1rem;  /* 恢复标题文字大小 */
   font-weight: 600;
   font-weight: 400;
}
}

2025年9月9日 (二) 21:31的最新版本

/* 这里放置的CSS将应用于所有皮肤 */

/* 外框样式 */
.latest-entries-box {
  border: 2px solid #aaa;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 1em 0;
}

/* 列表样式 */
.latest-entries-box ul,
.latest-entries-box li {
  list-style-type: disc;
  margin-left: 1.4em;
}

/* 只保留标题链接 */
.latest-entries-box li {
  background: none !important;
  font-weight: 400;
  /* 把 li 内的所有内容清空 */
  font-size: 0;
}
.latest-entries-box li .mw-newpages-pagename {
  font-size: 1rem;   /* 恢复标题文字大小 */
  font-weight: 400;
}