中医百科:首页/styles.css:修订间差异

勤求古训,博采众方
删除的内容 添加的内容
无编辑摘要
无编辑摘要
 
(未显示同一用户的8个中间版本)
第32行: 第32行:
body.action-view #contentSub {
body.action-view #contentSub {
display: none;
display: none;
}

/******************************
* 分割线
******************************/
.title{
position:relative;
font-size:16px;
color:#999;
/* 溢出隐藏 重要*/
overflow:hidden;
text-align:center;
}
.title::before,.title::after{
content:'';
display:inline-block;
width:100%;
height:1px;
color:#ccc;
position:absolute;
top:50%;
}
.title::before{
margin-left:-10px;
transform: translateX(-100%);
}
.title::after{
margin-left:10px;
}
}

2022年7月4日 (一) 08:38的最新版本

/******************************
 * Styles for mobile main page
 ******************************/

@media all and (min-width: 768px) {
	.wikidata-mainpage-column {
		float: left;
		width: 50%;
	}
	.wikidata-mainpage-column-first {
		padding-right: 5px;
	}
	.wikidata-mainpage-column-second {
		padding-left: 5px;
	}
	.wikidata-mainpage-sister-projects {
		text-align: center;
	}
}

/**
 * Hide title on main pages, village pumps and project chats
 * 
 * @author 
 * @maintainer 
 */

body.action-view .firstHeading {
	display: none;
}

body.action-view #contentSub { 
	display: none;
}