Nie podano opisu zmian |
mNie podano opisu zmian |
||
Linia 178: | Linia 178: | ||
} |
} |
||
.skillbox .skill-more h4:hover { |
.skillbox .skill-more h4:hover { |
||
− | color: rgba(215, 165, 66, |
+ | color: rgba(215, 165, 66, 1); |
} |
} |
||
.skillbox .skill-more-details > dt { |
.skillbox .skill-more-details > dt { |
Wersja z 07:21, 31 paź 2017
.skillbox {
background-color: #131F39;
box-shadow: 0 2px .5em rgba(0, 0, 0, .5);
position: relative;
border-radius: 5px;
color: #d5d4d4;
padding: 1em;
clear: both;
margin: .5em 0;
line-height: 140%;
overflow: hidden;
}
.skillbox::before {
height: 150px;
width: 100px;
position: absolute;
content: '';
top: 0;
right: 0;
background-position: top right;
background-repeat: no-repeat;
opacity: .1;
}
.skillbox.skill-q::before {
background-image: url('http://images.wikia.com/leagueoflegends/images/3/3d/Q_bg.png');
}
.skillbox.skill-w::before {
background-image: url('http://images.wikia.com/leagueoflegends/images/d/d6/W_bg.png');
}
.skillbox.skill-e::before {
background-image: url('http://images.wikia.com/leagueoflegends/images/2/20/E_bg.png');
}
.skillbox.skill-r::before {
background-image: url('http://images.wikia.com/leagueoflegends/images/1/10/R_bg.png');
}
.skillbox.skill-passive,
.skillbox.skill-r {
background-color: #192A4C;
}
.skill-label {
color: #D6A541;
}
.skillbox .skill,
.skillbox .pet {
clear: both;
position: relative;
}
.skillbox .skill-header {
border-bottom: 1px solid #D6A541;
margin: 2em 0 0;
min-height: 1.6em;
line-height: 100%;
text-align: right;
}
.skillbox .skill-header::after {
display: block;
content: '';
clear: both;
}
.skillbox .skill-header h3 {
color: #D6A541;
font-weight: bold;
overflow: visible;
margin: 0 0 -.2em;
float: left;
text-align: left;
font-size: 160%;
line-height: 100%;
}
.skillbox .skill-props {
float: right;
font-size: 90%;
margin: 7px 0 0 0em;
}
@media only screen and (min-width: 1596px) {
.skillbox .skill-props {
margin-top: 8px;
}
}
.skillbox .skill-props > span {
white-space: nowrap;
}
.skillbox .skill-props > b {
opacity: .5;
}
.skillbox .skill-header h3 .tip {
display: none;
}
.skillbox .skill:first-child .skill-header,
.skillbox .pet .skill-header {
margin-top: 0;
}
.skillbox .skill-clear {
clear: both;
padding-top: .1em;
}
.skillbox .skill-icon {
margin: .5em 1em 1em 0;
width: 64px;
min-height: 64px;
display: block;
float: left;
text-align: right;
}
.skillbox .skill-icon img {
max-width: 64px;
width: auto;
height: auto;
box-shadow: 0 2px .5em rgba(0, 0, 0, 0.5);
}
.skillbox .skill-row {
margin: .5em 0;
font-size: 90%;
margin-left: calc(64px + 1em);
overflow: hidden;
}
.skillbox .skill-icon + .skill-row {
margin-top: .3em;
}
.skillbox .skill-row::after {
display: block;
content: '';
clear: both;
}
.skillbox .skill-desc {
overflow: hidden;
margin: 0;
float: left;
width: calc(65% - 1em);
}
.skillbox .skill-row.no-levels .skill-desc {
width: auto;
float: none;
}
.skillbox .skill-levels {
overflow: hidden;
float: right;
width: 35%;
}
.skillbox .skill-levels ul {
margin: 0;
list-style-type: none;
}
.skillbox .skill-levels li {
margin: .2em 0;
}
.skillbox .skill-levels dt,
.skillbox .skill-levels dd {
margin: 0;
}
.skillbox .skill-levels .pet-stats + .pet-image {
margin-top: 1em;
}
.skillbox .skill-levels .pet-image img {
width: 100%;
height: auto;
}
.skillbox .skill-more {
line-height: 120%;
background: rgba(0, 0, 0, .3);
margin: 0 -1em;
padding: 0 1em 1px;
transition: background .5s;
clear: both;
}
.skillbox .skill-more.mw-collapsed {
background: rgba(0, 0, 0, 0);
}
.skillbox .skill-more > h4 {
color: rgba(215, 165, 66, 0.75);
font-weight: bold;
font-size: 90%;
padding: 0 calc(64px + 1em);
margin-bottom: 0;
}
.skillbox .skill-more > div {
font-size: 90%;
}
.skillbox .skill-more h4:hover {
color: rgba(215, 165, 66, 1);
}
.skillbox .skill-more-details > dt {
color: rgba(215, 165, 66, 0.75);
font-weight: bold;
font-size: 90%;
font-variant: small-caps;
}
.skillbox .skill-more-details > dd {
margin: .25em 0 .5em;
}
.skillbox .skill-desc > :first-child,
.skillbox .skill-levels > :first-child,
.skillbox .skill-levels > :first-child:empty + *,
.skillbox .skill-levels li:first-child,
.skillbox .skill-more-details:first-child,
.skillbox .skill-more-details > dd:first-child,
.skillbox .skill-more-details > dd > :first-child {
margin-top: 0;
}
.skillbox .skill-row:last-child,
.skillbox .skill-desc > :last-child,
.skillbox .skill-levels > :last-child,
.skillbox .skill-levels li:last-child,
.skillbox .skill-more-details > dd:last-child,
.skillbox .skill-more-details > dd > :last-child {
margin-bottom: 0;
}
.skillbox p:empty {
display: none;
}
/* Karty */
.skill-tabs .hidden-tab {
display: none;
}
.skill-tabs > dt {
background-color: rgba(0, 0, 0, .3);
position: relative;
padding: 0 1.3em;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
border-radius: .3em;
}
.skill-tabs .prev-tab,
.skill-tabs .next-tab {
position: absolute;
top: 0;
width: 50%;
padding: 0 .3em;
box-sizing: border-box;
cursor: pointer;
opacity: .5;
transition: opacity .1s;
}
.skill-tabs .prev-tab:hover,
.skill-tabs .next-tab:hover {
opacity: 1;
}
.skill-tabs .prev-tab {
left: 0;
text-align: left;
}
.skill-tabs .next-tab {
right: 0;
text-align: right;
}
.skill-tabs.toggle-tabs .prev-tab,
.skill-tabs.toggle-tabs .next-tab {
width: 100%;
}