Template:Quote fancy/style.css
Jump to navigation
Jump to search
/* Mobile version of the template has a vertical column layout */
.bg3wiki-image-quote {
display: flex;
align-items: center;
flex-direction: column !important;
}
/* Mobile version of the block quote */
.bg3wiki-image-quote-blockquote-left, .bg3wiki-image-quote-blockquote-right {
padding: 8px 16px;
margin: 0px;
border-top: 2px solid #3d3d3d;
}
/* Non-mobile format */
@media screen and (min-width: 780px) {
/* Layout is horizontal with the image on the left or right */
.bg3wiki-image-quote {
display: flex;
align-items: center;
flex-direction: row;
}
/* Blockquote style for when the image is on the left (default) */
.bg3wiki-image-quote-blockquote-left {
padding: 8px 16px;
margin: 0px;
margin-left: 10px;
border-left: 2px solid #3d3d3d !important
}
/* Blockquote style for when the image is on the right */
.bg3wiki-image-quote-blockquote-right {
padding: 8px 16px;
margin: 0px;
margin-right: 10px;
border-left: 0 !important;
border-right: 2px solid #3d3d3d
}
}
/* Style for the quote image, primarily used to round the corners */
.bg3wiki-image-quote-image {
display: inline-block;
vertical-align: middle;
border: hidden;
border-radius:15%;
overflow: hidden;
}
/* Author/attribution of the quote is aligned to the bottom-right corner of the quote */
.bg3wiki-image-quote-author {
margin-left: auto;
margin-right: 16px;
margin-top: -8px;
padding-bottom: 8px;
margin-bottom: -2em;
line-height: 2em;
font-size: smaller;
font-weight: bold;
}
/* Style for the beginning and ending quotation marks aligned with the corners of the quote */
.bg3wiki-image-quote-begin, .bg3wiki-image-quote-end {
font-size: 300%;
font-family: serif;
color: #3d3d3d;
line-height: 1em;
}
.bg3wiki-image-quote-begin {
margin-bottom: auto;
margin-right: 8px
}
.bg3wiki-image-quote-end {
margin-top: auto;
margin-left: 8px
}