MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Topsin (обсуждение | вклад) |
Topsin (обсуждение | вклад) |
||
| Строка 2: | Строка 2: | ||
text-decoration: none; | text-decoration: none; | ||
opacity: .8; | opacity: .8; | ||
| + | } | ||
| + | |||
| + | .PokemonBox > .Types{ | ||
| + | margin: 5px 0px; | ||
| + | } | ||
| + | |||
| + | .PokemonBox > .Types > div{ | ||
| + | display: inline-block; | ||
| + | font-size: 12px; | ||
| + | padding: 1px 5px; | ||
| + | border-radius: 3px; | ||
| + | color: #fff; | ||
| + | margin: 0px 2px; | ||
} | } | ||
Версия 02:28, 19 апреля 2020
a:hover{
text-decoration: none;
opacity: .8;
}
.PokemonBox > .Types{
margin: 5px 0px;
}
.PokemonBox > .Types > div{
display: inline-block;
font-size: 12px;
padding: 1px 5px;
border-radius: 3px;
color: #fff;
margin: 0px 2px;
}
.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;
}