Jump to content

MediaWiki:Common.css: Difference between revisions

ItzRafaelScout (talk | contribs)
i changed to windows xp css
 
ItzRafaelScout (talk | contribs)
test
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Windows XP MediaWiki Theme */
/* Windows XP MediaWiki Ultimate Theme */
:root {
    /* Extended Color Palette */
    --xp-blue: #0A246A;
    --xp-light-blue: #A6CAF0;
    --xp-sky-blue: #C6D3E6;
    --xp-gray: #F0F0F0;
    --xp-silver-gray: #E1E1E1;
    --xp-dark-gray: #808080;
    --xp-charcoal: #404040;
    --xp-white: #FFFFFF;
    --xp-text-color: #000000;
    --xp-highlight-blue: #316AC5;
    --xp-selection-blue: #D4D4D4;
   
    /* Typography */
    --xp-font-primary: 'Tahoma', 'Microsoft Sans Serif', Arial, sans-serif;
    --xp-font-size-base: 12px;
}
 
/* Global Reset and Base Styling */
body {
body {
     background-color: #ECE9D8;
     font-family: var(--xp-font-primary);
     font-family: "Tahoma", sans-serif;
     font-size: var(--xp-font-size-base);
     color: #000000;
    background-color: var(--xp-gray);
     color: var(--xp-text-color);
    margin: 0;
    padding: 0;
    line-height: 1.4;
}
}


/* Navigation and Sidebar */
/* Advanced Navigation Styling */
#sidebar {
#p-navigation {
     background-color: #F1EFE2;
     background: linear-gradient(to bottom, var(--xp-light-blue), var(--xp-blue));
     border: 1px solid #ACA899;
    border: 2px solid var(--xp-blue);
     border-radius: 4px;
     box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
     box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
}


/* Header and Toolbar */
#p-navigation h3 {
#top-menu, #toolbar {
     background-color: var(--xp-blue);
     background-color: #0046D5;
    color: var(--xp-white);
     background: linear-gradient(to bottom, #0046D5, #1C57B8);
    padding: 4px 8px;
     color: white;
    margin: 0;
     border-bottom: 1px solid #00308F;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
 
#p-navigation ul {
    list-style-type: none;
    padding: 5px;
     margin: 0;
}
 
#p-navigation li a {
    color: var(--xp-text-color);
    text-decoration: none;
    display: block;
    padding: 3px 8px;
    transition: all 0.2s ease;
    border-radius: 2px;
}
 
#p-navigation li a:hover {
    background-color: var(--xp-highlight-blue);
     color: var(--xp-white);
     box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
}
}


/* Buttons */
/* Enhanced Button Styling */
.mw-submit-buttons input,
.mw-submit-buttons button,
.mw-submit-buttons button,
.btn {
input[type="submit"],
     background-color: #F1EFE2;
input[type="button"] {
     border: 1px solid #ACA899;
     background: linear-gradient(to bottom, var(--xp-white), var(--xp-silver-gray));
    border-top-color: #FFFFFF;
     border: 1px solid var(--xp-dark-gray);
     border-left-color: #FFFFFF;
     border-radius: 3px;
     color: #000000;
     padding: 4px 12px;
     padding: 3px 10px;
     font-family: var(--xp-font-primary);
     box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
     box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}
}


.mw-submit-buttons input:hover,
.mw-submit-buttons button:hover,
.mw-submit-buttons button:hover,
.btn:hover {
input[type="submit"]:hover,
     background-color: #FFFFFF;
input[type="button"]:hover {
     border-color: #000000;
     background: linear-gradient(to bottom, var(--xp-light-blue), var(--xp-blue));
    color: var(--xp-white);
     box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
}


/* Links */
/* Advanced Input Styling */
a {
input[type="text"],
     color: #0046D5;
input[type="password"],
     text-decoration: none;
textarea {
     border: 1px solid var(--xp-dark-gray);
    background-color: var(--xp-white);
     padding: 3px 4px;
    font-family: var(--xp-font-primary);
    border-radius: 2px;
    transition: border-color 0.3s ease;
}
}


a:hover {
input[type="text"]:focus,
     text-decoration: underline;
input[type="password"]:focus,
textarea:focus {
     border-color: var(--xp-blue);
    outline: 2px solid var(--xp-light-blue);
}
}


/* Content Area */
/* Advanced Tab Styling */
#content {
#p-views {
     background-color: #FFFFFF;
     background-color: var(--xp-sky-blue);
     border: 1px solid #ACA899;
     padding: 5px;
     box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
     border-bottom: 2px solid var(--xp-blue);
}
}


/* Tabs */
#p-namespaces ul,
#p-views ul {
#p-views ul {
     background-color: #F1EFE2;
     display: flex;
     border-bottom: 1px solid #ACA899;
    list-style: none;
    padding: 0;
    margin: 0;
}
 
#p-views li {
     margin-right: 5px;
}
}


#p-namespaces li a,
#p-views li a {
#p-views li a {
     background-color: #F1EFE2;
    display: block;
     border: 1px solid #ACA899;
    padding: 4px 10px;
     color: #000000;
     background-color: var(--xp-gray);
     padding: 3px 10px;
     border: 1px solid var(--xp-dark-gray);
    border-bottom: none;
    border-radius: 3px 3px 0 0;
    text-decoration: none;
     color: var(--xp-text-color);
     transition: all 0.2s ease;
}
}


