Template:Quote smaller/styles.css: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
quote with smaller text |
add margin at top |
||
Line 1: | Line 1: | ||
.quote-text { |
.quote-text { |
||
margin: |
margin-top: 80px; |
||
padding: 0 30px; |
padding: 0 30px; |
||
font-size: 18px; |
font-size: 18px; |
Revision as of 18:24, 2 October 2020
.quote-text {
margin-top: 80px;
padding: 0 30px;
font-size: 18px;
line-height: 1.6;
position: relative;
}
.quote-text::before,
.quote-text::after {
color: #B2B7F2;
font-size: 40px;
line-height: 26px;
font-family: 'Times New Roman', serif;
font-weight: bold;
position: absolute;
}
.quote-text::before {
content: open-quote;
top: 0;
left: 0;
}
.quote-text::after {
content: close-quote;
bottom: 0;
right: 0;
}
.quote-attribution {
display: block;
margin-top: 1em;
text-align: right;
font-size: 18px;
font-style: normal;
}