MediaWiki:Common.css: Difference between revisions

From Borsheim Crane Service Wiki
Created page with "Borsheim red corporate styling: .navbar-default { background-color: #c41e3a !important; border: none !important; } .navbar-default .navbar-brand { color: white !important; font-weight: bold; } .navbar-default .navbar-brand:hover { color: #f8f9fa !important; } .navbar-default .navbar-nav > li > a { color: white !important; } .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { background-color: rgba(..."
 
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Borsheim red corporate styling */
/* Borsheim red navbar styling */
.navbar-default {
.navbar-default {
     background-color: #c41e3a !important;
     background-color: #bf2433 !important;
     border: none !important;
     border: none !important;
}
}
Line 7: Line 7:
.navbar-default .navbar-brand {
.navbar-default .navbar-brand {
     color: white !important;
     color: white !important;
    font-weight: bold;
}
.navbar-default .navbar-brand:hover {
    color: #f8f9fa !important;
}
}


Line 18: Line 13:
}
}


.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:hover {
.navbar-default .navbar-nav > li > a:focus {
     background-color: rgba(255,255,255,0.1) !important;
     background-color: rgba(255,255,255,0.1) !important;
    color: #f8f9fa !important;
}
}


.navbar-default .navbar-nav > .active > a {
/* Red links */
    background-color: rgba(255,255,255,0.2) !important;
a {
     color: white !important;
     color: #c41e3a !important;
}
}


/* Red buttons */
/* Apply nowrap to all table cells - with !important to override defaults */
.btn-primary {
.wikitable td,
     background-color: #c41e3a;
.wikitable th {
     border-color: #a91729;
     white-space: nowrap !important;
    overflow: hidden !important;
     text-overflow: ellipsis !important;
}
}


.btn-primary:hover {
.wikitable td:nth-child(10),  /* Notes */
     background-color: #a91729;
.wikitable th:nth-child(10) {
     border-color: #8b1423;
     max-width: 200px !important;
}
     width: 200px !important;
 
     min-width: 200px !important;
/* Red links */
a {
     color: #c41e3a;
}
}


a:hover {
.wikitable td:nth-child(10):hover { /* Notes only */
     color: #a91729;
    overflow: visible !important;
    white-space: nowrap !important;
     background-color: #f8f9fa !important;
    position: relative !important;
    z-index: 999 !important;
    border: 1px solid #bf2433 !important;
    max-width: none !important;
    width: auto !important;
}
}

Latest revision as of 20:23, 3 June 2025

/* 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: nowrap !important;
    background-color: #f8f9fa !important;
    position: relative !important;
    z-index: 999 !important;
    border: 1px solid #bf2433 !important;
    max-width: none !important;
    width: auto !important;
}