<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://sls.wiki/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-Timeline.css</id>
	<title>MediaWiki:Gadget-Timeline.css - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://sls.wiki/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-Timeline.css"/>
	<link rel="alternate" type="text/html" href="https://sls.wiki/index.php?title=MediaWiki:Gadget-Timeline.css&amp;action=history"/>
	<updated>2026-05-30T20:27:42Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://sls.wiki/index.php?title=MediaWiki:Gadget-Timeline.css&amp;diff=2143&amp;oldid=prev</id>
		<title>Kesager：​创建页面，内容为“.tbui-timeline-container { 	margin: 0 auto; 	width: 100%; 	max-width: 768px; }   .tbui-timeline-container::after {   /* clear */ 	clear: both; 	display: table; 	content: &#039;&#039;; } .tbui-timeline { 	position: relative; 	/*外层容器的上下外边距和内边距*/ 	margin-top: 2em; 	margin-bottom: 2em; 	padding: 2em 0; }   .tbui-timeline::before {   /* 时间线主体（竖线） */ 	position: absolute; 	top: 0; 	left: 18px; 	height: 100%; 	content: &#039;&#039;; 	/*配置…”</title>
		<link rel="alternate" type="text/html" href="https://sls.wiki/index.php?title=MediaWiki:Gadget-Timeline.css&amp;diff=2143&amp;oldid=prev"/>
		<updated>2023-01-20T11:00:37Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“.tbui-timeline-container { 	margin: 0 auto; 	width: 100%; 	max-width: 768px; }   .tbui-timeline-container::after {   &lt;span class=&quot;autocomment&quot;&gt;clear：​&lt;/span&gt; 	clear: both; 	display: table; 	content: &amp;#039;&amp;#039;; } .tbui-timeline { 	position: relative; 	&lt;span class=&quot;autocomment&quot;&gt;外层容器的上下外边距和内边距：​&lt;/span&gt; 	margin-top: 2em; 	margin-bottom: 2em; 	padding: 2em 0; }   .tbui-timeline::before {   &lt;span class=&quot;autocomment&quot;&gt;时间线主体（竖线）：​&lt;/span&gt; 	position: absolute; 	top: 0; 	left: 18px; 	height: 100%; 	content: &amp;#039;&amp;#039;; 	/*配置…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;.tbui-timeline-container {&lt;br /&gt;
	margin: 0 auto;&lt;br /&gt;
	width: 100%;&lt;br /&gt;
	max-width: 768px;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
.tbui-timeline-container::after {&lt;br /&gt;
  /* clear */&lt;br /&gt;
	clear: both;&lt;br /&gt;
	display: table;&lt;br /&gt;
	content: &amp;#039;&amp;#039;;&lt;br /&gt;
}&lt;br /&gt;
.tbui-timeline {&lt;br /&gt;
	position: relative;&lt;br /&gt;
	/*外层容器的上下外边距和内边距*/&lt;br /&gt;
	margin-top: 2em;&lt;br /&gt;
	margin-bottom: 2em;&lt;br /&gt;
	padding: 2em 0;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
.tbui-timeline::before {&lt;br /&gt;
  /* 时间线主体（竖线） */&lt;br /&gt;
	position: absolute;&lt;br /&gt;
	top: 0;&lt;br /&gt;
	left: 18px;&lt;br /&gt;
	height: 100%;&lt;br /&gt;
	content: &amp;#039;&amp;#039;;&lt;br /&gt;
	/*配置主体时间线的宽度和颜色。*/&lt;br /&gt;
	background: #cccccc;&lt;br /&gt;
	width: 4px;&lt;br /&gt;
 &lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
@media only screen and (min-width: 768px) {&lt;br /&gt;
/*双侧布局修正*/&lt;br /&gt;
	.tbui-timeline::before {&lt;br /&gt;
		left: 50%;&lt;br /&gt;
		margin-left: -2px;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
.tbui-timeline-item {&lt;br /&gt;
	position: relative;&lt;br /&gt;
	/*单个节点容器的外边距*/&lt;br /&gt;
	margin: 2em 0;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
.tbui-timeline-item:after {&lt;br /&gt;
	clear: both;&lt;br /&gt;
	display: table;&lt;br /&gt;
	content: &amp;quot;&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
.tbui-timeline-item:first-child {&lt;br /&gt;
	margin-top: 0;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
.tbui-timeline-item:last-child {&lt;br /&gt;
	margin-bottom: 0;&lt;br /&gt;
}&lt;br /&gt;
.tbui-timeline-node {&lt;br /&gt;
	position: absolute;&lt;br /&gt;
	/*时间线上圆点的样式（窄屏）*/&lt;br /&gt;
	top: 12px;&lt;br /&gt;
	left: 10px;&lt;br /&gt;
	width: 20px;&lt;br /&gt;
	height: 20px;&lt;br /&gt;
	border-radius: 50%;&lt;br /&gt;
	background: #cccccc;&lt;br /&gt;
	box-shadow: 0 0 0 2px #333333;&lt;br /&gt;
	color: #333333;&lt;br /&gt;
	vertical-align: middle;&lt;br /&gt;
	text-align: center;&lt;br /&gt;
	font-size: 14px;&lt;br /&gt;
	line-height: 20px;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
@media only screen and (min-width: 768px) {&lt;br /&gt;
	.tbui-timeline-node {&lt;br /&gt;
		left: 50%;&lt;br /&gt;
		margin-left: -10px;&lt;br /&gt;
		/*时间线上圆点的样式（宽屏）*/&lt;br /&gt;
		top:5px;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
.tbui-timeline-content .tbui-timeline-more, .tbui-timeline-content .tbui-timeline-date {&lt;br /&gt;
	display: inline-block;&lt;br /&gt;
}&lt;br /&gt;
.tbui-timeline-content {&lt;br /&gt;
	position: relative;&lt;br /&gt;
	/*内容区域（窄屏）*/&lt;br /&gt;
	margin-left: 60px;&lt;br /&gt;
	padding: 1em;&lt;br /&gt;
	border:1px solid #CCCCCC;&lt;br /&gt;
	background: #f7f7f9;&lt;br /&gt;
}&lt;br /&gt;
.tbui-timeline-content:after {&lt;br /&gt;
	clear: both;&lt;br /&gt;
	display: table;&lt;br /&gt;
	content: &amp;quot;&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
.tbui-timeline-content::before {&lt;br /&gt;
	position: absolute;&lt;br /&gt;
	top: 16px;&lt;br /&gt;
	right: 100%;&lt;br /&gt;
	width: 0;&lt;br /&gt;
	height: 0;&lt;br /&gt;
	border: 7px solid transparent;&lt;br /&gt;
	border-right: 7px solid #CCCCCC;&lt;br /&gt;
	content: &amp;#039;&amp;#039;;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
.tbui-timeline-content .tbui-timeline-title {&lt;br /&gt;
	display: block;&lt;br /&gt;
	/*内容标题*/&lt;br /&gt;
	margin: 0 0 10px;&lt;br /&gt;
	border-left: 6px solid #428bca;&lt;br /&gt;
	color: #333333;&lt;br /&gt;
	text-indent: 0.4em;&lt;br /&gt;
	font-size: 18px;&lt;br /&gt;
	line-height: 18px;&lt;br /&gt;
}&lt;br /&gt;
.tbui-timeline-content .tbui-timeline-date {&lt;br /&gt;
	float: left;&lt;br /&gt;
	/*日期样式*/&lt;br /&gt;
	padding: .8em 0 .4em;&lt;br /&gt;
	color: #666666;&lt;br /&gt;
}&lt;br /&gt;
@media only screen and (min-width: 768px) {&lt;br /&gt;
	.tbui-timeline-content {&lt;br /&gt;
		margin-left: 0;&lt;br /&gt;
		padding: 1em;&lt;br /&gt;
		width: 45%;&lt;br /&gt;
	}&lt;br /&gt;
	.tbui-timeline-content::before {&lt;br /&gt;
		top: 8px;&lt;br /&gt;
		left: 100%;&lt;br /&gt;
		border-color: transparent;&lt;br /&gt;
		/*内容框体尖角颜色*/&lt;br /&gt;
		border-left-color: #e1e1e8;&lt;br /&gt;
	}&lt;br /&gt;
	.tbui-timeline-content .tbui-timeline-date {&lt;br /&gt;
		/*在宽屏下使日期飞出框架*/&lt;br /&gt;
		position: absolute;&lt;br /&gt;
		top: 4px;&lt;br /&gt;
		left: 122%;&lt;br /&gt;
		padding: 0;&lt;br /&gt;
		width: 100%;&lt;br /&gt;
		font-size: 16px;&lt;br /&gt;
	}&lt;br /&gt;
	/*宽屏下按奇偶数左右排列*/&lt;br /&gt;
	.tbui-timeline-item:nth-child(even) .tbui-timeline-content {&lt;br /&gt;
		float: right;&lt;br /&gt;
	}&lt;br /&gt;
	.tbui-timeline-item:nth-child(even) .tbui-timeline-content::before {&lt;br /&gt;
		top: 8px;&lt;br /&gt;
		right: 100%;&lt;br /&gt;
		left: auto;&lt;br /&gt;
		border-color: transparent;&lt;br /&gt;
		/*内容框体尖角颜色*/&lt;br /&gt;
		border-right-color: #CCCCCC;&lt;br /&gt;
	}&lt;br /&gt;
	.tbui-timeline-item:nth-child(even) .tbui-timeline-content .tbui-timeline-date {&lt;br /&gt;
		right: 122%;&lt;br /&gt;
		left: auto;&lt;br /&gt;
		text-align: right;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Kesager</name></author>
	</entry>
</feed>