Difference between revisions of "MediaWiki:Common.css"

From HodHood
Jump to: navigation, search
(Created page with "CSS placed here will be applied to all skins: .category-tree { background: #f9f9f9; border: 1px solid #aaa; float: right; margin: 0 0 0 1em; padding: 1em; }")
 
(remove `margin: 0 0 1em 1em;` for `.surah-index` class)
 
(18 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
border: 1px solid #aaa;
 
border: 1px solid #aaa;
 
float: right;
 
float: right;
margin: 0 0 0 1em;
+
margin: 0 0 1em 1em;
 
padding: 1em;
 
padding: 1em;
 +
}
 +
 +
.infobox {
 +
background: #f9f9f9;
 +
border: 1px solid #aaa;
 +
float: right;
 +
margin: 0 0 1em 1em;
 +
padding: 1em;
 +
width: 300px;
 +
}
 +
.infobox big,
 +
.infobox small {
 +
display: block;
 +
text-align: center;
 +
}
 +
.infobox p {
 +
margin: 0;
 +
}
 +
.infobox img {
 +
display: block;
 +
margin: auto;
 +
}
 +
.infobox th {
 +
text-align: right;
 +
vertical-align: top;
 +
width: 50%;
 +
}
 +
 +
.infobox.infobox-800 {
 +
width: 800px;
 +
}
 +
 +
.infobox.infobox-800 th {
 +
width: 25%;
 +
}
 +
 +
.surah-index {
 +
background: #f9f9f9;
 +
border: 1px solid #aaa;
 +
padding: 1em;
 +
}
 +
 +
.surah-index big {
 +
  font-weight: bold;
 +
}
 +
 +
.glossary-caption {
 +
  text-transform: uppercase;
 +
}
 +
 +
.glossary:not( :first-child ) {
 +
  padding-top: 1em;
 
}
 
}

Latest revision as of 16:36, 2 April 2018

/* CSS placed here will be applied to all skins */

.category-tree {
	background: #f9f9f9;
	border: 1px solid #aaa;
	float: right;
	margin: 0 0 1em 1em;
	padding: 1em;
}

.infobox {
	background: #f9f9f9;
	border: 1px solid #aaa;
	float: right;
	margin: 0 0 1em 1em;
	padding: 1em;
	width: 300px;
}
.infobox big,
.infobox small {
	display: block;
	text-align: center;
}
.infobox p {
	margin: 0;
}
.infobox img {
	display: block;
	margin: auto;
}
.infobox th {
	text-align: right;
	vertical-align: top;
	width: 50%;
}

.infobox.infobox-800 {
	width: 800px;
}

.infobox.infobox-800 th {
	width: 25%;
}

.surah-index {
	background: #f9f9f9;
	border: 1px solid #aaa;
	padding: 1em;
}

.surah-index big {
  font-weight: bold;
}

.glossary-caption {
  text-transform: uppercase;
}

.glossary:not( :first-child ) {
  padding-top: 1em;
}