틀:Quotation/styles.css: 두 판 사이의 차이

내위키
편집 요약 없음
편집 요약 없음
5번째 줄: 5번째 줄:
box-sizing: border-box;
box-sizing: border-box;
padding: 10px;
padding: 10px;
margin-bottom: 1em;
margin: 0 0 1em;
font-size: 95%;
font-size: 95%;
max-width: 100%;
max-width: 100%;

2020년 1월 15일 (수) 01:02 판

/* {{pp-template}} */
.quotebox {
	background-color: #F9F9F9;
	border: 1px solid #aaa;
	box-sizing: border-box;
	padding: 10px;
	margin: 0 0 1em;
	font-size: 95%;
	max-width: 100%;
}
.quotebox.floatleft {
	margin: 0.5em 1.4em 0.8em 0;
}
.quotebox.floatright {
	margin: 0.5em 0 0.8em 1.4em;
}
.quotebox.centered {
	margin: 0.5em auto 0.8em auto;
}
.quotebox.floatleft p,
.quotebox.floatright p {
	font-style: inherit;	
}
.quotebox-title {
	background-color: #F9F9F9;
	text-align: center; 
    font-size: larger;
    font-weight: bold; 
}
.quotebox-quote.quoted:before {
    font-family:'Times New Roman',serif;
    font-weight:bold;
    font-size: large;
    color: gray;
    content: ' “ ';
    vertical-align: -45%;
	line-height: 0;
}
.quotebox-quote.quoted:after {
    font-family:'Times New Roman',serif;
    font-weight:bold;
    font-size: large;
    color: gray;
	content: ' ” ';
	line-height: 0;
}
.quotebox .left-aligned {
	text-align: left;
}
.quotebox .right-aligned {
	text-align: right;
}
.quotebox .center-aligned {
	text-align: center;
}
.quotebox cite {
	display:block;
	font-style:normal;
}

div.quotebox p {
	margin-bottom: 0;
}

@media screen and (max-width:360px) {
	.quotebox {
		/*override inline styles */
		min-width: 100%; 
		margin: 0 0 0.8em !important;
		float: none !important;
	}
}