Jump to content

MediaWiki:Common.css: Difference between revisions

From Transight Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* Top bar full width background - burgundy */
/* Extend topmost boundary (entire header area) to full burgundy */
#mw-page-base {
    background-color: #800020 !important;
}
 
#mw-head-base,
#mw-head-base,
#mw-head,
#mw-head,
#left-navigation,
#left-navigation,
#right-navigation {
#right-navigation,
    background-color: #800020 !important;
    color: white !important;
    border: none !important;
}
 
/* Header tabs (Main Page, Read, etc.) styling */
.vector-menu-tabs,
.vector-menu-tabs,
.vector-menu-tabs li {
#p-personal {
     background-color: transparent !important;
     background-color: transparent !important;
     border: none !important;
     color: white !important;
}
}


/* Individual tabs */
/* Tabs over transparent background */
.vector-menu-tabs li a {
.vector-menu-tabs li a {
     background-color: transparent !important;
     background-color: transparent !important;
     color: white !important;
     color: white !important;
    border: none !important;
    padding: 8px 12px !important;
     font-weight: bold;
     font-weight: bold;
}
}


/* Selected tab underline only */
/* Selected tab with underline */
.vector-menu-tabs .selected a {
.vector-menu-tabs .selected a {
     border-bottom: 3px solid white !important;
     border-bottom: 3px solid white !important;
    background: transparent !important;
}
}


/* Search bar styling */
/* Logo styling */
#p-logo {
    background-image: url(/images/Transight_logo.jpg); /* Replace with actual path */
    background-size: contain;
    background-repeat: no-repeat;
    width: 220px;
    height: 60px;
    position: absolute;
    top: 10px;
    left: 0;
    margin: 0;
    z-index: 10;
}
 
/* Search box styling */
#p-search input {
#p-search input {
     background-color: white !important;
     background-color: white !important;
Line 40: Line 49:
}
}


/* Search button styling */
#p-search button {
#p-search button {
     background-color: white !important;
     background-color: white !important;
     color: #800020 !important;
     color: #800020 !important;
    border: none !important;
     font-weight: bold;
     font-weight: bold;
    border: none !important;
     padding: 4px 8px;
     padding: 4px 8px;
     border-radius: 4px;
     border-radius: 4px;
}
}


/* Insert Transight logo top-left */
/* Align login buttons */
#p-logo {
    background-image: url(/images/Transight_logo.jpg);  /* Update with correct path */
    background-size: contain;
    background-repeat: no-repeat;
    height: 60px;
    width: 220px;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
}
 
/* Sidebar and toolboxes back to clean look */
#mw-panel,
#p-tb {
    background-color: #f8f8f8 !important;
    color: #000 !important;
}
 
/* Remove burgundy boxes in menus */
.vector-menu .vector-menu-content-list li a {
    background-color: transparent !important;
    color: #800020 !important;
}
 
/* Top right login/user area alignment */
#p-personal {
#p-personal {
     padding-top: 15px;
     padding-top: 15px;
}
/* Remove empty title spacing if needed */
#firstHeading {
    margin-top: 1.5em;
}
}

Revision as of 05:23, 23 June 2025

/* Extend topmost boundary (entire header area) to full burgundy */
#mw-page-base {
    background-color: #800020 !important;
}

#mw-head-base,
#mw-head,
#left-navigation,
#right-navigation,
.vector-menu-tabs,
#p-personal {
    background-color: transparent !important;
    color: white !important;
}

/* Tabs over transparent background */
.vector-menu-tabs li a {
    background-color: transparent !important;
    color: white !important;
    font-weight: bold;
}

/* Selected tab with underline */
.vector-menu-tabs .selected a {
    border-bottom: 3px solid white !important;
}

/* Logo styling */
#p-logo {
    background-image: url(/images/Transight_logo.jpg); /* Replace with actual path */
    background-size: contain;
    background-repeat: no-repeat;
    width: 220px;
    height: 60px;
    position: absolute;
    top: 10px;
    left: 0;
    margin: 0;
    z-index: 10;
}

/* Search box styling */
#p-search input {
    background-color: white !important;
    color: black !important;
    border: none !important;
    border-radius: 4px;
    padding: 4px 8px;
}

#p-search button {
    background-color: white !important;
    color: #800020 !important;
    border: none !important;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Align login buttons */
#p-personal {
    padding-top: 15px;
}