Template:CSS/book.css: Difference between revisions

Template page
m (Created .starsection class for a specific page (Library:Marx & Engels Collected Works/General introduction))
m (Added center alignment for headers level 4)
 
(15 intermediate revisions by the same user not shown)
Line 9: Line 9:


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


blockquote {
blockquote {
padding: 0px 2.5em;
margin-left: 7.5%;
}
@media screen and (max-width: 800px) {
blockquote {
  margin:16px 0 8px 12%;
}
}
 
.wikitable {
  width: 80%;
  margin: auto;
}
}


ol:not(.references) {
ol:not(.references) {
padding: 0.5em 5em;
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 {
h2 {
text-align: center;
}
h4 {
text-align: center;
text-align: center;
}
}
Line 29: Line 54:
text-align: center;
text-align: center;
font-size: 150%;
font-size: 150%;
margin-top: 15px;
margin-bottom: 15px;
}
}

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