Template:Statute table/header.css
Jump to navigation
Jump to search
table.__statutetable{
border-top: 1px solid black;
border-bottom: 1px solid black;
border-collapse: collapse; /*borders are contiguous */
font-size:smaller;
width:100%;
}
table.__statutetable tr{
vertical-align:top; /*rows are top aligned */
}
table.__statutetable tr.__statutetable_header{ /* Centered format with a bottom border */
vertical-align: top;
text-align:center;
border-bottom: 1px solid black;
}
/* Headers and data have "midcolumn" borders but none on the right of left of the table itself. Headers are NOT emboldened */
table.__statutetable tr.__statutetable_header th{
font-weight:normal;
border-left: 1px solid black;
}
table.__statutetable tr.__statutetable_header th:first-of-type{
border-left:none;
}
/* Data is generally left aligned as opposed to being centered like the headers; */
table.__statutetable tr td{
text-align:left;
}
table.__statutetable tr td{
border-left:1px solid black;
}
/* Generic format for the first cell of a row in this table. */
table.__statutetable tr td:first-of-type{
border-left:none;
padding-left:0.25em;
padding-right:0.25em;
}
table.__statutetable tr.__stchapter td:first-of-type{
padding-left:1.25em;
}
/* Row entry containing a specifc chapter with a name (typically a short title) */
table.__statutetable tr.__stnamed td:first-of-type{
padding-left:1.25em;
}
/* entry containing an anchor (such as specifc statute that has many chapters)*/
table.__statutetable tr.__stanchor td:first-of-type{
padding-left:0.25em;
}
/* Row containing a year entry.*/
table.__statutetable tr.__styear td:first-of-type{
padding-left:0.25em;
}
/* Special type for multi-line repeal entries- pad the start a bit by putting]
the effective {{gap}}'s in the padding.*/
table.__statutetable tr.__strepealx td:last-of-type{
padding-left:2em;
}