More languages
More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
.essay-quote{ | .essay-quote{ | ||
/* container for whole quote thing */ | /* container for whole quote thing */ | ||
margin:35px; | |||
} | } | ||
Line 36: | Line 36: | ||
clear:both; | clear:both; | ||
max-width:35%; | max-width:35%; | ||
margin-left:0; | |||
} | } | ||
Line 42: | Line 43: | ||
clear:both; | clear:both; | ||
max-width:35%; | max-width:35%; | ||
margin-right:0; | |||
} | } | ||
Revision as of 22:47, 19 September 2023
.essay-quote{
/* container for whole quote thing */
margin:35px;
}
.essay-quote-mark{
/* just the quotation mark that appears behind the quote */
user-select:none;
font-size:8rem;
position:relative;
z-index:1;
color:#7f7f7f;
opacity:0.5;
font-family: Serif;
font-weight:bold;
line-height:0; /* cancel line-height because it affects the quote due to sheer size of quotation marks*/
}
.essay-quote-text{
position:relative;
font-size:2rem;
left:-15px;
top:-50px;
z-index:2;
line-height:3rem;
}
h1,h2{
overflow:hidden; /* if the quote overlaps a title, the border at the bottom will be cut off. More aesthetic */
}
/* selectable alignment with {{{align}}} parameter */
.essay-quote-left{
float:left;
clear:both;
max-width:35%;
margin-left:0;
}
.essay-quote-right{
float:right;
clear:both;
max-width:35%;
margin-right:0;
}
.essay-quote-center{
text-align: center;
margin:0 auto;
max-width:60%;
}
/* Mobile positioning */
@media screen and (max-width:768px){
.essay-quote-left{
text-align: center;
margin: 0 auto;
max-width:90%;
}
.essay-quote-right{
text-align: center;
margin: 0 auto;
max-width:90%;
}
.essay-quote-center{
max-width:90%;
}
}