MediaWiki:Common.css: Difference between revisions

From Borsheim Crane Service Wiki
No edit summary
No edit summary
Line 30: Line 30:
}
}


/* Hover to show full text on specific columns */
.wikitable td:nth-child(10),  /* Notes */
.wikitable td:nth-child(3):hover,  /* Current User */
.wikitable th:nth-child(10) {
.wikitable td:nth-child(10):hover, { /* Notes */
    max-width: 200px !important;
  overflow: visible !important;
    width: 200px !important;
    min-width: 200px !important;
}
 
.wikitable td:nth-child(10):hover { /* Notes only */
    overflow: visible !important;
     white-space: normal !important;
     white-space: normal !important;
     background-color: #f8f9fa !important;
     background-color: #f8f9fa !important;
Line 44: Line 49:
     max-width: none !important;
     max-width: none !important;
     width: auto !important;
     width: auto !important;
     min-width: 200px !important;
     min-width: 300px !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(16):hover,  /* Serial Number */
.wikitable td:nth-child(17):hover {  /* Email */
}
}

Revision as of 20:18, 3 June 2025

/* Borsheim red navbar styling */
.navbar-default {
    background-color: #c41e3a !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: 2px solid #c41e3a !important;
    padding: 8px !important;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3) !important;
    border-radius: 4px !important;
    max-width: none !important;
    width: auto !important;
    min-width: 300px !important;
}