MediaWiki:Common.css: Difference between revisions

From Wiki The-West EN
Jump to navigation
No edit summary
No edit summary
Line 528: Line 528:
     cursor: pointer;
     cursor: pointer;
     border-radius: 5px;
     border-radius: 5px;
     background:url(https://wiki.the-west.net/images/4/46/Set_icons_sprite.png);
     background:url(https://wiki.the-west.net/images/4/46/Set_icons_sprite.png?1);
}
}
.set_icon_sprite:hover {
.set_icon_sprite:hover {

Revision as of 09:57, 5 October 2019

/* CSS placed here will be applied to all skins */
/* Wiki */
.mw-body a, .mw-body a.external {
    color: #804000;
}
#mw-content-text a, #mw-content-text a.external {
    font-weight: bold;
}
#document-wrapper {
    padding: 0 225px 0 20px;
    margin:0 auto;
    max-width: 1250px;
    min-width:880px;
}
#searchText {
 width: 80%;
 z-index: 10;
}
div.oo-ui-menuSelectWidget {
 margin-top: 40px;
}
input.oo-ui-inputWidget-input {
 width: 65%;
}
div.tbbox-rafter {
 display: none;
}
body {
background-image: url(https://wiki.the-west.net/skins/thewest/images/bg-cover-right.png),url(https://wiki.the-west.net/skins/thewest/images/bg-cover-left.png),url(https://wiki.the-west.net/images/f/f1/NewCoverBgBottom.png),url(https://wiki.the-west.net/images/d/d5/NewMainBg.jpg);
}
.tribal-button {
    width: 190px !important;
}
.with-button .tbbox-headline {
    width: 100% !important;
}
#toc{
   display:inline-block;
   width: auto;
}
table {
    width: auto;
}
.mw-collapsible {
    display:inline-block;
}
.mw-collapsible-toggle {
    margin-left:10px;
}
table.transparent, table.transparent > tbody > tr > td {
   border:none;
   background:none !important;
}
table.transparent { width:100%;}
div.tbbox-logo {z-index:100;}
@media screen and (max-width: 1100px) {
  table.transparent > tbody > tr > td {
    display:block;
  }
}
/*Sitenotice */
div#dock {
    position:relative !important;
    right: 0 !important;
    margin: 0 !important;
    width: 173px !important;
    padding-top: 5px !important;
    height: auto !important;
    background: url(/skins/thewest/images/headline-bgtile.png?1cd53) repeat !important;
    box-shadow: inset 0em 0em 1.2em 0.2em #140a05, 0px 0px 2px 1px #000000b3 !important;
    z-index: 500;
}
div.dock-btn {
    display: inline-block !important;
    width: 52px !important;
    height: 52px !important;
    margin:-1px;
    background: url(https://wiki.the-west.net/images/a/a2/Dock_buttons.png) no-repeat !important;
}
div.dock-btn:hover {
   background-position-x:-52px !important;
}
div.dock-btn > a > span {
    display: block !important;
    width: 52px !important;
    height: 52px !important;
    background: url(https://wiki.the-west.net/images/a/a7/Dock_icons.png) !important;
}
#siteNotice {
    position: absolute;
    left: 0;
    margin-left: 100%;
}
#siteNotice div.mw-parser-output {
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    top: -115px !important;
}
#siteNotice div.mw-parser-output:hover {
    background: none !important;
}
#right_menu {
    padding:0 !important;
    margin:0 20px 0 30px !important;
    background: none !important;
    height:auto !important;
}
#right_menu .innogames-headline {
    border-top: 4px solid transparent !important;
    border-bottom: 4px solid transparent !important;
    border-image-slice: 4 !important;
    border-image-source: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAECAIAAABz8up3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QsREQkqmSTYtAAAAEZJREFUGNNjtLfQYcAAP37+4mBnY6AlYHz/5gUBFYyMWMX///+PX83///8h4sgq4YDl+OHdxLgP01jcKv8T5WMDLUWGgQAACj4ULl9i6ucAAAAASUVORK5CYII=) !important;
}
#localNotice #miniLogo { background-image: none; margin-top: -9px;}
.innogame { height: 38px !important;}
.innogame a { text-decoration: none; display: block; padding:8px 0 9px 0;}
.socialBar { background: none !important;}

