MediaWiki:Common.css: Skillnad mellan sidversioner

Från Wiki The-West SE
Hoppa till navigering
Ingen redigeringssammanfattning
Ingen redigeringssammanfattning
(En mellanliggande sidversion av en annan användare visas inte)
Rad 1: Rad 1:
@import url('https://fonts.googleapis.com/css?family=Sancreek'); //importerar font som används i Mall:Duell
/*Custom background*/


/* CSS som skrivs här påverkar alla skal */
body {
 
    background-image: url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/bg-cover-right.png), url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/bg-cover-left.png), url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/NewCoverBgBottom.png), url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/NewMainBg.jpg);
/* Ändrar storleken på fönstret  mm*/
 
.mw-body a {
    color: #804000;
    font-weight: bold;
}
.mw-body a.external {
    color: #804000 !important;
}
}
#document-wrapper {
#document-wrapper {
     padding: 0 225px 0 20px;
     padding: 0 225px 0 20px;
     margin:0 auto;
    /*Sets a 225px right padding for the right menu*/
     margin: 0 auto;
     max-width: 1250px;
     max-width: 1250px;
     min-width:880px;
    /*wrapper maximum width*/
     min-width: 880px;
}
}
.tribal-button {
/*External and internal link color*/
     width: 190px !important;
.mw-body a,
.mw-body a.external {
     color: #804000;
}
}
.with-button .tbbox-headline {
#mw-content-text a,
     width: 100% !important;
#mw-content-text a.external {
     font-weight: bold;
}
}
#toc{
/*Fix the advanced search form*/
  display:inline-block;
#searchText {
  width: auto;
     width: 80%;
}
     z-index: 10;
table {
    width: auto;
}
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: 990px) {
  table.transparent > tbody > tr > td {
    display:block;
  }
}
/* Svart horisontell linje */
hr {
height: 1px;
color: #000;
background-color: #000000b3;
border: 0;
margin: .2em 0;
}
 
/* Tooltip on mouse-over; Quests */
.tooltipanchor {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
background-color: none;
cursor: help;
}
 
.tooltipanchor .tooltipbox {
     visibility: hidden;
    opacity: 0;
    transition: opacity 1s;
    max-width: 400px;
    background: url(https://wiki.the-west.se/images/5/53/Bakgrund.png) repeat;
    color: #242424;
    text-align: left;
font-size: 14px;
    padding: 20px 20px;
    border-radius: 6px;
border-style: solid;
border-width: 2px;
box-shadow: 0px 0px 4px #000;
    position: absolute;
     z-index: 1;
top:-5px;
left: 105%;
}
 
.tooltipanchor:hover .tooltipbox {
    visibility: visible;
opacity: .95;
}
 
.tooltipanchor:hover {
background-color: #fef0d3;
}
}
 
div.oo-ui-menuSelectWidget {
/* Tooltip, inte quest */
     margin-top: 40px;
 
.tooltipanchor_alt {
     position: relative;
    cursor: help;
}
}
 
