Шаблон:PageList/styles.css: различия между версиями
Материал из Celadon | Wiki Shiptest
Дополнительные действия
Новая страница: «.pagelist { position: relative; user-select: none; display: flex; flex: 1 1 17.5rem; align-items: center; min-height: 1.5em; outline: 1px outset; border-radius: 6px; box-shadow: 0px 0px 0px ; } .pagelist:hover { box-shadow: 0 0 8px 2px rgba(255, 215, 0, 0.7); border-color: #ffcc00; } .pagelist-image { display: inline-flex; justify-content: center; align-items: center; min-width: 1.75em; } .pagelist-img img { width: 32px; height...» |
мНет описания правки |
||
| Строка 16: | Строка 16: | ||
} | } | ||
.pagelist- | .pagelist-img { | ||
display: inline-flex; | display: inline-flex; | ||
justify-content: center; | justify-content: center; | ||
Версия от 01:52, 6 сентября 2025
.pagelist {
position: relative;
user-select: none;
display: flex;
flex: 1 1 17.5rem;
align-items: center;
min-height: 1.5em;
outline: 1px outset;
border-radius: 6px;
box-shadow: 0px 0px 0px ;
}
.pagelist:hover {
box-shadow: 0 0 8px 2px rgba(255, 215, 0, 0.7);
border-color: #ffcc00;
}
.pagelist-img {
display: inline-flex;
justify-content: center;
align-items: center;
min-width: 1.75em;
}
.pagelist-img img {
width: 32px;
height: 32px;
padding: 0.25em;
}
.pagelist-text {
display: contents;
}
.pagelist-text a {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-weight: bold;
width: 100%;
height: 100%;
line-height: 1.1rem;
padding: 0 0.5rem;
}
.pagelist-text a:before {
content: '';
position: absolute;
inset: 0;
background: transparent;
}
.pagelist:hover .pagelist-text a:before {
transform: translateY(0.2rem);
}