Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:CSS/book.css: Difference between revisions

Template page
m (Excluded TOC from list styling)
m (Attempting alternative way to avoid TOC lists when styling)
Line 27: Line 27:
}
}


li:not(.toc) {
li:not(.toclevel-1):not(.toclevel-2):not(.toclevel-3) {
margin-left: 7.5%;
margin-left: 7.5%;
width:90%;
width:90%;

Revision as of 22:22, 27 October 2022

/* CSS options for books in Library */

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

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

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

ol:not(.references) {
	padding: 1em 0;
}

li:not(.toclevel-1):not(.toclevel-2):not(.toclevel-3) {
	margin-left: 7.5%;
	width:90%;
}

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