MediaWiki:Common.css

/* - TABLE OF CONTENTS - CTRL + F and type the section to find them. OTHER IMPORTS (imports not created on this wiki) IMAGE EFFECTS (effects of images when you hover over them) USER DESIGN (username design) DIV SPAN CLASSES (adjustments of div/span classes and extra classes) IDs (custom IDs) INFOBOX (design of infobox) TOOLTIP (design of tooltips) DISCORD (design of DiscordWidget) LinkPreview (design of LinkPreview on ImportJS) CHANGELIST (design of changelist in the main page) LINKS (design of links when you hover over them) TABBER (design of tabbers) OTHER (other things) FROM CSS COOKBOOK (taken from CSS Cookbook)

/* OTHER IMPORTS */ @import "/load.php?mode=articles&articles=u:dev:MediaWiki:BalancedTabber.css&only=styles"; @import "/load.php?mode=articles&articles=u:dev:MediaWiki:BringExternalLinkIconsBack.css&only=styles"; @import "/load.php?mode=articles&articles=u:dev:MediaWiki:GradientHeader.css&only=styles";

/* IMAGE EFFECTS */ @import "/index.php?title=MediaWiki:Common.css/imageffects.css&action=raw&ctype=text/css";

/* USER DESIGN */ @import "/index.php?title=MediaWiki:Common.css/namedesign.css&action=raw&ctype=text/css";

/* DIV SPAN CLASSES */ .article-table { border:3px solid #9951f0; box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2) }

.article-table-ub { border:0px solid; box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2); display:table; }

.fandom-table { background:rgb(0,0,0,.25); box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2); border-spacing:2px; border-collapse:separate; border-color:transparent; border:0px solid; }

.fandom-table tr td, .fandom-table tr th { padding-top:0px; padding-bottom:0px; padding-left:5px; padding-right:5px; }

.ooui-theme-fandomooui .mw-datatable>*>tr>th, .ooui-theme-fandomooui .mw-datatable>tr>th, .ooui-theme-fandomooui .mw-json>*>tr>th, .ooui-theme-fandomooui .mw-json>tr>th, .ooui-theme-fandomooui .wikitable>*>tr>th, .ooui-theme-fandomooui .wikitable>tr>th { background-color: #9951f0; text-shadow:0 0 1.25px black, 0 0 1.25px black, 0 0 1.25px black, 0 0 1.25px black, 0 0 1.25px black; color:white; padding-bottom:0px; padding-top:0px; margin:0px; }

.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { border-right: 0px solid; border-left: 0px solid; border-top: 1px solid; border-bottom: 1px solid; }

.ooui-theme-fandomooui .mw-datatable, .ooui-theme-fandomooui .mw-json, .ooui-theme-fandomooui .wikitable { background-color: rgb(0,0,0,.1); }

.wikitable { box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2); border-spacing:2px; border-collapse:separate; border-color:transparent; border:0px; }

.wikitable > caption { background-color: #9951f0; color:white; text-shadow:0 0 1.25px black, 0 0 1.25px black, 0 0 1.25px black, 0 0 1.25px black, 0 0 1.25px black; font-size:20px; padding-left:5px; padding-right:5px; }

.custom { background:rgb(0,0,0,.1); box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2); border:1px solid #505050; padding-left:10px; padding-right:10px }

.custom-bordered { background:rgb(0,0,0,.1); box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2); border:3px solid #9951f0; padding-left:10px; padding-right:10px }

.custom-unbordered { background:rgb(0,0,0,.1); box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2); border:0px solid transparent; padding-left:10px; padding-right:10px }

/* IDs */ border:5px solid #648cd0; cursor: context-menu; }
 * 1) hotbar:hover {

background-image:url("https://static.wikia.nocookie.net/unofficialrgd/images/0/00/Forge.png/revision/latest?cb=20230813051424"); background-repeat:no-repeat; background-position:center; color:white; text-shadow:1px 1px 10px black; }
 * 1) forge {

/* INFOBOX */ .theme-fandomdesktop-dark .portable-infobox { background: #141414; border:0px solid transparent; border-radius: 10px 10px 10px 10px} .theme-fandomdesktop-light .portable-infobox { background: rgb(0,0,0,.1); border:0px solid transparent; border-radius: 10px 10px 10px 10px}

/* TOOLTIP */ .theme-fandomdesktop-dark .main-tooltip { background: #171414; box-shadow: 2px 2px 5px rgba(0,0,0,0.3); padding-left: 10px; padding-right: 10px; margin-bottom: 5px; color: white; border: 2px solid #9951f0; border-radius: 0.5em; }

.theme-fandomdesktop-light .main-tooltip { background: #f7f1df; box-shadow: 2px 2px 5px rgba(0,0,0,0.3); padding-left: 10px; padding-right: 10px; margin-bottom: 5px; color: black; border: 2px solid #9951f0; border-radius: 0.5em; }

/* DISCORD */ .discord-widget .widget-header { background-color: #8c52ff; }

.discord-widget .widget-btn-connect { border: 1px solid #8c52ff; }

.DiscordWidget .title-container h2 { border-bottom: 1px solid #4d4d4d; }

/* LinkPreview */ .theme-fandomdesktop-dark .npage-preview { background-color:#171414; box-shadow: 2px 2px 5px rgba(0,0,0,0.3); color: white; border: 2px solid #9951f0; border-radius: 0.5em; }

.theme-fandomdesktop-light .npage-preview { background-color:#f7f1df; box-shadow: 2px 2px 5px rgba(0,0,0,0.3); color: black; border: 2px solid #9951f0; border-radius: 0.5em; }

.npage-preview-noimage { content: url(https://static.wikia.nocookie.net/unofficialrgd/images/d/dd/Unknown.png/revision/latest?cb=20230114070101); }

/* CHANGELIST */ .mw-changeslist-legend { background-color:#171414; border:white; color:white; }

/* LINKS */ a:hover { text-shadow: 1px 1px 10px black; color: #9951f0; }

a:active { /* What the link looks like when you click it */ color:white; text-shadow: 1px 1px 10px white; }

/* TABBER */ .wds-tabs__wrapper.with-bottom-border { border-bottom: none }

.tabber .wds-tabs__tab:not(.wds-is-current) a:hover { background-color: rgba(153, 81, 240, 0.2); border-radius: 1em; padding:0px; transition: 0.3s; transform: translateY(-4px); }

.wds-tabs__tab.wds-is-current { background-color: rgba(153, 81, 240, 0.2); border-radius: 1em; padding:0px; box-shadow:none; transition: 0.3s; transform: translateY(0px); }

.wds-tabs__tab a { height:50%; }

/* OTHER */ hr { border-bottom:0.1px #4d4d4d; border-image: linear-gradient(to top, #4d4d4d, #4d4d4d) 1; }

/* FROM CSS COOKBOOK */ .fandom-community-header__local-navigation .wds-dropdown__content {padding: 0 !important }

.fandom-community-header__local-navigation .wds-dropdown__content .wds-list.wds-is-linked > li { padding: 0 6px !important; }