input.oo-ui-inputWidget-input {
/* Item popup, adapted from .NET */
     width: 65%;
.tooltipanchor_alt .tooltipbox_alt {
    visibility: hidden;
    opacity: 0;
    transition: opacity 1s;
    background: url(https://wiki.the-west.se/images/5/53/Bakgrund.png) repeat;
    color: #242424;
    text-align: left;
    font-size:10px;
     padding: 5px 5px;
    border-radius: 6px;
border-style: solid;
border-width: 1px;
box-shadow: 0px 0px 4px #000;
    position: absolute;
    z-index: 1;
top:-5px;
left: 105%;
 
}
}
 
/*Make the page title selectable*/
.tooltipanchor_alt:hover .tooltipbox_alt {
div.tbbox-rafter {
    visibility: visible;
opacity: .95;
}
 
.belöningsikon {
width: 52px;
height: 39px;
}
 
/* 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;
     display: none;
    margin: 0px;
    min-width: 200px;
    white-space: nowrap;
    z-index:1000;
}
}
div.item_container {
/*Fix the Log in button*/
    height: 79px;
.tribal-button {
    width: 79px;
     width: 190px !important;
    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 {
.with-button .tbbox-headline {
    height: 93px;
     width: 100% !important;
     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 {
/*Remove the table of contents width limit*/
    height: 138px;
#toc {
    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;
     display: inline-block;
    width: auto;
}
}
div.item_container.empty {
/*Right menu*/
    background-image: none;
#siteNotice {
}
div.item_container > img {
     position: absolute;
     position: absolute;
     top: 3px;
     left: 0;
     left: 3px;
     margin-left: 100%;
}
}
div.item_container.item_off > img {
#right_menu {
     filter:sepia(1) opacity(35%);
     padding: 0 !important;
    margin: 0 20px 0 30px !important;
    top: -107px;
}
}
div.item_border div.item_container > img,
#right_menu .innogames-headline {
div.item_container.wear > img,
    border-top: 4px solid transparent !important;
div.item_container.wear2 > img {
    border-bottom: 4px solid transparent !important;
     top: 0px !important;
     border-image-slice: 4 !important;
     left: 0px !important;
     border-image-source: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAECAIAAABz8up3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QsREQkqmSTYtAAAAEZJREFUGNNjtLfQYcAAP37+4mBnY6AlYHz/5gUBFYyMWMX///+PX83///8h4sgq4YDl+OHdxLgP01jcKv8T5WMDLUWGgQAACj4ULl9i6ucAAAAASUVORK5CYII=) !important;
}
}
div.item_container:hover div.popup_window {
.innogame {
     left: 120%;
     height: 32px !important;
     top: 10px;
     padding-top: 10px !important;
    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 {
.innogame a {
     background-image: url(https://wiki.the-west.net/images/e/ec/Item_box.png);
     text-decoration: none;
    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;
     display: block;
    height: 25px;
}
}
div.popup_image img {
.socialBar {
     padding-top: 3px;
     background: none !important;
    padding-left: 4px;
}
}
.popup_attribute {
#localNotice #miniLogo {
    text-align: left;
     background-image: none;
    padding-left: 7px;
     margin-top: -9px;
    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;
}
}

Versionen från 5 november 2018 kl. 03.06

/*Custom background*/

body {
    background-image: url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/bg-cover-right.png), url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/bg-cover-left.png), url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/NewCoverBgBottom.png), url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/NewMainBg.jpg);
}
#document-wrapper {
    padding: 0 225px 0 20px;
    /*Sets a 225px right padding for the right menu*/
    margin: 0 auto;
    max-width: 1250px;
    /*wrapper maximum width*/
    min-width: 880px;
}
/*External and internal link color*/
.mw-body a,
.mw-body a.external {
    color: #804000;
}
#mw-content-text a,
#mw-content-text a.external {
    font-weight: bold;
}
/*Fix the advanced search form*/
#searchText {
    width: 80%;
    z-index: 10;
}
div.oo-ui-menuSelectWidget {
    margin-top: 40px;
}
input.oo-ui-inputWidget-input {
    width: 65%;
}
/*Make the page title selectable*/
div.tbbox-rafter {
    display: none;
}
/*Fix the Log in button*/
.tribal-button {
    width: 190px !important;
}
.with-button .tbbox-headline {
    width: 100% !important;
}
/*Remove the table of contents width limit*/
#toc {
    display: inline-block;
    width: auto;
}
/*Right menu*/
#siteNotice {
    position: absolute;
    left: 0;
    margin-left: 100%;
}
#right_menu {
    padding: 0 !important;
    margin: 0 20px 0 30px !important;
    top: -107px;
}
#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;
}
.innogame {
    height: 32px !important;
    padding-top: 10px !important;
}
.innogame a {
    text-decoration: none;
    display: block;
    height: 25px;
}
.socialBar {
    background: none !important;
}
#localNotice #miniLogo {
    background-image: none;
    margin-top: -9px;
}