MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 62: Line 62:
.mildtable td { border-top: 1px solid #000000; }
.mildtable td { border-top: 1px solid #000000; }


/* Infobox template style */
.infobox {
.infobox {
    background: #eee;
border: 1px solid #a2a9b1;
    border: 1px solid #aaa;
border-spacing: 3px;
    float: right;
background-color: #f8f9fa;
    margin: 0 0 1em 1em;
color: black;
    padding: 1em;
/* @noflip */
    width: 200px;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
}
.infobox-title {
 
    font-size: 2em;
.infobox-header,
    text-align: center;
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
}
}
.infobox-image {
 
    text-align: center;
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
}
.infobox th {
 
    text-align: right;
/* Remove .infobox when element selectors above are removed */
    vertical-align: top;
.infobox .infobox-above,
    width: 100px;
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
}
.infobox td {
 
    vertical-align: top;
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
padding: 0.2em;
}
 
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
 
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
}

Revision as of 22:07, 11 December 2022

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

/* Suppress the auto-generated section numbers in the Table of Contents */
.tocnumber { display: none; }

/* Remove top navigation tabs */
#ca-nstab-main { display:none!important; }
#ca-talk { display:none!important; }
#ca-nstab-user { display:none!important; }
#ca-ve-edit { display:none!important; }
#ca-viewsource { display:none!important; }
#ca-watch { display:none!important; }
#ca-unwatch { display:none!important; }

/* Hide categories at bottom of page */
#catlinks { display: none; }

/* Section edit button position */
.ltr .mw-editsection {
	float: right;
}
.rtl .mw-editsection {
	float: left;
}
.mw-editsection-bracket {
	display: none;
}

/* Table Formatting */
   table.wikitable   {
      margin:1em 1em 1em 0;
      background:white;
      border:1px #00000 solid;
      border-collapse:collapse;
      color:#000000;
      }

   table.wikitable th, table.wikitable td {
      border:1px #000000 solid;
      padding:0.2em;
      }

   table.wikitable th{
      background:#808080;
      color:#ffffff;
      text-align:center;
      }

   table.wikitable caption {
      margin-left:inherit;
      margin-right:inherit;
      }

/* Merit Table */
.mildtable th {
	text-align: left;
	background: transparent;
	padding: 2px;
	font-size: 90%;
}
.mildtable td + td { padding: 5px; padding-left: 5px; }
.mildtable td { border-top: 1px solid #000000; }

/* Infobox template style */
.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	vertical-align: top;
}

.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	/* @noflip */
	text-align: left;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
}

.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	padding: 0.2em;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
	text-align: center;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
	/* @noflip */
	text-align: right;
}