mediawiki-skins-MinervaNeue/resources/skins.minerva.content.styles/tables.less
jdlrobson 2cc9516cde Minerva is its own skin
This is programmatic output from python3 scripts/migrate.py

This will result in a Minerva skin dependent on MobileFrontend.

Post merge we will rename message keys to have minerva- prefix

Bug: T166748
Change-Id: Iff1f7e63e796cc5d4a6d2ab0370e0c33248d2fce
2017-07-12 08:12:40 -07:00

45 lines
937 B
Plaintext

// Tables
@import 'mediawiki.mixins.less';
@import 'minerva.variables.less';
@import 'minerva.mixins.less';
.content {
table {
margin: 1em 0;
/* following 4 rules are needed for scrolling */
overflow: auto; /* for browsers that don't support overflow-y */
overflow-y: hidden;
overflow-x: auto;
display: block;
width: 100% !important;
caption {
display: block;
text-align: left;
}
// For skinning normal data tables
// Compare with mediawiki.legacy/shared.css
&.wikitable {
border: 1px solid @grayLight;
// We only style cells that are direct children of the wikitable table since
// table tags may be used for non-table purposes within the cells.
> tr > th,
> tr > td,
> * > tr > th,
> * > tr > td {
border: 1px solid @grayLight;
padding: 0.2em;
}
// Make headings distinguishable
> tr > th,
> * > tr > th {
background-color: @grayLightest;
}
}
}
}