Template:Quote/styles.css: Difference between revisions
Template page
More actions
ReisuDesign (talk | contribs) No edit summary |
Stevium changed the content model of the page Template:Quote/styles.css from "CSS" to "Sanitized CSS": TemplateStyles |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
blockquote.pull-quote { | blockquote.pull-quote { | ||
border: none | border: none; | ||
border-radius: 20px; | border-radius: 20px; | ||
position: relative; | position: relative; | ||
| Line 6: | Line 6: | ||
padding: 0; | padding: 0; | ||
margin-top: 5px !important; | margin-top: 5px !important; | ||
padding-top: 0px; | padding-top: 0px; | ||
padding-left:0; | padding-left:0; | ||
display: flow-root; | |||
max-width: max-content; | |||
} | } | ||
.pull-quote__text p { | .pull-quote__text p { | ||
position: relative; | position: relative; | ||
background-color: var(--background-color-2); | |||
padding: | padding: 20px 20px; | ||
border-radius: 20px; | border-radius: 20px; | ||
margin-bottom: 0; | margin-bottom: 0; | ||
font-weight: 500; | |||
} | |||
.pull-quote__text p:after { | |||
content: '”'; | |||
font-family: "Stack Sans Text", sans-serif; | |||
font-size: 70px; | |||
position: absolute; | |||
right: 20px; | |||
bottom: -78px; | |||
font-weight: initial; | |||
color: var(--background-color-8); | |||
} | |||
.pull-quote__source { | |||
background-color: var(--color-accent); | |||
padding: 5px 15px; | |||
border-radius: 10px; | |||
position: absolute; | |||
top: -10px; | |||
left: 10px; | |||
font-size: 13px; | |||
color: var(--color-base); | |||
font-weight: 500; | |||
font-family: 'PetitPlanet'; | |||
} | |||
.pull-quote__source a { | |||
color: var(--color-base); | |||
} | |||
.pull-quote__source cite { | |||
font-style: normal !important; | |||
} | } | ||