/* Item Popup */
div.tw_bg_tl,
div.tw_bg_tr,
div.tw_bg_bl,
div.tw_bg_br {
    background-image: url(https://wiki.the-west.net/images/6/68/Popup.png);
    position: absolute;
    z-index: -1;
}
.tw_bg_tl {
    background-position: left top;
    bottom: 50%;
    right: 50%;
    left: 0;
    top: 0;
}
.tw_bg_tr {
    background-position: right top;
    width: 50%;
    bottom: 50%;
    right: 0;
    top: 0;
}
.tw_bg_bl {
    background-position: left bottom;
    height: 50%;
    right: 50%;
    bottom: 0;
    left: 0;
}
.tw_bg_br {
    background-position: right bottom;
    height: 50%;
    width: 50%;
    bottom: 0;
    right: 0;
}
div.popup_window {
    position: absolute;
    display: none;
    margin: 0px;
    min-width: 200px;
    white-space: nowrap;
    z-index:1000;
}
div.item_container {
    height: 79px;
    width: 79px;
    position: relative;
    background-image: url(https://wiki.the-west.net/images/e/ec/Item_box.png);
    background-repeat: no-repeat;
    display: inline-block;
}
div.item_container.wear {
    height: 93px;
    width: 94px;
    position: relative;
    background-image: url(https://wiki.the-west.net/images/8/82/Item_box_wear.png);
    background-repeat: no-repeat;
    display: inline-block;
}
div.item_container.wear2 {
    height: 138px;
    width: 95px;
    position: relative;
    background-image: url(https://wiki.the-west.net/images/5/54/Item_box_wear2.png);
    background-repeat: no-repeat;
    display: inline-block;
}
div.item_container.empty {
    background-image: none;
}
div.item_container > img {
    position: absolute;
    top: 3px;
    left: 3px;
}
div.item_container.item_off > img {
    filter:sepia(1) opacity(35%);
}
div.item_border div.item_container > img,
div.item_container.wear > img,
div.item_container.wear2 > img {
    top: 0px !important;
    left: 0px !important;
}
div.item_container:hover div.popup_window {
    left: 120%;
    top: 10px;
    z-index: 10;
    display: block;
}
div.popup_contents {
    margin: 25px;
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
}
div.popup_contents * {
    margin: 0;
}
div.popup_image {
    background-image: url(https://wiki.the-west.net/images/e/ec/Item_box.png);
    background-repeat: no-repeat;
    width: 79px;
    height: 79px;
    margin: auto;
}
.popup_divider {
    width:124px;
    height:6px;
    margin-top:4px !important;
    background-image: url(https://wiki.the-west.net/images/c/c1/Divider.png);
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
}
div.popup_image img {
    padding-top: 3px;
    padding-left: 4px;
}
.popup_attribute {
    text-align: left;
    padding-left: 7px;
    font-size: 12px;
    color: #070;
    font-weight: bold;
}
.popup_skill {
    text-align: left;
    padding-left: 18px;
    font-size: 11px;
    color: #070;
}
.popup_type {
    font-style: italic;
    font-size: 8pt;
    text-align: center;
}
.popup_name {
    font-size: 13px;
    color: #070;
    font-weight: bold;
    text-align: center;
    padding-top: 4px;
}
.popup_infos {
    text-align: center;
}
.popup_id {
    color: blue;
}
.popup_set {
    color: #800080 !important;
    font-weight: bold !important;
}
.popup_speed {
    color: #8b4513;
}
.popup_fb {
    color: #8b4513;
    font-weight: bold;
}
.popup_fb_stats {
    color: #8b4513;
    font-weight: bold;
}
.popup_dmg {
    font-weight: bold;
    text-align: center;
}
.popup_text {
    color: #007777;
    white-space: normal;
    max-width: 200px;
}
.item_number {
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 10;
    font-size: 16pt;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 2px #000;
}
.popup_bonus {
    color:#8b4513;
}
.popup_job {
    display:inline-block;
    border-radius: 3px;
    border: 1px solid #804000;
    padding-top: 3px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.popup_job img {
    width:50px;
    height:50px;
}
.popup_crafteditem {
    display:inline-block;
    background: none;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.popup_crafteditem table {
    border-radius: 3px;
    border: 1px solid #804000;
    text-align: center;
}
.popup_txtgreen {
    color: green;
}
.popup_txtred {
    color: #900;
}
/* Sets */
.set_container {
    position:relative;
    width: 276px;
    height: 395px;
    box-shadow: 0 0 65px #cdbe9f inset, 0 0 20px #beae8c inset, 0 0 5px #816f47;
    border-radius: 10px;
}
.infoSet {
    width:auto;
    margin-top:10px;
    padding: 0;
    text-align:center;
    border: 1px solid #806D47;
    box-shadow: 1px 1px 5px #000;;
}
table.infosetatt {
    border: 1px solid #806D47;
    background-color: #EBEBCF;
    padding: 0;
    height: 44px;
}
table.infosetatt td {
    padding: 0;
    vertical-align: middle;
}
div.set_bonus {
    border:1px solid #997146;
    width:40px;
    text-align:center;
    background-color:#4E3E26;
    color:#fff;
    font:12px arial;
    float:left;
}
/* Set bonus tooltip */

div.tt_bg_tl,
div.tt_bg_tr,
div.tt_bg_bl,
div.tt_bg_br {
    background-image: url(https://wiki.the-west.net/images/f/fc/Tooltip_bg.png);
    background-repeat: no-repeat;
    position: absolute;
    z-index: -1;
}
.tt_bg_tl {
    background-position: left top;
    bottom: 50%;
    right: 50%;
    left: 0;
    top: 0;
}
.tt_bg_tr {
    background-position: right top;
    width: 50%;
    bottom: 50%;
    right: 0;
    top: 0;
}
.tt_bg_bl {
    background-position: left bottom;
    height: 50%;
    right: 50%;
    bottom: 0;
    left: 0;
}
.tt_bg_br {
    background-position: right bottom;
    height: 50%;
    width: 50%;
    bottom: 0;
    right: 0;
}
.tooltip_outer {
    position: absolute;
    left: 50%;
    bottom: 100%;
    margin-bottom: 8px;
    z-index: -1;
}
.tooltip {
    position: relative;
    padding: 10px 13px 12px 13px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .15s ease-in-out;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
    -moz-transition: opacity .15s ease-in-out;
    transition: opacity .15s ease-in-out;
    white-space: nowrap;
    max-width: 350px;
    left: -50%;
    color: black;
}
.tooltip::after {
    content: " ";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: -4px;
    margin-left: -11px;
    background-image: url(https://wiki.the-west.net/images/3/32/Tooltip_arrow.png);
    width: 22px;
    height: 11px;
}
.tooltip_container {
    position: relative;
}
.tooltip_container:hover .tooltip {
    visibility: visible;
    -webkit-transition: opacity .15s ease-in-out 0.4s;
    -moz-transition: opacity .15s ease-in-out 0.4s;
    transition: opacity .15s ease-in-out 0.4s;
    opacity: 1;
}
.tooltip_container:hover > .tooltip_outer {
    z-index: 1000;
}
.per_level:after {
    content: "(per Level)";
}
/* Quest templates */

.item_border {
    position: relative;
    display: inline-block;
    margin: 5px;
    background-color: #917F63;
    width: 74px;
    height: 74px;
    border-right: outset 2px;
    border-bottom: outset 2px;
    border-color: #000000;
    border-radius: 8px;
    text-align: left;
}
.number {
    position: absolute;
    top: 40px;
    left: 5px;
    text-shadow: black 1px 1px 1px;
    font-size: 18px;
    color: white;
    font-weight: 40;
}
/* Set switch duel weapon */

#switch {
    position: absolute;
    top: 30px;
    left: 195px;
    cursor: pointer;
}
#switch_prod {
    position: absolute;
    top: 30px;
    left: 195px;
    cursor: pointer;
}
/* Inputs */

#input_level,
#input_search {
    display: inline-block;
    background: url(https://westzz.innogamescdn.com/images/tw2gui/textfield/textfield.png) top left no-repeat;
    height: 30px;
    width: 12px;
}
#input_search {
    position: absolute;
    right: 250px;
}
input.west, select.west {
    background: url(https://westzz.innogamescdn.com/images/tw2gui/textfield/textfield.png) top right no-repeat;
    height: 30px;
    width: 180px;
    margin-left: 12px;
    padding: 0px 8px 0px 0px;
    border: 0;
    outline: none;

}
/* Set icon */
.set_icon_sprite {
    display:inline-block;
    position: relative;
    margin-top:3px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 5px;
    background:url(https://wiki.the-west.net/images/4/46/Set_icons_sprite.png?1);
}
.set_icon_sprite:hover {
     background-color: #FFEECC;
}
.set_icon_sprite.new_set:before {
	content:"";
	display:block;
	position:absolute;
	width:36px;
	height:34px;
	right:0;
	top:0;
	background:url(https://wiki.the-west.net/images/c/c7/New_set.png) no-repeat;
	background-size:contain;
	pointer-events:none;
}
.warning_message {
    color: white;
    display: inline-block;
    padding: 12px 12px 12px 12px;
    border: 1px solid black;
    background: red;
    background: -webkit-linear-gradient(#db1616, #831919);
    background: -o-linear-gradient(#db1616, #831919);
    background: -moz-linear-gradient(#db1616, #831919);
    background: linear-gradient(#db1616, #831919);
}
/* Upgrade */
.item_level {
    position: absolute;
    display:block;
    top: 4px;
    left: 3px;
    height: 13px;
    line-height: 13px;
    background-color: rgba(0,0,0,0.4);
    text-align: center;
    font-size: 12px;
    padding: 1px 2px 0 2px;
    color: #ffffff;
    font-weight: normal;
    box-shadow: 1px 1px 3px #000000;
    border-radius: 0 0 2px 0;
    text-shadow: black -1px 0 1px, black 0 1px 1px, black 1px 0 1px, black 0 -1px 1px;
    white-space: nowrap;
    z-index: 1;
}
.icon_level {
    display: inline-block;
    width: 15px;
    height:12px;
    background:url(https://westzz.innogamescdn.com/images/items/item_level.png);
    margin-right: 3px;
}
.level {
    vertical-align: top;
}
.upgrade {
    display: inline-block;
    width:12px;
    height: 12px;
    background: url(https://wiki.the-west.net/images/c/ca/Upgrade_icons.png) 0px 12px;
    margin: 0px 3px 0 1px;
    cursor: pointer;
}
.upgrade:hover {
    background-position-y:0px;
}
.downgrade {
    display: inline-block;
    width:12px;
    height:12px;
    background: url(https://wiki.the-west.net/images/c/ca/Upgrade_icons.png) 12px 12px;
    margin: 0px 3px 0 3px;
    cursor: pointer;
}
.downgrade:hover {
    background-position-y:0px;
}

.item_container[data-lvl="0"] .item_level {
	display:none;
}
.item_container:hover .item_level {
	display:block;
}
.item_container .upgrade, .item_container .downgrade {
	display:none;
}
.item_container:hover .upgrade, .item_container:hover .downgrade {
	display:inline-block;
}
div.set_container div.item_container > img {
    cursor:pointer;
}
div.mw-collapsible > b {
    color:#5e321a;
    font-size:16px;
}
.navbar_items {
    width: 392px;
    height: 89px;
    padding: 10px;
    background: url(https://wiki.the-west.net/images/b/ba/Navbar_items.png) no-repeat;
}
.navbar_items .link_icon {
    display:inline-block;
    position: relative;
    width: 42px;
    height: 43px;
    cursor: pointer;
    background:url(https://wiki.the-west.net/images/8/87/Navbar_items_icons.png);
}
.navbar_items .link_icon:hover, .navbar_items .active{
     background-position-y:-43px;
}

.wiki-title {
    position:relative;
    max-width: 800px;
    height: 49px;
    background: url(https://wiki.the-west.net/images/b/b3/Title.png) no-repeat;
    background-size: 100% 100%;
    padding: 0;
    margin: auto;
    border: none;
}
#popup_plain {
    position:relative;
    display:inline-block;
}
div.achievement {
    display: inline-block;
    position: relative;
    vertical-align:top;
    font-family: Arial, Verdana, sans-serif;
    width:424px;
    min-height: 120px;
    text-align: center;
    text-shadow: black 1px 1px 1px;
    font-weight: bold;
    color: white;
    z-index: 3;
    margin:2px -1px 2px -1px;
}
div.ach-background {
    width: 100%;
    position: absolute;
    background-image: url(https://wiki.the-west.net/images/c/c8/Achievement_Background.png);
    left: 0;
    z-index: -1;
}
div.ach-top{
    top: 0;
    bottom: 10px;
    background-position: top;
}
div.ach-btm {
    bottom: 0;
    height: 10px;
    background-position: bottom;
}
.tw2gui_button {
    display: inline-block;
    position: relative;
    height: 36px;
    margin-top: 2px;
    margin-bottom: 2px;
    text-align: center;
    cursor: pointer;
    min-width:150px;
    max-width:330px;
}
.tw2gui_button_left_cap,.tw2gui_button_right_cap {
    position: absolute;
    width: 50%;
    height: 36px;
    background: url(https://westzz.innogamescdn.com/images/tw2gui/button/button_normal.png) 0 0;
    left: 0;
}
.tw2gui_button_right_cap {
    left: 50%;
    background-position: right top;
}
.tw2gui_button_middle_bg {
    position: absolute;
    width: 18px;
    height: 36px;
    margin-left: -9px;
    left: 50%;
    background: url(https://westzz.innogamescdn.com/images/tw2gui/button/button_mid_normal.png) 0 0 no-repeat;
}
.textart_title {
    position: relative;
    color: #FFE7B1;
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 9px;
    text-align: center;
    height: 19px;
    white-space: nowrap;
    font: bold 10pt Arial;
    overflow: hidden;
    text-overflow: ellipsis;
}
table.sticky_header th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index:3;
}
div.prize-section {
    display:inline-block;
    position:relative;
    margin: 5px 0 5px 0;
}
div.prize-section .section-border {
    border: 3px solid #a49e97;
    border-radius: 8px;
    box-shadow: 0 0 20px inset;
    opacity: 0.9;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
div.prize-section .section-bg {
    position: absolute;
    left: 3px;
    right: 3px;
    bottom: 3px;
    top: 3px;
    opacity: 0.4;
    border-radius: 5px;
}

div.prize-section .section-legend {
    position: relative;
    text-align: center;
    text-shadow: 0 0 5px #000;
    padding: 10px 15px 5px 15px;
    color: white;
    font-size:20px;
}
div.prize-section .section-content {
    position: relative;
    padding: 15px;
}
small div.item_container {
    height: 60px;
    width: 60px;
}
small div.item_container > img, small div.item_container > a > img {
    width:54px !important;
    height:54px !important;
}