Jump to content

MediaWiki:Common.css

From BonziPEDIA
Revision as of 23:24, 17 January 2025 by ItzRafaelScout (talk | contribs) (test)

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-inspired MediaWiki Theme */
/* Purple Edition - Nostalgic UI Styling */

body {
    font-family: 'Tahoma', 'Arial', sans-serif;
    background-color: #E1E4E6;
    color: #000000;
    margin: 0;
    padding: 0;
}

/* Title Bar Styling */
#top-section {
    background-color: #6A5ACD; /* Slate Purple */
    color: #FFFFFF;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#title-bar-text {
    font-weight: bold;
    font-size: 12px;
}

#title-bar-controls {
    display: flex;
    align-items: center;
}

.title-bar-button {
    width: 25px;
    height: 20px;
    background-color: #8470FF;
    border: 1px solid #5D3FD3;
    margin-left: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.title-bar-button:hover {
    background-color: #A084E8;
}

/* Navigation Styling */
#sidebar {
    background-color: #F0F0F0;
    border-right: 1px solid #A0A0A0;
    width: 180px;
    padding: 10px;
}

#navigation-menu {
    background-color: #FFFFFF;
    border: 1px solid #C0C0C0;
    border-radius: 4px;
}

.nav-item {
    padding: 5px 10px;
    transition: background-color 0.2s;
}

.nav-item:hover {
    background-color: #E6F2FF;
    cursor: pointer;
}

/* Content Area */
#content-wrapper {
    background-color: #FFFFFF;
    border: 1px solid #A0A0A0;
    border-radius: 4px;
    padding: 15px;
    margin: 10px;
}

/* Button Styling */
.xp-button {
    background-color: #E1E4E6;
    border: 1px solid #7F9DB9;
    color: #000000;
    padding: 5px 15px;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.xp-button:hover {
    background-color: #C0D9EF;
    cursor: pointer;
}

/* Input Fields */
input[type="text"],
input[type="password"],
textarea {
    border: 1px solid #A0A0A0;
    background-color: #FFFFFF;
    padding: 4px;
    font-family: 'Tahoma', sans-serif;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 16px;
    background-color: #F0F0F0;
}

::-webkit-scrollbar-thumb {
    background-color: #A0A0A0;
    border: 2px solid #F0F0F0;
    border-radius: 8px;
}

/* Dropdown Menus */
select {
    background-color: #FFFFFF;
    border: 1px solid #A0A0A0;
    padding: 4px;
    font-family: 'Tahoma', sans-serif;
}

/* Tooltip Styling */
.tooltip {
    background-color: #FFFFE1;
    border: 1px solid #A0A0A0;
    padding: 5px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

/* Modal/Dialog Styling */
.dialog-window {
    background-color: #F0F0F0;
    border: 2px solid #6A5ACD;
    border-radius: 6px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
}

.dialog-header {
    background-color: #6A5ACD;
    color: #FFFFFF;
    padding: 8px;
    font-weight: bold;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    #sidebar {
        width: 100%;
        border-right: none;
    }
}

/* Additional XP-like Nuances */
.window-shadow {
    box-shadow: 3px 3px 6px rgba(0,0,0,0.2);
}

/* Final Decorative Touches */
.xp-gradient {
    background: linear-gradient(to bottom, #E1E4E6, #C0C0C0);
}