MediaWiki:Gadget-highlightTable-core.css
Jump to navigation
Jump to search
After saving, you may need to bypass your browser's cache to see the changes. For further information, see Wikipedia:Bypass your cache.
- In most Windows and Linux browsers: Hold down Ctrl and press F5.
- In Safari: Hold down ⇧ Shift and click the Reload button.
- In Chrome and Firefox for Mac: Hold down both ⌘ Cmd+⇧ Shift and press R.
/* CSS for [[MediaWiki:Gadget-highlightTable.js]] */
/* ===========================
wikitable lighttables
=========================== */
:root {
/* [[RS:THEME]] colours */
--lighttable-bg-hover: #def2cc; /* lighten(@caper, 10%) in .less */
--lighttable-bg-active: #bbee91; /* lighten(@lima, 30%) */
--lighttable-link-color: #3c780a; /* @la-palma */
}
table.lighttable .highlight-on {
background-color: var(--lighttable-bg-active);
}
table.lighttable .highlight-over {
background-color: var(--lighttable-bg-hover);
}
table.lighttable .highlight-on a,
table.lighttable .highlight-over a {
color: var(--lighttable-link-color);
}
/* Underground pass and Lunar Diplomacy lighttable layout to make a 5x5 grid */
.underpasstable {
margin-left: 3em;
}
/* need to be more specific for mobile */
body.skin-minerva .content table.underpasstable {
margin-left: 3em;
}
.underpasstable,
.underpasstable .lighttable {
border-collapse: collapse;
/* only needed on mobile */
margin-top: 0;
margin-bottom: 0;
}
.underpasstable td {
padding: 0;
margin: 0;
width: 50px;
height: 50px;
border-spacing: 0;
border-left: 1px solid var(--body-border);
border-right: 1px solid var(--body-border);
}
.underpasstable td td {
border: none;
border-top: 1px solid var(--body-border);
border-bottom: 1px solid var(--body-border);
}
.underpasstable tfoot {
display: none;
}