The editors' meeting has been canceled for technical reasons.

Template:DateTitleList/styles.css: Difference between revisions

From NeuroWiki
Jump to navigation Jump to search
Created page with ".date-title-list { font-family: Arial, sans-serif; line-height: 1.6; →‎行高: } .date-title-list li { display: flex; align-items: baseline; gap:16px; } .date-title-list li b{ width: 5em; →‎固定宽度,确保对齐: } .date-title-list li .date { text-align: right; →‎日期右对齐: } .date-title-list li .content { flex-grow: 1; }"
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
.date-title-list {
.date-title-list {
  font-family: Arial, sans-serif;
font-family: Arial, sans-serif;
  line-height: 1.6; /* 行高 */
line-height: 1.6; /* 行高 */
margin: 1px 0 0 0;
flex:1;
background:#E3C3AD;
}
}


.date-title-list li {
.date-title-list li {
  display: flex;
display: flex;
  align-items: baseline;
align-items: baseline;
  gap:16px;
gap:16px;
margin-bottom: 1px;
padding: 2px 5px;
}
}


.date-title-list li b{
.date-title-list li b{
  width: 5em; /* 固定宽度,确保对齐 */
min-width:4.6em; /* 固定宽度,确保对齐 */
}
}


.date-title-list li .date {
.date-title-list li .date {
  text-align: right; /* 日期右对齐 */
text-align: right; /* 日期右对齐 */
}
}


.date-title-list li .content {
.date-title-list li .content {
  flex-grow: 1;
flex-grow: 1;
}
/* 表格页通用样式 */
.neuro{
background:#e3c3ad;
}
.evil{
background:#B30239;
text-shadow:-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,1px 1px 0 #fff;
}
.neuro-evil{
background:#cb6273;
text-shadow:-1px -1px 0 #e3c3ad,1px -1px 0 #e3c3ad,-1px 1px 0 #e3c3ad,1px 1px 0 #e3c3ad;
}
.neuro-vedal{
background:#96ba8c;
text-shadow:-1px -1px 0 #4ab06b,1px -1px 0 #4ab06b,-1px 1px 0 #4ab06b,1px 1px 0 #4ab06b;
}
.evil-vedal{
background:#7e5952;
text-shadow:-1px -1px 0 #4ab06b,1px -1px 0 #4ab06b,-1px 1px 0 #4ab06b,1px 1px 0 #4ab06b;
}
.vedal{
background:#4ab06b;
}
.neuro-evil-vedal{
background:#a07c70;
color:#fff;
}
}

Latest revision as of 09:06, 23 January 2025

.date-title-list {
	font-family: Arial, sans-serif;
	line-height: 1.6; /* 行高 */
	margin: 1px 0 0 0;
	flex:1;
	background:#E3C3AD;
}

.date-title-list li {
	display: flex;
	align-items: baseline;
	gap:16px;
	margin-bottom: 1px;
	padding: 2px 5px;
}

.date-title-list li b{
	min-width:4.6em; /* 固定宽度,确保对齐 */
}

.date-title-list li .date {
	text-align: right; /* 日期右对齐 */
}

.date-title-list li .content {
	flex-grow: 1;
}
/* 表格页通用样式 */
.neuro{
	background:#e3c3ad;
}
.evil{
	background:#B30239;
	text-shadow:-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,1px 1px 0 #fff;
}
.neuro-evil{
	background:#cb6273;
	text-shadow:-1px -1px 0 #e3c3ad,1px -1px 0 #e3c3ad,-1px 1px 0 #e3c3ad,1px 1px 0 #e3c3ad;
}
.neuro-vedal{
	background:#96ba8c;
	text-shadow:-1px -1px 0 #4ab06b,1px -1px 0 #4ab06b,-1px 1px 0 #4ab06b,1px 1px 0 #4ab06b;
}
.evil-vedal{
	background:#7e5952;
	text-shadow:-1px -1px 0 #4ab06b,1px -1px 0 #4ab06b,-1px 1px 0 #4ab06b,1px 1px 0 #4ab06b;
}
.vedal{
	background:#4ab06b;
}
.neuro-evil-vedal{
	background:#a07c70;
	color:#fff;
}