MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Topsin (обсуждение | вклад) |
Topsin (обсуждение | вклад) |
||
| Строка 22: | Строка 22: | ||
margin-top: -25px; | margin-top: -25px; | ||
} | } | ||
| − | .PokemonBox > .Image | + | .PokemonBox > .Image > img{ |
| − | |||
| − | |||
| − | |||
max-height: 106px; | max-height: 106px; | ||
margin-top: -20px; | margin-top: -20px; | ||
Версия 02:07, 19 апреля 2020
a:hover{
text-decoration: none;
opacity: .8;
}
.PokemonBox{
width: 170px;
padding: 5px;
background-position: center;
background-repeat: no-repeat;
background-color: #fbfbfb;
border-radius: 10px;
border: 1px solid #e4e4e4;
text-align: center;
position: relative;
display: inline-block;
margin: 25px 10px;
}
.PokemonBox > .Image{
width: 100%;
height: 70px;
margin-top: -25px;
}
.PokemonBox > .Image > img{
max-height: 106px;
margin-top: -20px;
display: inline-block;
vertical-align: -20px;
max-width: 150px;
}
.PokemonBox > .Image:before {
content: "";
display: inline-block;
min-height: inherit;
height: 100%;
vertical-align: middle;
}
.PokemonBox > .Name {
border-radius: 3px;
overflow: auto;
margin-top: 20px;
}
.PokemonBox > .Name > a{
color: #265b88;
}
.PokemonBox > .Name > img{
display:none;
}