Template:Essay quote/style.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
.essay-quotation{
.essay-quote{
/* container for whole quote thing */
/* container for whole quote thing */
}
}


.essay-quotation-mark{
.essay-quote-mark{
/* just the quotation mark that appears behind the quote */
/* just the quotation mark that appears behind the quote */
user-select:none;
user-select:none;
font-size:1rem;
font-size:8rem;
position:relative;
z-index:1;
color:#7f7f7f;
opacity:0.5;
font-family: Serif;
font-weight:bold;
}
 
.essay-quote-text{
position:relative;
font-size:2rem;
left:-15px;
top:-50px;
z-index:2;
}
}


Line 13: Line 28:
.left{
.left{
float:left;
float:left;
clear:both;
max-width:25%;
}
}


.right{
.right{
float:right;
float:right;
clear:both;
max-width:25%;
}
}


Line 23: Line 42:
     margin: 0 auto;
     margin: 0 auto;
     width:100%;
     width:100%;
}
/* Mobile positioning */
@media screen and (max-width:768px){
.left{
text-align: center;
    margin: 0 auto;
    width:100%;
}
.right{
text-align: center;
    margin: 0 auto;
    width:100%;
}
}
}

Revision as of 22:17, 19 September 2023

.essay-quote{
	/* container for whole quote thing */

}

.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;
}

.essay-quote-text{
	position:relative;
	font-size:2rem;
	left:-15px;
	top:-50px;
	z-index:2;
}


/* selectable alignment with {{{align}}} parameter */
.left{
	float:left;
	clear:both;
	max-width:25%;
}

.right{
	float:right;
	clear:both;
	max-width:25%;
}

.center{
    text-align: center;
    margin: 0 auto;
    width:100%;
}

/* Mobile positioning */

@media screen and (max-width:768px){
	.left{
	text-align: center;
    margin: 0 auto;
    width:100%;
	}
	.right{
	text-align: center;
    margin: 0 auto;
    width:100%;
	}
}