MediaWiki:Common.css: Difference between revisions
Appearance
i maked windows xp css better |
test |
||
Line 1: | Line 1: | ||
/* Windows XP MediaWiki | /* Windows XP-inspired MediaWiki Theme */ | ||
/* Purple Edition - Nostalgic UI Styling */ | |||
body { | body { | ||
font-family: 'Tahoma', 'Arial', sans-serif; | |||
font-family: | background-color: #E1E4E6; | ||
color: | color: #000000; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
/* | /* Title Bar Styling */ | ||
# | #top-section { | ||
background: | background-color: #6A5ACD; /* Slate Purple */ | ||
color: #FFFFFF; | |||
height: 30px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
padding: 0 10px; | |||
box-shadow: 0 | 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 */ | /* Navigation Styling */ | ||
#sidebar { | #sidebar { | ||
background-color: | background-color: #F0F0F0; | ||
border: 1px solid | border-right: 1px solid #A0A0A0; | ||
width: 180px; | |||
padding: 10px; | padding: 10px; | ||
} | } | ||
#navigation-menu { | |||
background-color: #FFFFFF; | |||
border: 1px solid #C0C0C0; | |||
border-radius: 4px; | |||
background | |||
border | |||
border- | |||
} | } | ||
.nav-item { | |||
padding: 5px 10px; | |||
transition: background-color 0.2s; | |||
transition: color 0. | |||
} | } | ||
.nav-item:hover { | |||
color: | background-color: #E6F2FF; | ||
cursor: pointer; | |||
} | } | ||
/* Content Area */ | /* Content Area */ | ||
#content { | #content-wrapper { | ||
background-color: #FFFFFF; | background-color: #FFFFFF; | ||
border: 1px solid | border: 1px solid #A0A0A0; | ||
border-radius: 4px; | |||
padding: 15px; | padding: 15px; | ||
margin: 10px; | margin: 10px; | ||
} | } | ||
/* | /* Button Styling */ | ||
.xp-button { | |||
background-color: #E1E4E6; | |||
border: 1px solid #7F9DB9; | |||
color: #000000; | |||
padding: 5px 15px; | |||
background-color: | |||
border: 1px solid | |||
color: | |||
padding: 5px | |||
border-radius: 3px; | border-radius: 3px; | ||
transition: | transition: background-color 0.2s; | ||
} | } | ||
.xp-button:hover { | |||
background-color: #C0D9EF; | |||
background-color: # | cursor: pointer; | ||
} | } | ||
/* | /* Input Fields */ | ||
input[type="text"], | input[type="text"], | ||
input[type="password"], | input[type="password"], | ||
textarea { | textarea { | ||
border: 1px solid # | border: 1px solid #A0A0A0; | ||
background-color: #FFFFFF; | background-color: #FFFFFF; | ||
padding: 4px; | padding: 4px; | ||
font-family: 'Tahoma', sans-serif; | |||
font-family: Tahoma, sans-serif; | |||
} | } | ||
/* | /* Scrollbar Styling */ | ||
::-webkit-scrollbar { | ::-webkit-scrollbar { | ||
width: | width: 16px; | ||
background-color: | background-color: #F0F0F0; | ||
} | } | ||
::-webkit-scrollbar-thumb { | ::-webkit-scrollbar-thumb { | ||
background-color: | background-color: #A0A0A0; | ||
border: 2px solid | border: 2px solid #F0F0F0; | ||
border-radius: 8px; | border-radius: 8px; | ||
} | } | ||
/* Dropdown Menus */ | |||
background-color: | select { | ||
background-color: #FFFFFF; | |||
border: 1px solid #A0A0A0; | |||
padding: 4px; | |||
font-family: 'Tahoma', sans-serif; | |||
} | } | ||
/* | /* Tooltip Styling */ | ||
. | .tooltip { | ||
background-color: | background-color: #FFFFE1; | ||
border: | border: 1px solid #A0A0A0; | ||
padding: 5px; | |||
box-shadow: 2px 2px 5px rgba(0,0,0,0.2); | |||
} | } | ||
/* | /* Modal/Dialog Styling */ | ||
. | .dialog-window { | ||
background | background-color: #F0F0F0; | ||
border: 2px solid #6A5ACD; | |||
border-radius: 6px; | |||
border-radius: | box-shadow: 5px 5px 10px rgba(0,0,0,0.3); | ||
box-shadow: | |||
} | } | ||
.dialog-header { | |||
background-color: #6A5ACD; | |||
color: #FFFFFF; | |||
padding: 8px; | |||
font-weight: bold; | |||
} | } | ||
/* Responsive Adjustments */ | |||
@media screen and (max-width: 768px) { | |||
/* Responsive | |||
@media (max-width: 768px) { | |||
#sidebar { | #sidebar { | ||
width: 100%; | width: 100%; | ||
border-right: none; | |||
} | } | ||
} | } | ||
/* Additional | /* 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); | |||
} | } |