MediaWiki:Common.css: Difference between revisions
Jump to navigation Jump to search (Removed tabs for Visual Editor and anonymous user View Source) |
(Added "Table Formatting") |
||
Line 26: | Line 26: | ||
display: none; | display: none; | ||
} | } | ||
/* Table Formatting */ | |||
table.wikitable { | |||
margin:1em 1em 1em 0; | |||
background:#F9F9F9; | |||
border:1px #AAA solid; | |||
border-collapse:collapse; | |||
} | |||
table.wikitable th, table.wikitable td { | |||
border:1px #AAA solid; | |||
padding:0.2em; | |||
} | |||
table.wikitable th{ | |||
background:#F2F2F2; | |||
text-align:center; | |||
} | |||
table.wikitable caption { | |||
margin-left:inherit; | |||
margin-right:inherit; | |||
} |
Revision as of 16:29, 5 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:#F9F9F9;
border:1px #AAA solid;
border-collapse:collapse;
}
table.wikitable th, table.wikitable td {
border:1px #AAA solid;
padding:0.2em;
}
table.wikitable th{
background:#F2F2F2;
text-align:center;
}
table.wikitable caption {
margin-left:inherit;
margin-right:inherit;
}