Открыть меню
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

Шаблон:PageList/styles.css: различия между версиями

Материал из Celadon | Wiki Shiptest
мНет описания правки
мНет описания правки
 
(не показано 14 промежуточных версий этого же участника)
Строка 6: Строка 6:
align-items: center;
align-items: center;
min-height: 1.5em;
min-height: 1.5em;
     outline: 1px outset;
     outline: 1px outset var(--color-border);
transition: all 0.3s ease;
border-radius: 6px;
border-radius: 6px;
transition: all 0.3s ease;
border: 0.06px solid var(--color-border);
}
}


.pagelist:hover {
.pagelist:hover {
box-shadow: 0 0 8px 2px rgba(255, 215, 0, 0.7);
box-shadow: 0 0 8px 2px rgba(255, 215, 0, 0.7);;
    border-color: #ffcc00;
}
}


Строка 33: Строка 33:
.pagelist-text {
.pagelist-text {
display: contents;
display: contents;
color: black;
}
}


Строка 46: Строка 45:
line-height: 1.1rem;
line-height: 1.1rem;
padding: 0 0.5rem;
padding: 0 0.5rem;
}
color: var(--color-text);
 
 
@media (prefers-color-scheme: dark) {
.pagelist-text.adaptive {
color: white;
}
}
}



Текущая версия от 12:41, 25 февраля 2026

.pagelist {
	position: relative;
	user-select: none;
	display: flex;
    flex: 1 1 17.5rem;
	align-items: center;
	min-height: 1.5em;
    outline: 1px outset var(--color-border);
	transition: all 0.3s ease;
	border-radius: 6px;
	border: 0.06px solid var(--color-border);
}

.pagelist:hover {
	box-shadow: 0 0 8px 2px rgba(255, 215, 0, 0.7);;
}

.pagelist-img {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-width: 1.75em;
}



.pagelist-img img {
	width: 36px;
	height: 36px;
	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;
	color: var(--color-text);
}

.pagelist-text a:before {
	content: '';
	position: absolute;
	inset: 0;
	background: transparent;
}

.pagelist:hover .pagelist-text a:before {
	transform: translateY(0.2rem);
}