MediaWiki:Custom-Common.less/quotes.less

//

/* =======================    Template:Blockquote ======================= */

blockquote.block { font-size: 95%; color: #555; background-color: #f9f9f9; padding: 15px 23px; margin-top: 20px; margin-bottom: 20px; z-index: -2; position: relative;

// opening quotation mark &:before { content: open-quote; color: #f3f3f3; font-size: 150px; font-family: 'League Spartan', sans-serif; top: 65px; left: 10px; z-index: -1; position: absolute; }

.source { text-align: right;

&:before { content: '— '; }

}

p { z-index: 1;

&:last-of-type { margin-bottom: 0; }

}

}

/* =======================    Template:Pullquote ======================= */

blockquote.pull { color: #555; border: 3px solid #eee; border-width: 3px 0; padding: 15px 10px; position: relative; margin: 25px 50px; z-index: -2;

// opening quotation mark &:before { content: open-quote; color: #eee; background-color: #fff; padding-right: 10px; font-size: 70px; font-family: 'League Spartan', sans-serif; line-height: 1; top: -16px; left: 0; z-index: -1; clip-path: inset(-10% -10% 70% -10%); -webkit-clip-path: inset(-10% -10% 70% -10%); position: absolute; }

// closing quotation mark &:after{ content: close-quote; color: #eee; background-color: #fff; padding-left: 10px; font-size: 70px; font-family: 'League Spartan', sans-serif; line-height: 1; bottom: -69px; right: 0; z-index: -1; position: absolute; }

.source { text-align: right;

&:before { content: '— '; }

}

p { z-index: 1;

&:last-of-type { margin-bottom: 0; }

}

}