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

勤求古训,博采众方
删除的内容 添加的内容
入我相思门将页面中医百科:首页/banner/styles.css的内容模型从“wikitext”更改为“已过滤的CSS”
标签内容模型更改
// Edit via Wikiplus
 
第23行: 第23行:
#header-module {
#header-module {
background-image: linear-gradient(to left, rgba(255, 255, 255, .60), rgba(255, 255, 255, .65)), url(https://www.zybkcn.com/images/3/37/BannerBackgroundImage.jpg);
background-image: linear-gradient(to left, rgba(255, 255, 255, .60), rgba(255, 255, 255, .65)), url(https://zybkcn.com/images/3/37/BannerBackgroundImage.jpg);
background-repeat: repeat-y;
background-repeat: repeat-y;
background-size: 100%;
background-size: 100%;

2022年12月30日 (五) 13:42的最新版本

.index {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
}

.index .title-bar {
	font-weight: 600;
	text-align: center;
}

.index .subtitle-slogan, .index .article-counter, .index .quick-link {
	text-align: center;
	color: black;
	text-shadow: white 0.1em 0.1em 0.2em;
}

.index .index-search {
	margin: 0.5em 0;
}
	
#header-module {
	background-image: linear-gradient(to left, rgba(255, 255, 255, .60), rgba(255, 255, 255, .65)), url(https://zybkcn.com/images/3/37/BannerBackgroundImage.jpg);
	background-repeat: repeat-y;
	background-size: 100%;
	background-position: center;
}

#index-search {
	margin: 5px 0 0;
}

@media screen and (min-width: 830px) {
	.index {
		margin: 0em;
	}
	
	#index-header {
		width: 100%;
	}

	#index-promotion, #index-today, #index-intro {
		width: 45.5%;
	}
	
	#index-teahouse, #index-category {
		width: 29.5%;
	}
}

@media screen and (max-width: 830px) {
	#index-header, 
	#index-promotion, #index-today,	#index-intro {
		width: 97.5%;
	}
	
	.index {
		margin-left: 0;
		margin-right: 0;
	}
}