Template:CSS/book.css: Difference between revisions

Template page
m (Added CSS for wikitable)
m (Added center alignment for headers level 4)
 
Line 45: Line 45:


h2 {
h2 {
text-align: center;
}
h4 {
text-align: center;
text-align: center;
}
}

Latest revision as of 16:07, 14 November 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%;
	}
}

.wikitable {
  width: 80%;
  margin: auto;
}

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;
}
h4 {
	text-align: center;
}

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