Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Suppressors, Administrators
6,176
edits
No edit summary |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/* | /* General styles */ | ||
body { | |||
font-family: 'Open Sans', sans-serif; | |||
line-height: 1.6; | |||
color: #333; | |||
background: url(https://nightlifeasia.wiki/images/wiki_background99_test.jpg) no-repeat fixed top center / cover; | |||
background-color: #fcf8fe; | |||
} | |||
/* | /* Typography */ | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
font-family: 'Open Sans', sans-serif; | font-family: 'Open Sans', sans-serif; | ||
color: #333; | color: #333; | ||
margin-bottom: 15px; | |||
} | |||
p { | |||
margin-bottom: 15px; | |||
} | } | ||
Line 12: | Line 23: | ||
color: #7c25b8; | color: #7c25b8; | ||
text-decoration: none; | text-decoration: none; | ||
transition: color 0.3s ease; | |||
} | } | ||
Line 19: | Line 31: | ||
} | } | ||
/* | /* Header */ | ||
. | .mw-head { | ||
background-color: # | background-color: #522F65; | ||
color: white; | color: white; | ||
padding: 15px; | |||
padding: | box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | ||
} | } | ||
. | .mw-head a { | ||
color: #e3d4f3; | |||
transition: color 0.3s ease; | |||
} | } | ||
.mw-head a:hover { | |||
color: #ffffff; | |||
} | } | ||
/* | /* Navigation */ | ||
nav#p-namespaces div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a, | nav#p-namespaces div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a, | ||
nav#p-views div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a | nav#p-views div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a, | ||
nav#p-navigation div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a, | nav#p-navigation div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a, | ||
nav#p-tb div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a { | nav#p-tb div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a { | ||
padding: 10px 15px; | padding: 10px 15px; | ||
display: block; | display: block; | ||
color: #7c25b8; | |||
font-weight: bold; | |||
transition: background-color 0.3s, color 0.3s; | transition: background-color 0.3s, color 0.3s; | ||
} | } | ||
nav#p-namespaces div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a:hover, | |||
nav#p-views div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a:hover, | |||
nav#p-navigation div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a:hover, | nav#p-navigation div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a:hover, | ||
nav#p-tb div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a:hover { | nav#p-tb div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a:hover { | ||
background-color: #e3d4f3; | background-color: #e3d4f3; | ||
color: #5a1d8a; | color: #5a1d8a; | ||
} | } | ||
Line 135: | Line 73: | ||
padding: 10px; | padding: 10px; | ||
border-radius: 8px; | border-radius: 8px; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |||
} | } | ||
Line 146: | Line 85: | ||
} | } | ||
/* | /* Content area */ | ||
body { | .mw-body { | ||
background-color: rgba(255, 255, 255, 0.9); | |||
padding: 20px; | |||
border-radius: 8px; | |||
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); | |||
} | } | ||
/* Buttons */ | |||
.button, input[type="submit"], input[type="button"] { | |||
color: | background-color: #7c25b8; | ||
color: white; | |||
border: none; | |||
padding: 10px 20px; | |||
cursor: pointer; | |||
border-radius: 5px; | |||
transition: background-color 0.3s ease; | |||
} | } | ||
.button:hover, input[type="submit"]:hover, input[type="button"]:hover { | |||
background-color: #5a1d8a; | |||
} | } | ||
/* Forms */ | |||
input[type="text"], input[type="password"], textarea { | |||
border: 1px solid #ccc; | |||
padding: 10px; | |||
border-radius: 5px; | |||
transition: border-color 0.3s ease; | |||
} | } | ||
input[type="text"]:focus, input[type="password"]:focus, textarea:focus { | |||
color: # | border-color: #7c25b8; | ||
outline: none; | |||
} | } | ||
/* | /* Images */ | ||
.mw-body img { | |||
max-width: 100%; | |||
height: auto; | |||
border-radius: 4px; | |||
} | } | ||
/* | /* Footer */ | ||
.footer { | |||
background-color: #522F65; | |||
color: white; | |||
padding: 20px; | |||
text-align: center; | |||
font-size: 14px; | |||
margin-top: 20px; | |||
} | } | ||
/* Responsive design */ | |||
@media (max-width: 768px) { | |||
} | .mw-body { | ||
padding: 15px; | |||
} | |||
.infobox { | |||
float: none; | |||
margin-left: 0; | |||
width: 100%; | |||
} | } | ||
nav#p-tb div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a { | nav#p-navigation div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a, | ||
nav#p-tb div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a { | |||
padding: 10px; | |||
} | |||
} | } | ||
/* | /* Infoboxes */ | ||
.infobox { | |||
. | border: 1px solid #020202; | ||
background-color: #f9f9f9; | |||
color: black; | |||
margin-bottom: 0.2em; | |||
margin-left: 1em; | |||
padding: 0.2em; | |||
float: right; | |||
clear: right; | |||
border-radius: 4px; | |||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | |||
} | } | ||
.infobox td, | |||
. | .infobox th { | ||
vertical-align: top; | |||
padding: 5px; | |||
} | } | ||
.infobox caption { | |||
font-size: larger; | |||
margin-left: inherit; | |||
font-weight: bold; | |||
background- | background-color: #522F65; | ||
color: white; | |||
padding: 5px; | |||
} | } | ||
/* Tables */ | |||
background-color: | .table.ktv-table > :first-child > tr:first-child, | ||
.table.ktv-table > tbody > tr.heading, | |||
.table.ktv-table > :first-child > tr:first-child > *, | |||
.table.ktv-table > tbody > tr.heading > * { | |||
background-color: #522F65 !important; | |||
border-color: #777d9e !important; | |||
color: white; | |||
} | } | ||
.table. | .table.ktv-table > tbody > tr:nth-child(odd), | ||
.table > tbody > tr. | .table > tbody > tr.ktv-table:nth-child(odd) { | ||
background-color: | background-color: #dfe1ec; | ||
} | } | ||
/* Accessibility */ | |||
.visually-hidden { | |||
position: absolute; | |||
width: 1px; | |||
height: 1px; | |||
padding: 0; | |||
margin: -1px; | |||
overflow: hidden; | |||
clip: rect(0, 0, 0, 0); | |||
white-space: nowrap; | |||
border: 0; | |||
} | } | ||
/* | /* Remove header on Main_Page */ | ||
body.page-Main_Page.ns-subject h1.firstHeading { | body.page-Main_Page.ns-subject h1.firstHeading { | ||
display: none; | |||
} | } | ||
/* | /* Custom classes */ | ||
. | .content-box { | ||
background-color: #ffffff; | |||
padding: 20px; | |||
margin-bottom: 20px; | |||
border-radius: 8px; | |||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |||
} | } | ||
. | p.white { | ||
color: #FFFFFF; | |||
} | } | ||