MediaWiki:Common.css: Difference between revisions
Jump to navigation Jump to search (Created page with "→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 nav...") |
mNo edit summary |
||
(55 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
#ca-talk { display:none!important; } | #ca-talk { display:none!important; } | ||
#ca-nstab-user { 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-watch { display:none!important; } | ||
#ca-unwatch { 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 */ | |||
.infobox { | |||
background: transparent; | |||
border: 0px; | |||
float: right; | |||
margin: 0 0 1em 1em; | |||
padding: 1em; | |||
width: 240px; | |||
} | |||
.infobox-title { | |||
font-size: 2em; | |||
text-align: center; | |||
} | |||
.infobox-image { | |||
text-align: center; | |||
} | |||
.infobox th { | |||
text-align: left; | |||
vertical-align: top; | |||
width: 240px; | |||
} | |||
.infobox td { | |||
vertical-align: top; | |||
} |
Latest revision as of 21:42, 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 */
.infobox {
background: transparent;
border: 0px;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 240px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox th {
text-align: left;
vertical-align: top;
width: 240px;
}
.infobox td {
vertical-align: top;
}