MediaWiki:Common.css: Difference between revisions

From Discovery Data Service
Jump to navigation Jump to search
No edit summary
No edit summary
Line 187: Line 187:
}
}


#toc {
#toc {float:right;margin:0 0 1em 1em;position:fixed;top:150px;right:10px;};
float:right;
margin-left:40px;
}

Revision as of 13:14, 28 April 2021

/* To make images responsive */ img { max-width:100%; height:auto; padding-top: 10px; padding-bottom: 10px; }

ol li {

list-style-type:decimal;

}

ol li ol li {

list-style-type:lower-alpha;

}

table.columns
{
	border-collapse: collapse;
	text-align: center;
	table-layout: fixed;
	column-width: 30px;
}

table.borders
{
	border-collapse: collapse;
	text-align: center;
	table-layout: fixed;
	width: 100%;
	
}

th.borders

/* unvisited link */
a:link {
  color: #003399 !important;
}

/* visited link */
a:visited {
  color: #003399 !important;
}




/* mouse over link */
a:hover {
  color: #f57c00 !important;
}

/* selected link */
a:active {
  color: #f57c00 !important;
}


{
	text-align: center;
	background-color: #37474f;
	color: white;
	border-right: solid 1px black;
	border-left: solid 1px black;
	border-collapse: collapse;
	
}

td.borders 
{
	border-right: solid 1px black;
	border-left: solid 1px black;
	border-collapse: collapse;
	padding: 0px;
	text-align: center;
	vertical-align: top;
	border-bottom: solid 1px black;
	padding-top: 5px;
	height: 60px;
}

td.borders:first-child
{
	border-right: solid 1px black;
	border-left: solid 1px black;
	border-collapse: collapse;
	padding: 0px;
	text-align: center;
	vertical-align: top;
	border-bottom: solid 1px black;
	padding-top: 5px;
	font-weight: normal;
}

td.noborders 
{
	border-left: none;
	border-right: none;
	border-collapse: collapse;
	padding: 0px;
	text-align: center;
	vertical-align: top;
	border-bottom: none;
	background-color: #dcdcdc;
}

td.noborders:first-child
{
	border-top: solid 1px black;
	padding: 0px;
	text-align: center;
	font-weight: normal;
}

.line {
   width: 100%; 
   text-align: center; 
   border-bottom: 1px solid #000; 
   line-height: 0.1em;
   margin: 10px 0 20px; 
} 

.line span { 
    background:#fff; 
    padding:0 10px; 
}

dd {
    margin-left: 0em !important;
}

td.noborders:first-child {
    border-top: none !important;
}

.mw-collapsible-toggle {
    outline: none;
}

.mw-customtoggle {
    outline: none;
}

.green-tip
{
	color: #558B2F;
        font-size:14pt;
}

.blue-info
{
	color: #0277BD;
        font-size:14pt;
}

.orange-note
{
	color: #ff8F00;
        font-size:14pt;
}

.red-warning
{
	color: #f00;
        font-size:14pt;
}

td {
    display: table-cell;
    vertical-align: top;
}


/* {{pp-template}} 
   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;
}

#toc {float:right;margin:0 0 1em 1em;position:fixed;top:150px;right:10px;};