MediaWiki:ModernRail.css

/***********************************************************************/ /**************************** Documentation ****************************/ /***********************************************************************/

/** * @Description     = Modernizes the Right Rail * @Author          = TheGoldenPatrik1 * @UsingCodeBy     = Ursuul * @Installation    = https://dev.wikia.com/wiki/ModernRail#Installation
 * ModernRail.css
 * ModernRail.css

/***********************************************************************/ /****************************** Restyling ******************************/ /***********************************************************************/

.WikiaRail .rail-module h2 { border-bottom: none; } .skin-oasis .WikiaRail .CommunityCornerModule h2 { color: inherit; } .skin-oasis .WikiaSearch .side-articles.RailModule, .skin-oasis .WikiaRail .custom-cql#mwModule, .skin-oasis .WikiaSearch .exact-wiki-match, .skin-oasis .WikiaRail .rail-module, .skin-oasis .WikiaRail #cql-module, .skin-oasis #WikiaRail > .module { padding: 5px 15px 15px; border: none; background: transparent; } .skin-oasis .WikiaRail .rail-module:not(.DiscordIntegratorModule):hover, .skin-oasis .WikiaRail #cql-module:hover, .skin-oasis .WikiaRail .custom-cql#mwModule:hover, .skin-oasis #WikiaRail > .module:hover { box-shadow: 0 1px 4px; position: relative; z-index: 2; } .skin-oasis .WikiaRail .DiscordIntegratorModule:hover { box-shadow: 0 1px 4px; } .skin-oasis .WikiaSearch .side-articles-footer > a, .skin-oasis .WikiaSearch .exact-wiki-match > a, .WikiaRail .module .more { font-size: 9px; font-weight: bold; padding: 7px 12px; text-transform: uppercase; color: inherit; margin-right: 75px; border-width: 1px; border-style: solid; } .skin-oasis .WikiaSearch .side-articles-footer > a:hover, .skin-oasis .WikiaSearch .exact-wiki-match > a:hover, .WikiaRail .module .more:hover { text-decoration: none; border-width: 2px; } .WikiaRail .CommunityCornerModule .more { margin-top: 4px; padding-top: 2px; padding-bottom: 1px; } .start-a-chat-button { padding: 5px !important; } .start-a-chat-button:hover { border-width: 2px; padding: 4px !important; } .UserProfileAchievementsModule { background: transparent !important; border: none !important; }/**/

/***********************************************************************/ /****************************** Light Icons ****************************/ /***********************************************************************/

.insights-module h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/a/a3/Bulb-dark.svg"); margin: 0 7px -3px 0; } .WikiaBlogListingBox.module .blog-empty-user-blog .pseudo-h1:before, .WikiaBlogListingBox.module > h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/a/ae/Pencil-dark.svg"); margin: 0 7px -2px 0; } .WikiaSearch .fandom-stories.RailModule .side-articles-header:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/e/ed/FANDOM-dark.svg"); margin: 0 7px -6px 0; } .WikiaSearch .exact-wiki-match .exact-wiki-match__header:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/e/e7/Search-dark.svg"); margin: 0 7px -5px 0; } .WikiaSearch .top-wiki-articles.RailModule .side-articles-header:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/2/2f/Bar-dark.svg"); margin: 0 7px -3px 0; }   content: url("https://vignette.wikia.nocookie.net/ursuul/images/6/66/Forum-dark.svg"); margin: 0 7px -1px 0; }   content: url("https://vignette.wikia.nocookie.net/ursuul/images/b/b7/Link-dark.svg"); margin: 0 7px -5px 0; } .FollowedPagesModule h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/8/8a/Eye-dark.svg"); margin: 0 7px -4px 0; } .HotSpotsModule h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/7/73/Activity-dark.svg"); margin: 0 7px -5px 0; } .CommunityCornerModule > h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/c/c7/Checklist-dark.svg"); margin: 0 7px -3px 0; } .content-review-module h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/f/f2/JS-dark.svg"); margin: 0 7px -3px 0; } .custom-rail-header:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/e/e6/Exclamation-dark.svg"); margin: 0 7px -1px 0; } .DiscordIntegratorModule .activity-heading:before, .chat-module .chat-headline:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/1/1f/SpeechBubble-dark.svg"); margin: 0 7px -5px 0; } .RewardModule .activity-heading:before, .achievements-title:before, .UserProfileAchievementsModule h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/6/63/Medal-dark.svg"); margin: 0 7px -3px 0; }   content: url("https://vignette.wikia.nocookie.net/ursuul/images/4/42/Code-interior-dark.svg"); margin: 0 7px -5px 0; }/**/
 * 1) ForumActivityModule h2:before {
 * 1) ForumRelatedThreadsModule h2:before {
 * 1) cql-module h2:before {

/***********************************************************************/ /****************************** Dark Icons *****************************/ /***********************************************************************/

.oasis-dark-theme .insights-module h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/4/48/Bulb.svg"); margin: 0 7px -3px 0; } .oasis-dark-theme .WikiaBlogListingBox.module .blog-empty-user-blog .pseudo-h1:before, .oasis-dark-theme .WikiaBlogListingBox.module > h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/6/68/Pencil.svg"); margin: 0 7px -2px 0; } .oasis-dark-theme .WikiaSearch .fandom-stories.RailModule .side-articles-header:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/7/7b/FANDOM.svg"); margin: 0 7px -6px 0; } .oasis-dark-theme .WikiaSearch .exact-wiki-match .exact-wiki-match__header:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/2/2b/Search.svg"); margin: 0 7px -5px 0; } .oasis-dark-theme .WikiaSearch .top-wiki-articles.RailModule .side-articles-header:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/a/ad/Bar.svg"); margin: 0 7px -3px 0; } .oasis-dark-theme #ForumActivityModule h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/1/14/Forum.svg"); margin: 0 7px -1px 0; } .oasis-dark-theme #ForumRelatedThreadsModule h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/5/58/Link.svg"); margin: 0 7px -5px 0; } .oasis-dark-theme .FollowedPagesModule h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/0/01/Eye.svg"); margin: 0 7px -4px 0; } .oasis-dark-theme .HotSpotsModule h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/f/f7/Activity.svg"); margin: 0 7px -5px 0; } .oasis-dark-theme .CommunityCornerModule > h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/f/f5/Checklist.svg"); margin: 0 7px -3px 0; } .oasis-dark-theme .content-review-module h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/d/d9/JS.svg"); margin: 0 7px -3px 0; } .oasis-dark-theme .custom-rail-header:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/5/5e/Exclamation.svg"); margin: 0 7px -1px 0; } .oasis-dark-theme .DiscordIntegratorModule .activity-heading:before, .oasis-dark-theme .chat-module .chat-headline:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/6/63/SpeechBubble.svg"); margin: 0 7px -5px 0; } .oasis-dark-theme .RewardModule .activity-heading:before, .oasis-dark-theme .achievements-title:before, .oasis-dark-theme .UserProfileAchievementsModule h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/8/85/Medal.svg"); margin: 0 7px -3px 0; } .oasis-dark-theme #cql-module h2:before { content: url("https://vignette.wikia.nocookie.net/ursuul/images/6/68/Code-interior.svg"); margin: 0 7px -5px 0; }/**/