Bản mẫu:Thử/style.css

.new {
color: inherit;
}
#mp-phatgiao-banner > div {
line-height: 120px;
}
#mp-phatgiao-banner > div > div {
line-height: 1.5em;
vertical-align: middle;
}
#mp-phatgiao-banner-title {
float: left;
}
#mp-phatgiao-banner-title > div {
display: inline-block;
font-family: sans-serif;
}
#mp-phatgiao-banner-title h1 {
font-size: 2em;
margin: 0;
padding: 0;
line-height: 1.6em;
}
#mp-phatgiao-banner-title p {
margin: 0;
padding: 0;
font-size: 90%;
color: #457;
}
#mp-phatgiao h1 {
font-weight: bold;
border: none;
}
#mp-doctiep {
font-weight: bold;
border: none;
margin: 0;
clear:both;
text-align:right;
margin-top: .8em;
}
#mp-phatgiao,
#mp-phatgiao-body {
clear: both;
text-align: Justify;
}
.main-figure {
position: relative;
margin: auto;
text-align: center;
}
.main-figure-a {
position: relative;
margin: 0.4em 0 0.3em 1em;
text-align: center;
/*    padding: .4em 0em .3em .3em; */
}
.main-figure-b {
position: relative;
margin: 0.4em 1em 0.3em 0;
text-align: center;
/*    padding: .4em 0em .3em .3em; */
}
.main-figure-img {
	margin: auto;
}
.main-figure-img > a > img {
width: 100%;
height: auto;
}
.main-figure-caption {
	padding: 0.8em 1em 0.125em;
}
.main-figure-caption-a {
	padding: 0.2em 0.1em 0.05em;
}
#mp-phatgiao-column-left h2 {
	color: #453829;
	text-align: center;
	font-variant: small-caps;
	font-size: 200%;
	letter-spacing: .1em;
	margin-bottom: 0px;
	padding-top: 0.3em;
	border-bottom: none;
/* color: white; */
/* background: orange; */
width: 100%;
}
#mp-phatgiao-column-right h2 {
	color:#453829;
	text-align:center;
	font-variant: small-caps;
	font-size:200%;
	letter-spacing: .1em;
	margin-bottom:0px;
	padding-top:0.3em;
	border-bottom: none;
/* color: #5c5c5c; */
width: 100%;
}
#mp-phatgiao-column-bottom h2 {
	color: #453829;
	text-align: center;
	font-variant: small-caps;
	font-size: 200%;
	letter-spacing: .1em;
	margin-bottom: 0px;
	padding-top: 0.3em;
	border-bottom: none;
width: 100%;
}
#mp-phatgiao-block-left {
	border-top:none;
	border-bottom:none;
	border-right:none;
	border-left:none;
	vertical-align:top;
	color:#4c4c4c;
	padding: 1em;
	margin-top: -0.04em;
	padding-top:.2em;
}
#mp-phatgiao-block-right {
border:none;
border-bottom:none;
border-right:none;
border-left:none;
vertical-align:top;
color:#4c4c4c;
padding: 1em;
margin-top: -0.04em;
padding-top:.2em;
}
#mp-phatgiao-block-bottom {
	border-top:none;
	border-bottom:none;
	border-right:none;
	border-left:none;
	vertical-align:top;
	color:#4c4c4c;
	padding: 1em;
	margin-top: -0.04em;
	padding-top:.2em;
}
.phatgiao-block + .phatgiao-block {
margin-top: .4em;
}
/* giao diện di động */
@media all and ( max-width: 980px ) {
#column-phat,
#column-tang,
#column-kinh,
#column-trich,
#column-thu h2 {
	border-top: 5px solid #57727b;
	background: #e7f2fd;
}
#column-phap,
#column-hinh,
#column-phai,
#column-bai h2 {
	border-top:5px solid #f6bf1c;
	background: #fff8dc;
	}
