User:DanWL60/WL Dark Theme: Difference between revisions
Jump to navigation
Jump to search
m made it only apply to WarLight |
m Formatted red (.new) links |
||
Line 5: | Line 5: | ||
/*general*/ | /*general*/ | ||
blink { | blink { | ||
text-decoration: none ! important; | text-decoration: none !important; | ||
} | } | ||
marquee { | marquee { | ||
-moz-binding: none ! important; | -moz-binding: none !important; | ||
} | } | ||
Line 16: | Line 16: | ||
border: 0px; | border: 0px; | ||
} | } | ||
/*end of general*/ | /*end of general*/ | ||
Line 59: | Line 58: | ||
/*hide flashing mail icon - remove this if you don't want it to be hidden*/ | /*hide flashing mail icon - remove this if you don't want it to be hidden*/ | ||
#MailImgFlashing { | #MailImgFlashing { | ||
display: none ! important; | display: none !important; | ||
} | } | ||
#MailImgNormal { | #MailImgNormal { | ||
display: inline ! important; | display: inline !important; | ||
} | } | ||
Line 69: | Line 68: | ||
.TopRightBar { | .TopRightBar { | ||
background-color: gray; | background-color: gray; | ||
outline: 3px solid white ! important; | outline: 3px solid white !important; | ||
border: 0px ! important; | border: 0px !important; | ||
} | } | ||
.dropdown-menu { | .dropdown-menu { | ||
background-color: black ! important; | background-color: black !important; | ||
color: white; | color: white; | ||
outline: 1px solid white ! important; | outline: 1px solid white !important; | ||
} | } | ||
Line 91: | Line 90: | ||
} | } | ||
/*wiki*/ | /*wiki*/ | ||
a:link, a:visited, a:active, a:hover { | a:link, a:visited, a:active, a:hover, #preftab-personal { | ||
text-decoration: none ! important; | text-decoration: none !important; | ||
color: #00E ! important; | color: #00E !important; | ||
background-color: inherit ! important; | background-color: inherit !important; | ||
} | |||
a.new { | |||
text-decoration: none !important; | |||
color: red !important; | |||
background-color: inherit !important; | |||
} | } | ||
#content, #mw-head, #mw-panel, #footer , #p-logo, .searchButton, #toc, #toctitle, .editsection, #searchInput, h2, h4, #catlinks, .infobox, .mw-headline, .wikitable, .ambox, #namespace, #searchText { | |||
background-color: black ! important; | #content, #mw-head, #mw-panel, #footer , #p-logo, .searchButton, #toc, #toctitle, .editsection, #searchInput, h2, h4, #catlinks, .infobox, .mw-headline, .wikitable, .ambox, #namespace, #searchText, legend, span, fieldset, input, select, th, pre { | ||
color: white ! important; | background-color: black !important; | ||
color: white !important; | |||
} | } | ||
#p-namespaces, .mw-search-formheader, li#ca-nstab-main, li#ca-talk, li#ca-view, li#ca-viewsource, li#ca-edit, li#ca-history, #ca-watch, #ca-unwatch, #ca-move { | #p-namespaces, .mw-search-formheader, li#ca-nstab-main, li#ca-talk, li#ca-view, li#ca-viewsource, li#ca-edit, li#ca-history, #ca-watch, #ca-unwatch, #ca-move { | ||
background-color: black ! important; | background-color: black !important; | ||
} | } | ||
.selected { | .selected { | ||
border-left: 3px solid white ! important; | border-left: 3px solid white !important; | ||
border-right: 3px solid white ! important; | border-right: 3px solid white !important; | ||
border-bottom: 2px solid white ! important; | border-bottom: 2px solid white !important; | ||
border-top: 2px solid white ! important; | border-top: 2px solid white !important; | ||
background-color: black ! important; | background-color: black !important; | ||
} | } | ||
#left-navigation, #p-views, #toc { | #left-navigation, #p-views, #toc { | ||
border: 1px solid white ! important; | border: 1px solid white !important; | ||
} | } | ||
.infobox { | .infobox { | ||
outline: 1px solid white; | outline: 1px solid white; | ||
color: white ! important; | color: white !important; | ||
} | } | ||
.navbox { | .navbox { | ||
background-color: gray ! important; | background-color: gray !important; | ||
} | } | ||
.navbox-header{ | .navbox-header{ | ||
background-color: rgb(70,70,70) ! important; | background-color: rgb(70,70,70) !important; | ||
} | } | ||
.ambox { | .ambox { | ||
border: 1px solid gray ! important; | border: 1px solid gray !important; | ||
border-left: 5px solid gray ! important; | border-left: 5px solid gray !important; | ||
} | } | ||
/*many special pages*/ | /*many special pages*/ | ||
#type, #level, #wpsize, #nsfrom, #nsto, #from, #mw-input-like, .mw-htmlform-submit, #mw-log-user, #mw-log-page, #mw-np-username, #mw-ilsearch, #mw-listfiles-user, #file, #mime, #filename, #mw-allmessages-form-prefix, #mw-allmessages-form-lang, .am_title, .am_default, #target, #mw-input-page1, #mw-input-rev1, #mw-input-page2, #mw-input-rev2, #catname, #mw-whatlinkshere-target, #isbn { | #type, #level, #wpsize, #nsfrom, #nsto, #from, #mw-input-like, .mw-htmlform-submit, #mw-log-user, #mw-log-page, #mw-np-username, #mw-ilsearch, #mw-listfiles-user, #file, #mime, #filename, #mw-allmessages-form-prefix, #mw-allmessages-form-lang, .am_title, .am_default, #target, #mw-input-page1, #mw-input-rev1, #mw-input-page2, #mw-input-rev2, #catname, #mw-whatlinkshere-target, #isbn { | ||
background-color: black ! important; | background-color: black !important; | ||
color: white ! important; | color: white !important; | ||
} | } | ||
/*change history*/ | /*change history*/ | ||
#mw-history-search, #year, .mw-month-selector, .mw-history-histlinks, .mw-history-compareselectedversions-button { | #mw-history-search, #year, .mw-month-selector, .mw-history-histlinks, .mw-history-compareselectedversions-button { | ||
background-color: black ! important; | background-color: black !important; | ||
color: white ! important; | color: white !important; | ||
} | } | ||
/*view source and edit*/ | /*view source and edit*/ | ||
#wpTextbox1, #wpSummary, #wpSave, #wpPreview, #wpDiff { | #wpTextbox1, #wpSummary, #wpSave, #wpPreview, #wpDiff { | ||
background-color: black ! important; | background-color: black !important; | ||
color: white ! important; | color: white !important; | ||
} | } | ||
/*login*/ | /*login*/ | ||
#wpName1, #wpPassword1, #wpLoginAttempt, #firstHeading, .mw-input, .namespaceselector | #wpName1, #wpPassword1, #wpLoginAttempt, #firstHeading, .mw-input, .namespaceselector { | ||
background-color: black !important; | |||
color: white !important; | |||
} | |||
/*preferences*/ | /*preferences*/ | ||
/*user profile*/ | /*user profile*/ | ||
#mw-prefsection-personal, #mw-htmlform-info, #mw-htmlform-i18n, #mw-htmlform-signature, #mw-htmlform-email , #mw-input-wprealname, #mw-input-wpgender, #mw-input-wplanguage, #mw-input-wpnickname, #prefcontrol, .successbox { | #mw-prefsection-personal, #mw-htmlform-info, #mw-htmlform-i18n, #mw-htmlform-signature, #mw-htmlform-email , #mw-input-wprealname, #mw-input-wpgender, #mw-input-wplanguage, #mw-input-wpnickname, #prefcontrol, .successbox, .mw-prefs-buttons { | ||
background-color: black ! important; | background-color: black !important; | ||
color: white ! important; | color: white !important; | ||
} | } | ||
/*appearence*/ | /*appearence*/ | ||
#mw-prefsection-rendering, #mw-input-wpimagesize, #mw-input-wpthumbsize, #mw-input-wpunderline, #mw-input-wpstubthreshold { | #mw-prefsection-rendering, #mw-input-wpimagesize, #mw-input-wpthumbsize, #mw-input-wpunderline, #mw-input-wpstubthreshold { | ||
background-color: black ! important; | background-color: black !important; | ||
color: white ! important; | color: white !important; | ||
} | } | ||
/*date and time*/ | /*date and time*/ | ||
#mw-prefsection-datetime, #mw-input-wptimecorrection, #mw-input-wptimecorrection-other { | #mw-prefsection-datetime, #mw-input-wptimecorrection, #mw-input-wptimecorrection-other { | ||
background-color: black ! important; | background-color: black !important; | ||
color: white ! important; | color: white !important; | ||
} | } | ||
/*editing*/ | /*editing*/ | ||
#mw-prefsection-editing, #mw-input-wpcols, #mw-input-wprows, #mw-input-wpeditfont { | #mw-prefsection-editing, #mw-input-wpcols, #mw-input-wprows, #mw-input-wpeditfont { | ||
background-color: black ! important; | background-color: black !important; | ||
color: white ! important; | color: white !important; | ||
} | } | ||
/*recent changes*/ | /*recent changes*/ | ||
#mw-htmlform-rc , #mw-htmlform-displayrc, #mw-input-wprcdays, #mw-input-wprclimit { | #mw-htmlform-rc , #mw-htmlform-displayrc, #mw-input-wprcdays, #mw-input-wprclimit { | ||
background-color: black ! important; | background-color: black !important; | ||
color: white ! important; | color: white !important; | ||
} | } | ||
/*watchlist*/ | /*watchlist*/ | ||
#mw-prefsection-watchlist, #mw-input-wpwatchlistdays, #mw-input-wpwllimit, #mw-input-wpwatchlisttoken { | #mw-prefsection-watchlist, #mw-input-wpwatchlistdays, #mw-input-wpwllimit, #mw-input-wpwatchlisttoken { | ||
background-color: black ! important; | background-color: black !important; | ||
color: white ! important; | color: white !important; | ||
} | } | ||
/*search options*/ | /*search options*/ | ||
#mw-prefsection-searchoptions, #mw-input-wpsearchlimit { | #mw-prefsection-searchoptions, #mw-input-wpsearchlimit { | ||
background-color: black ! important; | background-color: black !important; | ||
color: white ! important; | color: white !important; | ||
} | } | ||
/*misc*/ | /*misc*/ | ||
#mw-prefsection-misc { | #mw-prefsection-misc { | ||
background-color: black ! important; | background-color: black !important; | ||
color: white ! important; | color: white !important; | ||
} | } | ||
} | } | ||
/*end of WL*/ | /*end of WL*/ | ||
</pre> | </pre> |
Revision as of 15:05, 21 November 2016
@namespace url(http://www.w3.org/1999/xhtml); /* CSS Document */ /*general*/ blink { text-decoration: none !important; } marquee { -moz-binding: none !important; } /*get rid of image borders - usaly 1px solid yellow in IE*/ img { border: 0px; } /*end of general*/ /*WL*/ @-moz-document domain("warlight.net") { /*some stuff that you might want to hide*/ #PromotedGamesTable, #LeaderboardTable, #MapOfTheWeekTable, #CoinsBtn, #CoinsLink, #footer-places-win, #DepositContainer, .CoinGameRow { display: none; } /*if you choose not to hide the above, then coin features might as well be formatted - else remove this*/ #DepositBtn_500 { background-color: rgb(255,0,0); color: white; } #DepositBtn_1000 { background-color: rgb(255,140,0); color: white; } #DepositBtn_2500 { background-color: rgb(255,255,0); color: white; } #DepositBtn_5000 { background-color: rgb(0,255,0); color: white; } #DepositBtn_10000 { background-color: rgb(0,155,0); color: white; } #JoinGame_, #CGSP_SelectInviteMode_ByEmail, #CGSP_SelectInviteMode_Friends, #CGSP_SelectInviteMode_ByName, #CGSP_InviteByEmail_BackBtn, #CGSP_InviteByEmail_Box, #CGSP_InviteByEmail_AddBtn, #CGSP_InviteFriends_BackBtn, #CGSP_InviteFriends_NextPageBtn, #CGSP_InviteFriends_PrevPageBtn, #CGSP_InviteBySearch_BackBtn, #CGSP_InviteBySearch_NameBox, #CGSP_InviteBySearch_SearchBtn { background-color: black; color: white; } /*hide flashing mail icon - remove this if you don't want it to be hidden*/ #MailImgFlashing { display: none !important; } #MailImgNormal { display: inline !important; } /*IE9 and lower don't show the TopRightBar background-image, so make your own - remove this if you don't use IE*/ .TopRightBar { background-color: gray; outline: 3px solid white !important; border: 0px !important; } .dropdown-menu { background-color: black !important; color: white; outline: 1px solid white !important; } /*varity of inputs for forum, dashboard, settings, help and single player*/ #SubjectBox, #SubmitPostBtn_0, #PreviewBtn_0, #EditBtn_0 , #SearchBox, #SubmitBtn, #TextArea_0, #RefreshBtn, #MoveToForumDropDown , #ChangeSubjectPop_Box, #ViewProfileBtn, #ctrllowvbootmd, #ctrllowdbootmd, #ctrllowbootrt , #ctrlvac, #ctrlfog, #ctrlmultiattack, #ctrlarmycap, #ctrlluckgt, #ctrloverride, #SaveBtn, #WikiSearch, #PlayRandomBtn, #LevelNameBox, #DescBox, #GoBtn, #LevelNameBox { background-color: black; color: white; } /*Muli's userscript*/ .searchLevelInput, .searchLevelBtn { background-color: black; color: white; } /*wiki*/ a:link, a:visited, a:active, a:hover, #preftab-personal { text-decoration: none !important; color: #00E !important; background-color: inherit !important; } a.new { text-decoration: none !important; color: red !important; background-color: inherit !important; } #content, #mw-head, #mw-panel, #footer , #p-logo, .searchButton, #toc, #toctitle, .editsection, #searchInput, h2, h4, #catlinks, .infobox, .mw-headline, .wikitable, .ambox, #namespace, #searchText, legend, span, fieldset, input, select, th, pre { background-color: black !important; color: white !important; } #p-namespaces, .mw-search-formheader, li#ca-nstab-main, li#ca-talk, li#ca-view, li#ca-viewsource, li#ca-edit, li#ca-history, #ca-watch, #ca-unwatch, #ca-move { background-color: black !important; } .selected { border-left: 3px solid white !important; border-right: 3px solid white !important; border-bottom: 2px solid white !important; border-top: 2px solid white !important; background-color: black !important; } #left-navigation, #p-views, #toc { border: 1px solid white !important; } .infobox { outline: 1px solid white; color: white !important; } .navbox { background-color: gray !important; } .navbox-header{ background-color: rgb(70,70,70) !important; } .ambox { border: 1px solid gray !important; border-left: 5px solid gray !important; } /*many special pages*/ #type, #level, #wpsize, #nsfrom, #nsto, #from, #mw-input-like, .mw-htmlform-submit, #mw-log-user, #mw-log-page, #mw-np-username, #mw-ilsearch, #mw-listfiles-user, #file, #mime, #filename, #mw-allmessages-form-prefix, #mw-allmessages-form-lang, .am_title, .am_default, #target, #mw-input-page1, #mw-input-rev1, #mw-input-page2, #mw-input-rev2, #catname, #mw-whatlinkshere-target, #isbn { background-color: black !important; color: white !important; } /*change history*/ #mw-history-search, #year, .mw-month-selector, .mw-history-histlinks, .mw-history-compareselectedversions-button { background-color: black !important; color: white !important; } /*view source and edit*/ #wpTextbox1, #wpSummary, #wpSave, #wpPreview, #wpDiff { background-color: black !important; color: white !important; } /*login*/ #wpName1, #wpPassword1, #wpLoginAttempt, #firstHeading, .mw-input, .namespaceselector { background-color: black !important; color: white !important; } /*preferences*/ /*user profile*/ #mw-prefsection-personal, #mw-htmlform-info, #mw-htmlform-i18n, #mw-htmlform-signature, #mw-htmlform-email , #mw-input-wprealname, #mw-input-wpgender, #mw-input-wplanguage, #mw-input-wpnickname, #prefcontrol, .successbox, .mw-prefs-buttons { background-color: black !important; color: white !important; } /*appearence*/ #mw-prefsection-rendering, #mw-input-wpimagesize, #mw-input-wpthumbsize, #mw-input-wpunderline, #mw-input-wpstubthreshold { background-color: black !important; color: white !important; } /*date and time*/ #mw-prefsection-datetime, #mw-input-wptimecorrection, #mw-input-wptimecorrection-other { background-color: black !important; color: white !important; } /*editing*/ #mw-prefsection-editing, #mw-input-wpcols, #mw-input-wprows, #mw-input-wpeditfont { background-color: black !important; color: white !important; } /*recent changes*/ #mw-htmlform-rc , #mw-htmlform-displayrc, #mw-input-wprcdays, #mw-input-wprclimit { background-color: black !important; color: white !important; } /*watchlist*/ #mw-prefsection-watchlist, #mw-input-wpwatchlistdays, #mw-input-wpwllimit, #mw-input-wpwatchlisttoken { background-color: black !important; color: white !important; } /*search options*/ #mw-prefsection-searchoptions, #mw-input-wpsearchlimit { background-color: black !important; color: white !important; } /*misc*/ #mw-prefsection-misc { background-color: black !important; color: white !important; } } /*end of WL*/