Шаблон:Цитата/styles.css

< Шаблон:Цитата
Версия от 16:23, 12 февраля 2022; Adam (обсуждение | вклад) (Новая страница: «.ts-Цитата { display: flex; justify-content: center; margin: 0.5em 0; } .ts-Цитата blockquote { position: relative; margin: 0; padding: 0 42px; border: none; background: transparent; line-height: 1.6em; font-style: italic; } .ts-Цитата blockquote::before, .ts-Цитата blockquote::after { content: ""; position: absolute; background-size: calc(1.6em / 0.75) 1.6em; background-repeat: no-repeat; width: calc(1.6e...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
.ts-Цитата {
	display: flex;
	justify-content: center;
	margin: 0.5em 0;
}

.ts-Цитата blockquote {
	position: relative;
	margin: 0;
	padding: 0 42px;
    border: none;
    background: transparent;
    line-height: 1.6em;
    font-style: italic;
}

.ts-Цитата blockquote::before,
.ts-Цитата blockquote::after {
	content: "";
	position: absolute;
	background-size: calc(1.6em / 0.75) 1.6em;
	background-repeat: no-repeat;
	width: calc(1.6em / 0.75);
	height: 1.6em;
}

.ts-Цитата blockquote::before {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/4/44/Aquote1.png');
	top: 0;
	left: 0;
}
.ts-Цитата blockquote::after {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/4/49/Aquote2.png');
	bottom: 0;
	right: 0;
}

.ts-Цитата blockquote i {
	font-style: normal;
}

.ts-Цитата cite {
	display: block;
	text-align: right;
	font-style: normal;
}

.ts-Цитата p:first-child {
	margin-top: 0;
}

.ts-Цитата p:last-child {
	margin-bottom: 0;
}

.ts-Цитата p + .ts-oq {
	margin-top: -0.25em;
}

.ts-Цитата .ts-oq .ts-oq-header.ts-oq-header {
	padding-left: 0;
	background: transparent;
}

.ts-Цитата .ts-oq .ts-oq-content {
	padding: 0;
}

/* [[Категория:Шаблоны:Подстраницы CSS]] */