#column-phat,
#column-tang,
#column-kinh,
#column-trich,
#column-thu {
	background-color:#e7f2fd;
}
#column-phap,
#column-phai {
background-color:#fff8dc;
}
#column-hinh,
#column-bai {
background-color:#fff8dc;
margin-top: .4em;
}
}
/* giao diện máy tính */
@media all and ( min-width: 981px ) {
#mp-phatgiao-banner-title {
margin-left: 40px;
max-width: 300px;
}
#mp-phatgiao-column-left h2 {
	border-top: 5px solid #57727b;
	background: #e7f2fd;
}
#mp-phatgiao-column-right h2 {
	border-top:5px solid #f6bf1c;
	background: #fff8dc;
}
#mp-phatgiao-column-bottom h2 {
	border-top: 5px solid #57727b;
	background: #e7f2fd;
}
#mp-phatgiao-block-left {
	background-color:#e7f2fd;
}
#mp-phatgiao-block-right {
background-color:#fff8dc;
}
#mp-phatgiao-block-bottom {
	background-color:#e7f2fd;
}
/* #mp-phatgiao h2 {
font-weight: bold; 
border: none;
font-size: 1.6em;
margin-bottom: .8em;
letter-spacing: .16em;
} 
#mp-phatgiao-body {
min-width: 695px;  182 + 40 + 240 + 245 + 20 - 32 
}*/
#mp-phatgiao-column-left {
float: left;
width: 59.9%;
}
#mp-phatgiao-column-left > div {
margin-right: .3em;
}
.mp-phatgiao-column-left-block {
margin-top: 0;
padding: 0 1.6em 0 0;
line-height: 1.5em;
text-align: Justify;
}
#mp-phatgiao-column-right {
float: right;
width: 40%;
}
#mp-phatgiao-column-bottom {
	clear: both;
	padding-top: .3em;
}
#column-phat img {
margin: 0 0 0 0;
}
#column-phap img {
margin: 0 0 0 0;
}
#column-tang img {
margin: 0 0 0 0;
}
#column-bai img {
margin: 0 0 0 0;
}
#column-kinh img {
margin: 0 0 0 0;
}
#column-phai img {
margin: 0 0 0 0;
}
#column-hinh img {
margin: 0.4em 0.5em 0.3em 0;
}
/* #mp-phatgiao-column-right > div {
margin-top: 1.6em;
} */
.mp-phatgiao-column-right-block {
margin: 0 0 1.6em;
padding: .8em 1.6em 1.6em;
text-align: Justify;
}
/*#mp-phatgiao-column-right-block {
border: 1px solid #E8E8E8;
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
background: #FFF; 
}*/
#mp-phatgiao-banner-logo {
float: left;
width: 170px;
height: 150px;
margin-bottom: 1px;
/*background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/f2/Buddhist_Swastika_with_24_Beads.svg/150px-Buddhist_Swastika_with_24_Beads.svg.png");*/
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/Dharma_Wheel_%282%29.svg/150px-Dharma_Wheel_%282%29.svg.png");
background-position: 20px 0px;
background-repeat: no-repeat;
}
#mp-phatgiao-banner {
clear: both;
}
#mp-phatgiao-banner {
background-repeat: repeat-x;
height: 120px;
min-width: 727px; /* 182 + 40 + 240 + 245 + 20 */
}
.main-figure-caption {
	display: none;
}
.main-figure-caption-a {
	display: none;
}
.main-figure:hover .main-figure-caption {
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	overflow: hidden;
	width: 100%;
	height: auto;
background: #fff;
background: rgba(255, 255, 255, 0.9);
padding-bottom: 1em;
	box-sizing: border-box;
	}
	
.main-figure-a:hover .main-figure-caption-a {
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	overflow: hidden;
	width: 100%;
	height: auto;
background: #fff;
background: rgba(255, 255, 255, 0.9);
	box-sizing: border-box;
	}
	
.main-figure-b:hover .main-figure-caption-a {
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	overflow: hidden;
	width: 100%;
	height: auto;
background: #fff;
background: rgba(255, 255, 255, 0.9);
	box-sizing: border-box;
	}
}