#p-namespaces li.selected a,
#p-views li.selected a {
#p-views li.selected a {
     background-color: #FFFFFF;
     background-color: var(--xp-blue);
     border-bottom: 1px solid #FFFFFF;
    color: var(--xp-white);
    font-weight: bold;
}
 
/* Content Area with XP Styling */
#content {
    background-color: var(--xp-white);
    border: 2px solid var(--xp-blue);
    border-radius: 5px;
    padding: 20px;
    margin: 15px;
    box-shadow: 3px 3px 6px rgba(0,0,0,0.15);
}
 
/* Headings with XP Flair */
h1, h2, h3, h4, h5, h6 {
    color: var(--xp-blue);
     border-bottom: 1px solid var(--xp-light-blue);
    padding-bottom: 8px;
    font-family: var(--xp-font-primary);
}
 
/* Advanced Link Styling */
a {
    color: var(--xp-blue);
    text-decoration: none;
    transition: all 0.2s ease;
}
}


/* Form Inputs */
a:hover {
input[type="text"],
    color: var(--xp-highlight-blue);
input[type="password"],
    text-decoration: underline;
textarea {
}
     border: 1px solid #7F9DB9;
 
     background-color: #FFFFFF;
/* Sidebar with XP Design */
     padding: 2px;
#sidebar {
    background-color: var(--xp-gray);
     border: 1px solid var(--xp-dark-gray);
     border-radius: 4px;
     padding: 15px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}
}


/* Scrollbars */
/* Custom Scrollbar */
::-webkit-scrollbar {
::-webkit-scrollbar {
     width: 16px;
     width: 16px;
     background-color: #F1EFE2;
     background-color: var(--xp-gray);
}
}


::-webkit-scrollbar-thumb {
::-webkit-scrollbar-thumb {
     background-color: #ACA899;
     background-color: var(--xp-blue);
     border: 2px solid #F1EFE2;
     border: 2px solid var(--xp-gray);
    border-radius: 8px;
}
 
/* Enhanced Tooltip Styling */
.tooltiptext {
    background-color: var(--xp-light-blue);
    border: 1px solid var(--xp-blue);
    border-radius: 3px;
    padding: 6px;
    font-size: 0.9em;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
 
/* Responsive Design Considerations */
@media screen and (max-width: 768px) {
    #content {
        margin: 10px;
        padding: 15px;
        border-radius: 3px;
    }
    #p-navigation {
        padding: 10px;
    }
    #p-views {
        flex-direction: column;
    }
    #p-views li {
        margin-bottom: 5px;
    }
}
 
/* Additional Styling for Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}
 
th, td {
    border: 1px solid var(--xp-dark-gray);
    padding: 8px;
    text-align: left;
}
}


/* Windows XP Start Menu Style Dialog Boxes */
th {
.mw-dialog {
     background-color: var(--xp-blue);
     background-color: #F1EFE2;
     color: var(--xp-white);
     border: 1px solid #ACA899;
    box-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    font-family: "Tahoma", sans-serif;
}
}


/* Additional Windows XP Styling */
/* Footer Styling */
.mw-indicator {
#footer {
     background-color: #0046D5;
     background-color: var(--xp-light-blue);
     color: white;
     color: var(--xp-text-color);
     padding: 2px 5px;
     padding: 10px;
    text-align: center;
    border-top: 2px solid var(--xp-blue);
}
}


/* Hover and Active States */
/* Alert Boxes */
button:active,
.alert {
input[type="submit"]:active {
    background-color: #FFCC00;
     border-color: #000000;
    border: 1px solid #FF9900;
     background-color: #E1DFD2;
    padding: 10px;
    margin: 10px 0;
    border-radius: 3px;
    color: var(--xp-text-color);
}
 
/* Code Blocks */
pre {
    background-color: var(--xp-silver-gray);
    border: 1px solid var(--xp-dark-gray);
    padding: 10px;
    border-radius: 3px;
    overflow: auto;
}
 
/* Image Styling */
img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--xp-dark-gray);
    border-radius: 3px;
}
 
/* Custom Checkbox and Radio Buttons */
input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--xp-blue);
}
 
/* Custom List Styles */
ul.custom-list {
    list-style-type: square;
    padding-left: 20px;
}
 
ol.custom-list {
    padding-left: 20px;
}
 
/* Custom Blockquotes */
blockquote {
    border-left: 4px solid var(--xp-blue);
    padding: 10px 15px;
    background-color: var(--xp-light-blue);
    color: var(--xp-text-color);
    margin: 10px 0;
}
 
/* Custom Progress Bar */
.progress {
    width: 100%;
    background-color: var(--xp-silver-gray);
    border-radius: 5px;
}
 
.progress-bar {
    height: 20px;
    background-color: var(--xp-blue);
    width: 0; /* Set width dynamically */
     border-radius: 5px;
}
 
/* Custom Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
 
.modal-content {
     background-color: var(--xp-white);
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid var(--xp-blue);
    width: 80%; /* Could be more or less, depending on screen size */
    border-radius: 5px;
}
 
/* Custom Close Button for Modal */
.close {
    color: var(--xp-dark-gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
}
 
.close:hover,
.close:focus {
    color: var(--xp-blue);
    text-decoration: none;
    cursor: pointer;
}
}