MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
m
Only hide border on wikitables.
(Remove border from tables)
m (Only hide border on wikitables.)
Line 1: Line 1:
/*Custom NARA CSS*/
/*
* Custom NARA CSS Start
*/


/*Hide whitespace*/
div.mw-parser-output p:has(br:only-child) {
div.mw-parser-output p:has(br:only-child) {
     display: none;
     display: none;
}
}
div.mw-parser-output p:empty {
div.mw-parser-output p:empty {
   display: none;
   display: none;
Line 10: Line 12:


/*Prevent wide tables from overflowing off the page*/
/*Prevent wide tables from overflowing off the page*/
table {
table {
   max-width: 100%;
   max-width: 100%;
   overflow-x: auto;
   overflow-x: auto;
   display: block;
   display: block;
}
/* Remove border from wikitables */
table.wikitable {
   border: 0px transparent !important;
   border: 0px transparent !important;
}
}
/*
* Custom NARA CSS End
*/


/*Completely stolen from en.wikipedia.org*/
/*Completely stolen from en.wikipedia.org*/

Navigation menu