Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 125: | Line 125: | ||
/* ========================================================================= */ | /* ========================================================================= */ | ||
− | /* Style for all tabs */ | + | /* Style for all tabs (namespace and action tabs) */ |
− | .vectorTabs li a { | + | .vectorTabs li a, |
− | background-color: # | + | #p-namespaces .body ul li a { |
− | color: # | + | background-color: #121212; /* matching dark background */ |
− | border: | + | color: #bbb; /* light gray text */ |
− | padding: | + | border: 1px solid transparent; |
− | border-radius: | + | padding: 6px 12px; |
− | + | text-decoration: none; | |
+ | font-weight: normal; | ||
+ | border-radius: 3px 3px 0 0; | ||
+ | transition: background-color 0.3s, color 0.3s, border-color 0.3s; | ||
} | } | ||
− | /* | + | /* Hover effect for tabs */ |
− | .vectorTabs li. | + | .vectorTabs li a:hover, |
− | background-color: # | + | #p-namespaces .body ul li a:hover { |
− | color: | + | background-color: #222; /* slightly lighter dark */ |
− | + | color: #eee; | |
} | } | ||
− | /* | + | /* Active tab styling */ |
− | .vectorTabs li a: | + | .vectorTabs li.selected a, |
− | + | #p-namespaces .body ul li.selected a { | |
− | color: | + | background-color: #0a3d62; /* dark blue highlight */ |
+ | color: #3fa9f5; /* bright blue text */ | ||
+ | border-color: #0a3d62 #0a3d62 transparent transparent; /* highlight top-left border */ | ||
+ | font-weight: bold; | ||
+ | cursor: default; | ||
+ | } | ||
+ | |||
+ | /* Maintain spacing between tabs */ | ||
+ | .vectorTabs li, | ||
+ | #p-namespaces .body ul li { | ||
+ | margin-right: 3px; | ||
+ | } | ||
+ | |||
+ | /* Remove underline from star icon if present */ | ||
+ | #ca-watch a, | ||
+ | #ca-unwatch a { | ||
+ | color: #3fa9f5 !important; | ||
+ | } | ||
+ | |||
+ | /* Optional: style the star icon */ | ||
+ | #ca-watch a::before, | ||
+ | #ca-unwatch a::before { | ||
+ | color: #3fa9f5; | ||
} | } |
Revision as of 05:27, 5 May 2025
/* CSS placed here will be applied to all skins */ /* ========================= */ /* BODY STYLES */ /* ========================= */ body { background: #202020; color: #e6e6e6; /* Force text color */ } /* ========================= */ /* CONTENT STYLES */ /* ========================= */ #content { background-color: #191919; color: #e6e6e6 !important; /* Force text color */ } /* Sets background color of the logo area */ #p-logo { background-color: #202020; } /* ========================= */ /* NAVIGATION MENU STYLES */ /* ========================= */ #p-navigation { background-color: #202020; } /* Change color for all links in the navigation menu */ #p-navigation a { color: #90b7f9 !important; /* Set the default link color */ } /* Change hover color for all links in the navigation menu */ #p-navigation a:hover { color: #955bc2; /* Set the hover color for links */ } /* ========================= */ /* TABLE OF CONTENTS STYLES */ /* ========================= */ .mw-parser-output .toc { background-color: #343434; border: 1px solid #444241; } /* ========================= */ /* HEADING STYLES */ /* ========================= */ h1, h2, h3 { color: #191919 !important; /* Force heading colors */ } /* ========================= */ /* LINK STYLES */ /* ========================= */ a { color: #90b7f9; /* Set the default link color */ } a:hover { color: #955bc2; /* Set the hover color for links */ } /* ========================= */ /* TOP BAR STYLES */ /* ========================= */ #mw-head { background-color: #202020; } #mw-head a { color: #191919; /* Force link color in top bar */ padding: 5px 10px; } /* ========================= */ /* NOTABLE MEMBERS STYLES */ /* ========================= */ .notable-members { background-color: #343434 !important; color: #e6e6e6 !important; } .notable-members th, .notable-members td { border: 2px solid #e6e6e6; color: #e6e6e6 !important; /* Force cell text color */ } /* ========================= */ /* TOOLS SECTION STYLES */ /* ========================= */ #p-tb a { color: #90b7f9; /* Set the default link color */ } #p-tb a:hover { color: #955bc2; /* Set the hover color for links */ } /* ========================= */ /* GRADIENT MENU STYLES */ /* ========================= */ /* Change background for the "Read," "Edit," and "View history" links */ .ca-menu { background: linear-gradient(to right, #252525, rgba(144, 183, 249, 0.5)); /* Fade effect */ } /* Change text color for the links */ .ca-menu a { color: #90b7f9 !important; /* Set the text color */ } /* ============================= */ /* Change color of visited links */ /* ============================= */ a:visited { color: #955bc2; /* Set the visited link color */ } /* ========================================================================= */ /* THIS IS FOR THE "MAIN PAGE, VIEW, EDIT, READ" BARS ON THE TOP OF THE PAGE */ /* ========================================================================= */ /* Style for all tabs (namespace and action tabs) */ .vectorTabs li a, #p-namespaces .body ul li a { background-color: #121212; /* matching dark background */ color: #bbb; /* light gray text */ border: 1px solid transparent; padding: 6px 12px; text-decoration: none; font-weight: normal; border-radius: 3px 3px 0 0; transition: background-color 0.3s, color 0.3s, border-color 0.3s; } /* Hover effect for tabs */ .vectorTabs li a:hover, #p-namespaces .body ul li a:hover { background-color: #222; /* slightly lighter dark */ color: #eee; } /* Active tab styling */ .vectorTabs li.selected a, #p-namespaces .body ul li.selected a { background-color: #0a3d62; /* dark blue highlight */ color: #3fa9f5; /* bright blue text */ border-color: #0a3d62 #0a3d62 transparent transparent; /* highlight top-left border */ font-weight: bold; cursor: default; } /* Maintain spacing between tabs */ .vectorTabs li, #p-namespaces .body ul li { margin-right: 3px; } /* Remove underline from star icon if present */ #ca-watch a, #ca-unwatch a { color: #3fa9f5 !important; } /* Optional: style the star icon */ #ca-watch a::before, #ca-unwatch a::before { color: #3fa9f5; }