Jump to content

MediaWiki:Common.css: Difference between revisions

From Hackerpedia
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Hackerpedia Professional Tech Theme - FULL INTERFACE */
/* 1. MASTER LIGHT THEME - Pure white & soft greys */
html, body,
.mw-page-container,
.mw-header,
.vector-header-container,
.mw-footer-container,
.mw-body, #content {
    background-color: #ffffff !important;
    color: #202122 !important; /* Standard high-readability dark grey text */
}


/* 1. Global Background & Text */
/* 2. HEADINGS - Professional Royal Blue */
/* Targets the HTML root and all major containers to eliminate white space */
h1, h2, h3, .firstHeading {
html, body, #mw-page-base, #mw-head-base, #content, #mw-navigation, .mw-body {
     color: #0056b3 !important;  
     background-color: #0b0e14 !important;
     border-bottom: 2px solid #eeeeee !important;
     color: #ffffff !important;
     font-family: 'Segoe UI', Tahoma, sans-serif;
     font-family: 'Segoe UI', Arial, sans-serif;
}
}


/* 2. Headings in high-contrast yellow */
/* 3. SEARCH & BUTTONS - Subtle Blue Grey */
h1, h2, h3, .firstHeading {
.cdx-button,  
     color: #ffcc00 !important;  
.cdx-search-input__button {
     border-bottom: 1px solid #3d444d !important;
     background-color: #f8f9fa !important;
     font-family: 'Courier New', monospace;
    color: #0056b3 !important;
     border: 1px solid #ced4da !important;
}
/* 1. Expand the Logo Container */
.mw-logo {
    padding: 10px 0 !important;
}
 
/* 2. Set the Logo Image Size */
.mw-logo-icon {
    width: 80px !important; /* Adjust this number to your liking */
     height: 80px !important; /* Keep width and height equal for square logos */
    max-width: none !important;
    max-height: none !important;
}
 
/* 3. If you have a Wordmark (Text) next to the icon */
.mw-logo-wordmark {
    height: 40px !important; /* Makes the "Hackerpedia" text larger */
    width: auto !important;
}
}


/* 3. The Definition Container */
.cdx-text-input__input {
.cyber-term-box {
     background-color: #ffffff !important;
     background-color: #1a1f26; /* Dark slate box */
     color: #202122 !important;
     border: 1px solid #3d444d;
     border: 1px solid #ced4da !important;
     border-left: 6px solid #ffcc00; /* Thick yellow bar */
    padding: 25px;
    margin: 20px 0;
    color: #ffffff !important;
    border-radius: 4px;
}
}


/* 4. Sidebar & Navigation Panels */
/* 4. SIDEBAR (MAIN MENU) */
/* This ensures the left menu and top tabs don't stay white */
.vector-main-menu {
.mw-sidebar, #mw-panel, .vector-menu-portal, .vector-menu-content,
     background-color: #f8f9fa !important; /* Soft grey sidebar */
#p-navigation, #p-tb, #p-lang, .vector-main-menu {
     border-right: 1px solid #eeeeee !important;
     background-color: #0b0e14 !important;
     color: #ffffff !important;
}
}


/* 5. Force links to be a clear, bright blue */
.vector-group-title, .vector-menu-heading {
a, .vector-menu-tabs li a {
     color: #4b0082 !important; /* Indigo/Purple for menu headers */
     color: #58a6ff !important;
     font-weight: bold;
     font-weight: bold;
    text-decoration: none;
}
}


a:visited {
/* 5. TABS (Read, Edit, History) */
     color: #a371f7 !important;
.vector-menu-tabs .mw-list-item a {
    background-color: #f8f9fa !important;
     color: #0056b3 !important;
    border: 1px solid #eeeeee !important;
}
}


a:hover {
.vector-menu-tabs .selected a {
     text-decoration: underline;
     background-color: #ffffff !important;
     color: #79c0ff !important;
     color: #d32f2f !important; /* Red for the active tab */
    border-bottom: 2px solid #d32f2f !important;
}
}


