MediaWiki:Common.css
From Borsheim Crane Service Wiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Borsheim red navbar styling */
.navbar-default {
background-color: #bf2433 !important;
border: none !important;
}
.navbar-default .navbar-brand {
color: white !important;
}
.navbar-default .navbar-nav > li > a {
color: white !important;
}
.navbar-default .navbar-nav > li > a:hover {
background-color: rgba(255,255,255,0.1) !important;
}
/* Red links */
a {
color: #c41e3a !important;
}
/* Apply nowrap to all table cells - with !important to override defaults */
.wikitable td,
.wikitable th {
white-space: nowrap !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
}
.wikitable td:nth-child(10), /* Notes */
.wikitable th:nth-child(10) {
max-width: 200px !important;
width: 200px !important;
min-width: 200px !important;
}
.wikitable td:nth-child(10):hover { /* Notes only */
overflow: visible !important;
white-space: normal !important;
background-color: #f8f9fa !important;
position: relative !important;
z-index: 999 !important;
border: 1px solid #bf2433 !important;
padding: 8px !important;
max-width: none !important;
width: auto !important;
min-width: 300px !important;
}