模板:时间轴/Timeline.css:修订间差异

(创建页面,内容为“body { font-size: 14px; line-height: 1.5; } h1 { font-size: 2rem; margin-bottom: .5em; } p { font-family: 'Roboto', sans-serif; font-size: .8rem; } .contain…”)
 
无编辑摘要
 
(未显示同一用户的9个中间版本)
第12行: 第12行:
font-family: 'Roboto', sans-serif;
font-family: 'Roboto', sans-serif;
font-size: .8rem;
font-size: .8rem;
}
}


.container {
.container {
font-weight:bold;
max-width: 1024px;
max-width: 1024px;
width: 90%;
width: 90%;
第41行: 第43行:
height: 10px;
height: 10px;
display: block;
display: block;
top: 1em;
top: 3.2rem;
position: absolute;
position: absolute;
left: -7px;
left: -7px;

2020年4月6日 (一) 17:16的最新版本

body {
	font-size: 14px;
	line-height: 1.5;
}

h1 {
	font-size: 2rem;
	margin-bottom: .5em;
}

p {
	font-family: 'Roboto', sans-serif;
	font-size: .8rem;

}

.container {
	font-weight:bold;
	max-width: 1024px;
	width: 90%;
	margin: 0 auto;
}

.timeline-item {
	padding: 3em 2em 2em;
	position: relative;
	color: #1D1D1D;
	border-left: 2px solid ;
}
.timeline-item::before {
		content: attr(date-is);
		position: absolute;
		left: 2em;
		font-weight: bold;
		top: 1em;
		display: block;
		font-family: 'Roboto', sans-serif;
		font-weight: 700;
		font-size: .785rem;
}
.timeline-item::after {
		width: 10px;
		height: 10px;
		display: block;
		top: 3.2rem;
		position: absolute;
		left: -7px;
		border-radius: 10px;
		content: '';
		border: 2px solid;
		background: white;
}