Jump to content

MediaWiki:Common.css

From BonziPEDIA
Revision as of 23:21, 17 January 2025 by ItzRafaelScout (talk | contribs) (i maked windows xp css better)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Windows XP MediaWiki Ultimate Theme */
:root {
    /* Windows XP Color Palette */
    --xp-background: #ECE9D8;
    --xp-text: #000000;
    --xp-blue: #0046D5;
    --xp-light-blue: #1C57B8;
    --xp-button-face: #F1EFE2;
    --xp-border: #ACA899;
    --xp-highlight: #316AC5;
    --xp-shadow: rgba(0,0,0,0.2);
}

/* Global Styling */
body {
    background-color: var(--xp-background);
    font-family: "Tahoma", "Segoe UI", sans-serif;
    color: var(--xp-text);
    margin: 0;
    padding: 0;
}

/* Windows XP Desktop-like Layout */
#mw-page-base {
    background: linear-gradient(to bottom, #4E84C4, #6BA5E7);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Navigation Styling */
#sidebar {
    background-color: var(--xp-button-face);
    border: 1px solid var(--xp-border);
    box-shadow: 2px 2px 4px var(--xp-shadow);
    padding: 10px;
    border-radius: 4px;
}

/* Advanced Button Styling */
.mw-submit-buttons input,
.mw-submit-buttons button,
.btn {
    background: linear-gradient(to bottom, #FFFFFF, #F1EFE2);
    border: 1px solid var(--xp-border);
    border-top-color: #FFFFFF;
    border-left-color: #FFFFFF;
    color: var(--xp-text);
    padding: 4px 12px;
    box-shadow: 1px 1px 2px var(--xp-shadow);
    transition: all 0.2s ease;
}

.mw-submit-buttons input:hover,
.mw-submit-buttons button:hover,
.btn:hover {
    background: linear-gradient(to bottom, #F1EFE2, #FFFFFF);
    border-color: var(--xp-highlight);
    box-shadow: 2px 2px 4px var(--xp-shadow);
}

/* Enhanced Link Styling */
a {
    color: var(--xp-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--xp-light-blue);
    text-decoration: underline;
}

/* Content Area */
#content {
    background-color: #FFFFFF;
    border: 1px solid var(--xp-border);
    box-shadow: 3px 3px 6px var(--xp-shadow);
    padding: 15px;
    margin: 10px;
    border-radius: 4px;
}

/* Advanced Tab Styling */
#p-namespaces ul,
#p-views ul {
    background-color: var(--xp-button-face);
    border-bottom: 1px solid var(--xp-border);
    display: flex;
}

#p-namespaces li a,
#p-views li a {
    background-color: var(--xp-button-face);
    border: 1px solid transparent;
    color: var(--xp-text);
    padding: 5px 12px;
    margin: 0 2px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

#p-namespaces li.selected a,
#p-views li.selected a {
    background-color: #FFFFFF;
    border-color: var(--xp-border);
    box-shadow: inset 1px 1px 3px var(--xp-shadow);
}

/* Form Input Styling */
input[type="text"],
input[type="password"],
textarea {
    border: 1px solid #7F9DB9;
    background-color: #FFFFFF;
    padding: 4px;
    border-radius: 3px;
    font-family: Tahoma, sans-serif;
}

/* Advanced Scrollbar */
::-webkit-scrollbar {
    width: 17px;
    background-color: var(--xp-button-face);
}

::-webkit-scrollbar-thumb {
    background-color: var(--xp-border);
    border: 2px solid var(--xp-button-face);
    border-radius: 8px;
}

::-webkit-scrollbar-corner {
    background-color: var(--xp-button-face);
}

/* Windows XP Dialog Boxes */
.mw-dialog {
    background-color: var(--xp-buttonl-face);
    border: 2px solid var(--xp-border);
    box-shadow: 4px 4px 8px var(--xp-shadow);
    border-radius: 6px;
    font-family: Tahoma, sans-serif;
}

/* Advanced Indicator Styling */
.mw-indicator {
    background: linear-gradient(to bottom, var(--xp-blue), var(--xp-light-blue));
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    box-shadow: 1px 1px 3px var(--xp-shadow);
}

/* Hover and Active States */
button:active,
input[type="submit"]:active {
    border-color: var(--xp-text);
    background: linear-gradient(to bottom, #E1DFD2, #F1EFE2);
    box-shadow: inset 2px 2px 4px var(--xp-shadow);
}

/* Notification and Message Styling */
.mw-notification {
    background-color: var(--xp-button-face);
    border: 1px solid var(--xp-border);
    box-shadow: 2px 2px 4px var(--xp-shadow);
    font-family: Tahoma, sans-serif;
    border-radius: 4px;
}

/* Responsive Design Considerations */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    #sidebar {
        width: 100%;
        max-width: none;
    }
}

/* Additional Windows XP Easter Eggs */
.mw-logo::before {
    content: "BonziPEDIA";
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-family: Tahoma, sans-serif;
    font-weight: bold;
}