The editors' meeting has been canceled for technical reasons.

Template:DateTitleList/styles.css:修订间差异

来自NeuroWiki
跳转到导航 跳转到搜索
创建页面,内容为“→‎固定日期宽度并设置样式:​ .date-link { display: inline-block; width: 8em; →‎固定宽度,确保对齐:​ text-align: right; →‎日期内容靠右对齐:​ } →‎调整链接的整体外观:​ .date-link a { text-decoration: none; →‎去掉下划线:​ color: inherit; →‎使用默认颜色:​ } →‎小号斜体年份样式:​ .small-year { font-size: 0.9em; →‎调整字号为小号:​ font-style: italic; /* 设置斜…”
 
无编辑摘要
第1行: 第1行:
/* 固定日期宽度并设置样式 */
.template-outer {
.date-link {
  font-family: Arial, sans-serif;
    display: inline-block;
    width: 8em; /* 固定宽度,确保对齐 */
    text-align: right; /* 日期内容靠右对齐 */
}
}


/* 调整链接的整体外观 */
.template-outer li {
.date-link a {
  display: flex;
    text-decoration: none; /* 去掉下划线 */
  align-items: baseline;
    color: inherit; /* 使用默认颜色 */
}
}


/* 小号斜体年份样式 */
.template-outer li span.date {
.small-year {
  width: 5em; /* 固定宽度 */
    font-size: 0.9em; /* 调整字号为小号 */
  text-align: right;
    font-style: italic; /* 设置斜体 */
  margin-right: 0.5em;
    opacity: 0.8; /* 增加透明度,让其更柔和 */
}
 
.template-outer li span.content {
  flex-grow: 1;
}
}

2025年1月23日 (四) 00:41的版本

.template-outer {
  font-family: Arial, sans-serif;
}

.template-outer li {
  display: flex;
  align-items: baseline;
}

.template-outer li span.date {
  width: 5em; /* 固定宽度 */
  text-align: right;
  margin-right: 0.5em;
}

.template-outer li span.content {
  flex-grow: 1;
}