CSS content.css

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CSS content.css相关的知识,希望对你有一定的参考价值。

@charset "UTF-8";



/* ----------------------------------------------------------------------
	Common
---------------------------------------------------------------------- */
body{
	background-color: #fff;
	color: #000;
}

#head{
	border-bottom: 1px solid #ddd;
	padding: 0.9em 0;}
#head .Container{
	max-width: 44em;
	margin: 0 auto;}
#head .Container:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
#head h1{
	float: left;}
#head h1 a{
	color: #000;
	font-family: Georgia, serif;
	text-decoration: none;}
#head p{
	float: right;}
#head p a{
	font-family: Georgia, serif;
	font-style: italic;
}

#nav{
	border-bottom: 1px solid #ddd;
	padding: 0.45em 0;}
#nav .Container{
	max-width: 44em;
	margin: 0 auto;}
#nav .Container:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
#nav li{
	display: inline;
	margin-right: 2em;
}

#content{
	border-bottom: 1px solid #ddd;
	padding: 1.8em 0;}
#content .Container{
	max-width: 44em;
	margin: 0 auto;}
#content .Container:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#main{
	float: left;
	width: 65%;}
#main .Container{
	margin: 0 1em 1.8em 0;
}

#sub{
	float: right;
	width: 35%;}
#sub .Container{
	margin: 0 0 1.8em 1em;
}

#extra{
	border-bottom: 1px solid #ddd;
	padding: 1.8em 0;}
#extra .Container{
	max-width: 44em;
	margin: 0 auto;}
#extra .Container:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#foot{
	padding: 1.8em 0;}
#foot .Container{
	max-width: 44em;
	margin: 0 auto;}
#foot p{
	text-align: center;
	font-size: 0.85714286em;
	line-height: 1.93333333;}
#foot p a{
	font-size: 100%;
}

/* ----------------------------------------------------------------------
	Main
---------------------------------------------------------------------- */
#sample1{
	border-bottom: 1px dashed #000;}
#sample1 p{
	margin-bottom: 1.8em;}
#sample1 p img{
	width: 100%;
	height: auto;
	margin: 0.625em 0;
}

/* ----------------------------------------------------------------------
	Sub
---------------------------------------------------------------------- */
#sub h4{
	border-bottom: 1px solid #ddd;
	margin-bottom:0.45em;}
#sub ul{
	list-style-type: none;}
#sub li,
#sub p{
	font-size: 0.85714286em;
	line-height: 1.93333333;}
#sub li a,
#sub p a{
	font-size: 100%;
}

/* ----------------------------------------------------------------------
	Extra
---------------------------------------------------------------------- */
#e1,
#e2,
#e3{
	float: left;
	width: 14em;}
#e2{
	margin: 0 1em;
}

#extra h5{
	text-align: center;
	border-bottom: 1px solid #ddd;
	margin-bottom: 0.52500004em;
}

#extra p{
	font-size: 0.85714286em;
	line-height: 1.93333333;}
#extra p a{
	font-size: 100%;
}

以上是关于CSS content.css的主要内容,如果未能解决你的问题,请参考以下文章

CSS动画

Chrome 40 是不是打破了 justify-content CSS 覆盖?

使用Bootstrap模板时,导航栏不能正确显示。

为啥这个捆绑包不起作用?

MVC 无法在 css 中使用 background-url 显示图像 - 使用捆绑

bootstrap的datepicker在选择日期后调用某个方法