/* 6. Fix for Tabs and Search Bar */
/* 6. LINKS - Deep Purple for a sophisticated look */
/* Style the top 'Read', 'Edit', and 'View history' tabs */
a { color: #6f42c1 !important; }
.vector-menu-tabs, .vector-menu-tabs li {
a:visited { color: #4b0082 !important; }
     background-color: #1a1f26 !important;
a:hover { color: #d32f2f !important; text-decoration: underline; }
     background-image: none !important;
 
     border: 1px solid #3d444d !important;
/* 7. DEFINITION BOX (CyberTerm) - Red Tech Accent */
.cyber-term-box {
     background-color: #fff9f9; /* Extremely light red tint */
     border: 1px solid #f5c2c7;
     border-left: 6px solid #d32f2f; /* Bold Crimson Red bar */
    padding: 25px;
    margin: 20px 0;
    border-radius: 4px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}
}


#searchInput {
/* 8. CATEGORY & LANGUAGE BOXES */
     background-color: #0d1117 !important;
#catlinks, .mw-portlet-lang, #p-lang {
     color: #ffffff !important;
     background-color: #f8f9fa !important;
     border: 1px solid #3d444d !important;
     border: 1px solid #eeeeee !important;
     color: #202122 !important;
}
}


/* 7. Footer area */
#catlinks a {
#footer, .mw-footer {
     color: #0056b3 !important;
    background-color: #0b0e14 !important;
     color: #8b949e !important;
    border-top: 1px solid #333 !important;
}
}
/* 9. INDICATORS (Icons) */
.mw-indicators { filter: none !important; } /* Restore original icon colors */

Latest revision as of 03:19, 16 January 2026

/* 1. MASTER LIGHT THEME - Pure white & soft greys */
html, body, 
.mw-page-container, 
.mw-header, 
.vector-header-container,
.mw-footer-container,
.mw-body, #content {
    background-color: #ffffff !important;
    color: #202122 !important; /* Standard high-readability dark grey text */
}

/* 2. HEADINGS - Professional Royal Blue */
h1, h2, h3, .firstHeading {
    color: #0056b3 !important; 
    border-bottom: 2px solid #eeeeee !important;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* 3. SEARCH & BUTTONS - Subtle Blue Grey */
.cdx-button, 
.cdx-search-input__button {
    background-color: #f8f9fa !important;
    color: #0056b3 !important;
    border: 1px solid #ced4da !important;
}
/* 1. Expand the Logo Container */
.mw-logo {
    padding: 10px 0 !important;
}

/* 2. Set the Logo Image Size */
.mw-logo-icon {
    width: 80px !important;  /* Adjust this number to your liking */
    height: 80px !important; /* Keep width and height equal for square logos */
    max-width: none !important;
    max-height: none !important;
}

/* 3. If you have a Wordmark (Text) next to the icon */
.mw-logo-wordmark {
    height: 40px !important; /* Makes the "Hackerpedia" text larger */
    width: auto !important;
}

.cdx-text-input__input {
    background-color: #ffffff !important;
    color: #202122 !important;
    border: 1px solid #ced4da !important;
}

/* 4. SIDEBAR (MAIN MENU) */
.vector-main-menu {
    background-color: #f8f9fa !important; /* Soft grey sidebar */
    border-right: 1px solid #eeeeee !important;
}

.vector-group-title, .vector-menu-heading {
    color: #4b0082 !important; /* Indigo/Purple for menu headers */
    font-weight: bold;
}

/* 5. TABS (Read, Edit, History) */
.vector-menu-tabs .mw-list-item a {
    background-color: #f8f9fa !important;
    color: #0056b3 !important;
    border: 1px solid #eeeeee !important;
}

.vector-menu-tabs .selected a {
    background-color: #ffffff !important;
    color: #d32f2f !important; /* Red for the active tab */
    border-bottom: 2px solid #d32f2f !important;
}

/* 6. LINKS - Deep Purple for a sophisticated look */
a { color: #6f42c1 !important; }
a:visited { color: #4b0082 !important; }
a:hover { color: #d32f2f !important; text-decoration: underline; }

/* 7. DEFINITION BOX (CyberTerm) - Red Tech Accent */
.cyber-term-box {
    background-color: #fff9f9; /* Extremely light red tint */
    border: 1px solid #f5c2c7;
    border-left: 6px solid #d32f2f; /* Bold Crimson Red bar */
    padding: 25px;
    margin: 20px 0;
    border-radius: 4px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}

/* 8. CATEGORY & LANGUAGE BOXES */
#catlinks, .mw-portlet-lang, #p-lang {
    background-color: #f8f9fa !important;
    border: 1px solid #eeeeee !important;
    color: #202122 !important;
}

#catlinks a {
    color: #0056b3 !important;
}

/* 9. INDICATORS (Icons) */
.mw-indicators { filter: none !important; } /* Restore original icon colors */