Index:EB1911 - Volume 01.djvu/styles.css

From Wikisource
Jump to navigation Jump to search
/*
 * The CSS style rules defined here will be imported (through redirects) in
 * every Page:-namespace wikipage in the 29 EB1911 volumes, as well as in every
 * mainspace page on which a page associated with one of these indexes is
 * transcluded.
 *
 * NB! This means changes to this page have a huge potential impact.
 * Please think, test, discuss, and be cautions before hitting "Publish".
 *
 * Use "_" in front of class names across EB1911 to avoid clashing with
 * templates. Use "__" in front of classes for one-off stuff (single page) to
 * avoid clashing with EB1911-wide classes.
 * See also [[Help:Page styles#Class naming conventions]].
 */

/*
 * Class: _tablecolhdborder
 *
 * Puts borders around the entire table and around each column of the table.
 * Also centers the content of header cells, aligns the content of normal cells
 * to the left and adds a small amount of padding.
 */
._tablegridhdborder,
._tablecolhdborder {
	border-collapse: collapse;
	border: 1px solid black;
	margin-left: auto;
	margin-right: auto;
}

._tablecolhdborder th {
	border-bottom: 1px solid black;
	border-left: 1px solid black;
	text-align: center;
}
._tablegridhdborder th{
	border: 1px solid black;
	text-align: center;
}

._tablegridhdborder th{
	border-left: 1px solid black;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
}

._tablecolhdborder td {
	border-left: 1px solid;
	padding-left: 5px;
}

._tablegridhdborder td {
	border-left: 1px solid;
	border-right: 1px solid;
	border-bottom: 1px solid black;
	padding-left: 5px;

}

._colcenternotfirst tr>td{
	text-align:center;
}

._colcenternotfirst tr>td:first-child{
	text-align:left;
}

.__cellpadding3 td{
	padding:3px;
}

/*
 * The EB1911 style guide specifies somewhat larger text (90%) for smallrefs
 * compared to the default (83%).
 */
.wst-smallrefs {
	font-size: 90%;
}