Jump to content

MediaWiki:Common.css: Difference between revisions

From Transight Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* Set top bar background to burgundy */
/* Top navbar area in burgundy */
#mw-head,
#mw-head-base,
#mw-head-base,
#mw-head,
#p-personal,
#p-personal,
#left-navigation,
.vector-menu-tabs,
#right-navigation {
.vector-menu-tabs li {
     background-color: #800020 !important;
     background-color: #800020 !important;
     color: white !important;
     color: white !important;
    border: none !important;
}
}


/* Search box styling */
/* Transparent tabs over the burgundy bar */
#p-search input,
.vector-menu-tabs li a {
    background: transparent !important;
    color: white !important;
    font-weight: bold;
}
 
/* Highlight current tab with underline only */
.vector-menu-tabs .selected a {
    border-bottom: 3px solid white !important;
    background: transparent !important;
}
 
/* Search input styling */
#p-search input {
    background-color: white !important;
    color: black !important;
    border: none !important;
    padding: 4px 8px;
    border-radius: 4px;
}
 
/* Search button styling */
#p-search button {
#p-search button {
     background-color: white !important;
     background-color: #ffffff !important;
     color: #000 !important;
     color: #800020 !important;
     border: none !important;
     border: none !important;
    font-weight: bold;
}
}


/* Logo in header, not sidebar */
/* Insert Transight logo in top left */
#p-logo {
#p-logo {
     background-image: url(/images/Transight logo (2).jpg);  /* Update path */
     background-image: url(/images/Transight_logo.jpg);  /* Update with your real file path */
    background-size: contain;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
    background-size: contain;
    width: 200px;
     height: 60px;
     height: 60px;
    width: 220px;
     margin: 0;
     margin: 0;
}
}


/* Remove extra borders and burgundy fill on tabs/buttons */
/* Clean up side menus and remove burgundy boxes */
.vector-menu-tabs .selected,
.vector-menu-tabs li a,
.vector-menu .vector-menu-content-list a {
    background-color: transparent !important;
    color: #800020 !important;
    border: none !important;
}
 
/* Sidebar and toolbars back to default look */
#mw-panel,
#mw-panel,
#p-tb {
#p-tb,
    background-color: #f9f9f9 !important;
    color: #000 !important;
}
 
/* Remove burgundy box buttons */
.vector-menu .vector-menu-content-list li a {
.vector-menu .vector-menu-content-list li a {
     background-color: transparent !important;
     background-color: transparent !important;
    color: #800020 !important;
}
}


/* Optional: reduce logo block height on pages */
/* Adjust top right login icons spacing */
#p-logo {
#p-personal {
     position: absolute;
     padding-top: 10px;
    top: 10px;
    left: 10px;
}
}

Revision as of 05:19, 23 June 2025

/* Top navbar area in burgundy */
#mw-head,
#mw-head-base,
#p-personal,
.vector-menu-tabs,
.vector-menu-tabs li {
    background-color: #800020 !important;
    color: white !important;
    border: none !important;
}

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

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

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

/* Search button styling */
#p-search button {
    background-color: #ffffff !important;
    color: #800020 !important;
    border: none !important;
    font-weight: bold;
}

/* Insert Transight logo in top left */
#p-logo {
    background-image: url(/images/Transight_logo.jpg);  /* Update with your real file path */
    background-size: contain;
    background-repeat: no-repeat;
    height: 60px;
    width: 220px;
    margin: 0;
}

/* Clean up side menus and remove burgundy boxes */
#mw-panel,
#p-tb,
.vector-menu .vector-menu-content-list li a {
    background-color: transparent !important;
    color: #800020 !important;
}

/* Adjust top right login icons spacing */
#p-personal {
    padding-top: 10px;
}