Template:CSS/book.css: Difference between revisions

Template page
m (More exclusions from list style (table of contents))
m (Attempt to create responsive blockquote CSS for mobile)
Line 17: Line 17:
blockquote {
blockquote {
margin-left: 7.5%;
margin-left: 7.5%;
}
@media screen and (max-width: 800px) {
blockquote {
margin-left:12%;
}
}
}



Revision as of 23:21, 25 July 2022

/* CSS options for books in Library */

p {
	text-indent: 2.5em;
	width: 95%;
	margin: auto;
	text-align: justify;
}

blockquote p {
	text-indent: 0;
	text-align: justify;
	font-size: 95%;
	width:100%;
}

blockquote {
	margin-left: 7.5%;
}
@media screen and (max-width: 800px) {
	blockquote {
		margin-left:12%;
	}
}

ol:not(.references) {
	padding: 0.5em 5em;
}

li {
	margin-left: 7.5%;
}

.references > li {
	margin-left:auto;
}
.toc ul > li {
	margin-left: auto;
}

h2 {
	text-align: center;
}

.starsection {
	text-align: center;
	font-size: 150%;
	margin-top: 15px;
	margin-bottom: 15px;
}