MediaWiki:Common.css: Difference between revisions

From MWStake
Jump to navigation Jump to search
(Trying to keep header text aligned to the right of header numbering.)
(Added CSS for Charter page.)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.page-Main_Page #ext-watchanalytics-pagescores {
display: none;
}
.hourminute a {
.hourminute a {
   min-width: 50px;
   min-width: 50px;
Line 23: Line 27:




/* The following is a test for page level CSS changes on the Bylaws talk page*/
/* The following are page level CSS changes for the Bylaws page*/
body.page-Talk_Bylaws p, body.page-Talk_Bylaws h3, body.page-Talk_Bylaws h4,  
body.page-Bylaws h3, body.page-Bylaws h4, body.page-Bylaws h5,
body.page-Talk_Bylaws h5, body.page-Talk_Bylaws h6, body.page-Talk_Bylaws ol,
body.page-Bylaws h6 {
body.page-Talk_Bylaws ul {
font-weight: normal;
font-weight: normal;
font-size: 1em;
font-size: 1em;
text-indent: -1em;
margin-top: 0.1em;
padding-top: 0.1em;
}
body.page-Bylaws h3 {
margin-left: 2em;
text-indent: -2em;
padding-left: 2em;
padding-left: 2em;
}
}
body.page-Talk_Bylaws h3 {
body.page-Bylaws h4 {
margin-left: 4em;
text-indent: -2.7em;
padding-left: 2.7em;
}
body.page-Bylaws h5 {
margin-left: 6em;
text-indent: -3.5em;
padding-left: 3.5em;
}
body.page-Bylaws h6 {
margin-left: 8em;
text-indent: -4.2em;
padding-left: 4.2em;
}
 
/* The following are page level CSS changes for the Charter page*/
body.page-Charter h3, body.page-Charter h4, body.page-Charter h5,
body.page-Charter h6 {
font-weight: normal;
font-size: 1em;
margin-top: 0.1em;
padding-top: 0.1em;
}
body.page-Charter h3 {
margin-left: 2em;
margin-left: 2em;
text-indent: -2em;
padding-left: 2em;
}
}
body.page-Talk_Bylaws h4 {
body.page-Charter h4 {
margin-left: 4em;
margin-left: 4em;
text-indent: -2.7em;
padding-left: 2.7em;
}
}
body.page-Talk_Bylaws h5 {
body.page-Charter h5 {
margin-left: 6em;
margin-left: 6em;
text-indent: -3.5em;
padding-left: 3.5em;
}
}
body.page-Talk_Bylaws h6 {
body.page-Charter h6 {
margin-left: 8em;
margin-left: 8em;
text-indent: -4.2em;
padding-left: 4.2em;
}
/* The following are page level CSS changes for the Sales Deck page*/
.noautonum .tocnumber {
display: none;
}
}

Latest revision as of 03:22, 25 February 2021

.page-Main_Page #ext-watchanalytics-pagescores {
	display: none;
}

.hourminute a {
  min-width: 50px;
}

div.hourminute {
  min-width: 50px !important;
}


/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}


/* The following are page level CSS changes for the Bylaws page*/
body.page-Bylaws h3, body.page-Bylaws h4, body.page-Bylaws h5,
body.page-Bylaws h6 {
	font-weight: normal;
	font-size: 1em;
	margin-top: 0.1em;
	padding-top: 0.1em;
}
body.page-Bylaws h3 {
	margin-left: 2em;
	text-indent: -2em;
	padding-left: 2em;
}
body.page-Bylaws h4 {
	margin-left: 4em;
	text-indent: -2.7em;
	padding-left: 2.7em;
}
body.page-Bylaws h5 {
	margin-left: 6em;
	text-indent: -3.5em;
	padding-left: 3.5em;
}
body.page-Bylaws h6 {
	margin-left: 8em;
	text-indent: -4.2em;
	padding-left: 4.2em;
}

/* The following are page level CSS changes for the Charter page*/
body.page-Charter h3, body.page-Charter h4, body.page-Charter h5,
body.page-Charter h6 {
	font-weight: normal;
	font-size: 1em;
	margin-top: 0.1em;
	padding-top: 0.1em;
}
body.page-Charter h3 {
	margin-left: 2em;
	text-indent: -2em;
	padding-left: 2em;
}
body.page-Charter h4 {
	margin-left: 4em;
	text-indent: -2.7em;
	padding-left: 2.7em;
}
body.page-Charter h5 {
	margin-left: 6em;
	text-indent: -3.5em;
	padding-left: 3.5em;
}
body.page-Charter h6 {
	margin-left: 8em;
	text-indent: -4.2em;
	padding-left: 4.2em;
}

/* The following are page level CSS changes for the Sales Deck page*/
.noautonum .tocnumber {
	display: none;
}