Toggle 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
Tag: Manual revert
No edit summary
 
(173 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* Text elements in white */
/* Configure Numbering scheme */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
a,
span,
blockquote,
pre,
code,
th,
td,
caption,
label,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea,
select,
button,
.option,
.mw-parser-output {
    color: #ffffff !important;
}
}
 
ol {  
/* Page background */
list-style-type: decimal;  
body {
    background-color: #27292d !important;
}
 
/* Content background */
#content,
#content #bodyContent,
#content #mw-content-text,
#content #mw-indicator-mw-helplink,
#content #mw-panel,
#content #footer,
#content #footer #footer-info,
#content #footer #footer-places,
#content #footer #footer-icons,
#content #footer #footer-copyright {
    background-color: #1f2024 !important;
}
 
/* Links */
a,
a:visited {
    color: #ffffff !important;
}
 
/* Hover effect for links */
a:hover {
    color: #cccccc !important;
}
 
/* Hover effect for buttons */
button:hover {
    background-color: #444444 !important;
    color: #ffffff !important;
}
}
 
ol li > ol {  
/* Border color */
list-style-type: lower-alpha;  
.border {
    border-color: #ffffff !important;
}
}
 
ol li > ol li > ol {
/* Header background */
list-style-type: lower-roman;  
#mw-head {
    background-color: #27292d !important;
}
}
 
/* Underline all links */
/* mw-code and mw-css background */
a {
.mw-code,
     text-decoration: underline;
.mw-css {
    background-color: #131416 !important;
}
 
/* mw-normal-catlinks background */
.mw-normal-catlinks {
    background-color: #27292d !important;
    padding: 10px; /* Adjust padding as needed */
}
 
/* Tabs */
.vector-menu-tabs-legacy a,
.vector-menu-tabs-legacy .selected {
     background-color: #1f2024 !important; /* Background color */
    color: #ffffff !important; /* Text color */
}
 
.vector-menu-tabs-legacy a:hover {
    background-color: #4b4e54 !important; /* Hover color */
}
}


/* Dropdown menu items */
/* Center Title In Infobox */
.vector-menu-dropdown .mw-list-item a:not(.vector-icon) {
.pi-item.pi-item-spacing.pi-title {
     background-color: #1f2024 !important; /* Background color */
     text-align: center; /* Centers the text horizontally */
     color: #ffffff !important; /* Text color */
     display: flex;      /* Enables flexible box layout */
    align-items: center; /* Vertically centers the content */
    justify-content: center; /* Ensures horizontal centering */
}
}

Latest revision as of 01:39, 25 November 2024

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

/* Configure Numbering scheme */
}
ol { 
	list-style-type: decimal; 
}
ol li > ol { 
	list-style-type: lower-alpha; 
}
ol li > ol li > ol { 
	list-style-type: lower-roman; 
}
/* Underline all links */
a {
    text-decoration: underline;
}

/* Center Title In Infobox */
.pi-item.pi-item-spacing.pi-title {
    text-align: center; /* Centers the text horizontally */
    display: flex;      /* Enables flexible box layout */
    align-items: center; /* Vertically centers the content */
    justify-content: center; /* Ensures horizontal centering */
}