MediaWiki:Common.css: Skillnad mellan sidversioner

Från Wiki The-West SE
Hoppa till navigering
Ingen redigeringssammanfattning
Ingen redigeringssammanfattning
Rad 42: Rad 42:
   }
   }
}
}
/* Svart horisentell linje */
/* Svart horisontell linje */
hr {
hr {
height: 1px;
height: 1px;
Rad 96: Rad 96:
}
}


/* Item popup, adapted from .NET */
.tooltipanchor_alt .tooltipbox_alt {
.tooltipanchor_alt .tooltipbox_alt {
     visibility: hidden;
     visibility: hidden;
Rad 124: Rad 125:
width: 52px;
width: 52px;
height: 39px;
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;
    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;
}
}

Versionen från 19 juni 2018 kl. 14.32

@import url('https://fonts.googleapis.com/css?family=Sancreek'); //importerar font som används i Mall:Duell

/* CSS som skrivs här påverkar alla skal */

/* Ändrar storleken på fönstret  mm*/

.mw-body a {
    color: #804000;
    font-weight: bold;
}
.mw-body a.external {
    color: #804000 !important;
}
#document-wrapper {
    padding: 0 225px 0 20px;
    margin:0 auto;
    max-width: 1250px;
    min-width:880px;
}
.tribal-button {
    width: 190px !important;
}
.with-button .tbbox-headline {
    width: 100% !important;
}
#toc{
   display:inline-block;
   width: auto;
}
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;
}

/* Tooltip, inte quest */

.tooltipanchor_alt {
    position: relative;
    cursor: help;
}

/* Item popup, adapted from .NET */
.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%;

}

.tooltipanchor_alt:hover .tooltipbox_alt {
    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;
    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;
}