Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 25: Line 25:
     background-attachment: fixed;
     background-attachment: fixed;
}
}
#vector-typeahead-search-container {
#searchInput {
border: none;
    background-color: #f8f9fa; /* Change the background color */
background-color: var(--background-color-darker);
    color: #333; /* Change the text color */
    border: none !important; /* Remove the border */
    padding: 6px; /* Adjust padding */
    border-radius: 5px; /* Optional: round the corners */
}
 
#searchInput:focus {
    outline: none; /* Remove the blue focus outline */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Optional: subtle shadow */
}
}

Revision as of 22:07, 20 February 2025

/* CSS placed here will be applied to all skins */
:root {
	--lt-color-background-default: #37383e;
	--background-color-base: #37383e;
	--background-color-darker: #2b2b2f;
	--font-color: #fff;
	--color-progressive: #a4b9d6;
	--border-color-base: #b92727;
}

/* Change background color */
body {
    background-color: #730c0c !important;
    color: var(--font-color) !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--font-color);
}

/* Set background image */
body {
    /*background-image: url('/images/custom-background.png');*/
    background-size: cover;
    background-attachment: fixed;
}
#searchInput {
    background-color: #f8f9fa; /* Change the background color */
    color: #333; /* Change the text color */
    border: none !important; /* Remove the border */
    padding: 6px; /* Adjust padding */
    border-radius: 5px; /* Optional: round the corners */
}

#searchInput:focus {
    outline: none; /* Remove the blue focus outline */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Optional: subtle shadow */
}