Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Suppressors, Administrators
6,176
edits
No edit summary Tag: Reverted |
(Undo revision 7609 by Prince of asia (talk)) Tag: Undo |
||
Line 1: | Line 1: | ||
/* | /* Existing styles */ | ||
/* | /* new style changes */ | ||
/* Headings */ | |||
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; | ||
} | } | ||
Line 23: | Line 12: | ||
color: #7c25b8; | color: #7c25b8; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
Line 31: | Line 19: | ||
} | } | ||
/* | /* Buttons */ | ||
. | .button, input[type="submit"], input[type="button"] { | ||
background-color: # | background-color: #7c25b8; | ||
color: white; | color: white; | ||
padding: | border: none; | ||
padding: 10px 20px; | |||
cursor: pointer; | |||
border-radius: 5px; | |||
} | } | ||
. | .button:hover, input[type="submit"]:hover, input[type="button"]:hover { | ||
color: # | background-color: #5a1d8a; | ||
} | } | ||
/* Forms */ | |||
input[type="text"], input[type="password"], textarea { | |||
border: 1px solid #ccc; | |||
padding: 10px; | |||
border-radius: 5px; | |||
} | } | ||
/* Navigation */ | /* Enhanced Navigation */ | ||
/* Navigation Menu */ | |||
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 { | ||
padding: 10px 15px; | |||
display: block; | |||
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 { | |||
background-color: #e3d4f3; | |||
color: #5a1d8a; | |||
} | |||
/* Sidebar Menu */ | |||
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; | ||
transition: background-color 0.3s, color 0.3s; | transition: background-color 0.3s, color 0.3s; | ||
} | } | ||
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; | ||
} | |||
/* Responsive Design */ | |||
@media (max-width: 768px) { | |||
.mw-body { | |||
padding: 15px; | |||
} | |||
.infobox { | |||
float: none; | |||
margin-left: 0; | |||
width: 100%; | |||
} | |||
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 10px; | |||
} | |||
} | |||
/* Use custom font */ | |||
body { | |||
font-family: 'Open Sans', sans-serif; | |||
} | |||
/* Use Font Awesome icons */ | |||
.nav-icon { | |||
margin-right: 5px; | |||
} | |||
/* Content Box */ | |||
.content-box { | |||
background-color: #ffffff; | |||
padding: 20px; | |||
margin-bottom: 20px; | |||
border-radius: 8px; | |||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |||
} | |||
/* Footer */ | |||
.footer { | |||
background-color: #522F65; | |||
color: white; | |||
padding: 20px; | |||
text-align: center; | |||
font-size: 14px; | |||
} | |||
/* Header */ | |||
.mw-head { | |||
background-color: #522F65; | |||
color: white; | |||
padding: 15px; | |||
} | |||
.mw-head a { | |||
color: #e3d4f3; | |||
} | |||
.mw-head a:hover { | |||
color: #ffffff; | |||
} | } | ||
Line 73: | Line 135: | ||
padding: 10px; | padding: 10px; | ||
border-radius: 8px; | border-radius: 8px; | ||
} | } | ||
Line 85: | Line 146: | ||
} | } | ||
/* | /* Typography */ | ||
body { | |||
font-family: 'Open Sans', sans-serif; | |||
line-height: 1.6; | |||
color: #333; | |||
} | } | ||
h1, h2, h3, h4, h5, h6 { | |||
font-family: 'Open Sans', sans-serif; | |||
color: #333; | |||
color: | margin-bottom: 15px; | ||
} | } | ||
p { | |||
margin-bottom: 15px; | |||
} | } | ||
a { | |||
color: #7c25b8; | |||
text-decoration: none; | |||
} | } | ||
a:hover { | |||
color: #5a1d8a; | |||
text-decoration: underline; | |||
} | } | ||
/* | /* Existing styles from user */ | ||
.mw- | |||
/* CSS placed here will be applied to all skins */ | |||
/* change the background color of the navigation menu above the main text of wiki */ | |||
li.mw-list-item { | |||
background-image: none; | |||
} | } | ||
/* | /* Change the looks of the text on the navigation menu above the main text of wiki */ | ||
. | nav#p-namespaces div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a { | ||
color: #7c25b8; | |||
} | } | ||
nav#p-views div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a { | |||
color: #7c25b8; | |||
} | |||
/* Change the looks of the text on sidebar */ | |||
nav#p-navigation div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a { | |||
font-weight: bold; | |||
color: #7c25b8; | |||
} | |||
nav#p-tb div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a { | |||
color: #7c25b8; | |||
} | } | ||
/* | /*No longer use this, we use Extension:MobileDetect instead*/ | ||
/* Important: do not display certain things on Desktop*/ | |||
.nodesktop { | |||
display: none !important; | |||
} | } | ||
/* New background */ | |||
. | .mw-body { | ||
background-color: rgba(255, 255, 255, 0.8); | |||
} | } | ||
body { | |||
background: url(https://nightlifeasia.wiki/images/wiki_background99_test.jpg); | |||
background-repeat: no-repeat !important; | |||
background-attachment: fixed !important; | |||
background- | background-position: top center; | ||
background-size: cover; | |||
background-color: #fcf8fe; | |||
} | } | ||
#mw-page-base { | |||
background-color: transparent; | |||
background-image: none; | |||
background-color: | |||
} | } | ||
.table. | .table.plain > tbody > tr:nth-child(odd), | ||
.table > tbody > tr. | .table > tbody > tr.plain:nth-child(odd) { | ||
background-color: | background-color:transparent !important; | ||
} | } | ||
/* New background */ | |||
p.white { | |||
. | color:#FFFFFF; | ||
} | } | ||
/* | /*remove header on Main_Page*/ | ||
body.page-Main_Page.ns-subject h1.firstHeading { | body.page-Main_Page.ns-subject h1.firstHeading { | ||
display: none; | |||
} | } | ||
/* | /** 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; | |||
} | |||
.infobox td, | |||
.infobox th { | |||
vertical-align: top; | |||
} | |||
.infobox caption { | |||
font-size: larger; | |||
margin-left: inherit; | |||
} | |||
.infobox.bordered { | |||
border-collapse: collapse; | |||
} | |||
.infobox.bordered td, | |||
.infobox.bordered th { | |||
border: 1px solid #020202; | |||
} | |||
.infobox.bordered .borderless td, | |||
.infobox.bordered .borderless th { | |||
border: 0; | |||
} | } | ||
/** TABLES **/ | |||
color: # | /* KTV Table */ | ||
} | .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; | |||
} | |||
.table.ktv-table > tbody > tr:nth-child(odd), | |||
.table > tbody > tr.ktv-table:nth-child(odd) { | |||
background-color:#dfe1ec; | |||
} |