MediaWiki:Common.css: Difference between revisions

From tol2kit for kwan lab
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
#p-tb {  
#p-tb {  
     display: none !important;  
     display: none !important;  
}
/* Make portlet backgrounds transparent */
.mw-portlet {
    background: transparent !important;
    border: none !important;
}
/* Make the portlet heading text color match Vector */
.mw-portlet h3 {
    color: #000 !important;
}
}


Line 12: Line 23:


#p-search input[type="search"] {
#p-search input[type="search"] {
     flex: 1; /* This makes the input field take up all available space */
     flex: 1;
}
}


#p-search input[type="submit"] {
#p-search input[type="submit"] {
     flex: 1; /* This makes the submit button take up equal space as the input field */
     flex: 1;
     padding: 10px; /* Add some padding to make the button look better */
     padding: 10px;
}
}


/* Make portlet backgrounds transparent */
/* Remove background images and set a solid background color */
.mw-portlet {
body, .mw-body {
     background: transparent !important;
     background-image: none !important;
     border: none !important;  /* Remove borders */
     background-color: #007bff !important;  /* Replace with your desired color */
    color: white;  /* Text color for contrast */
}
}


/* Make the portlet heading text color match Vector */
.mw-portlet h3 {
    color: #000 !important;  /* Black color for the headings */
}


/* Hide the Discussion tab */
/* Hide the Discussion tab */

Revision as of 18:00, 12 March 2025

/* CSS placed here will be applied to all skins */

#p-tb { 
    display: none !important; 
}

/* Make portlet backgrounds transparent */
.mw-portlet {
    background: transparent !important;
    border: none !important;
}

/* Make the portlet heading text color match Vector */
.mw-portlet h3 {
    color: #000 !important;
}

/* Make the search input and button have equal widths */
#p-search form {
    display: flex;
    width: 100%;
}

#p-search input[type="search"] {
    flex: 1;
}

#p-search input[type="submit"] {
    flex: 1;
    padding: 10px;
}

/* Remove background images and set a solid background color */
body, .mw-body {
    background-image: none !important;
    background-color: #007bff !important;  /* Replace with your desired color */
    color: white;  /* Text color for contrast */
}


/* Hide the Discussion tab */
#ca-discussion, #ca-talk { display: none !important; }

/* Hide the Watchlist tab */
#ca-watch { display: none !important; }

/* You can also hide other irrelevant tabs like History */
#ca-history { display: none !important; }

/* Hide the "contribution" tab */
#ca-contributions { display: none !important; }