MediaWiki:Test.js: различия между версиями

Страница интерфейса MediaWiki
(Полностью удалено содержимое страницы)
Метки: очистка ручная отмена
Нет описания правки
Строка 1: Строка 1:
.alchemy-block {
border: 2px solid;
border-radius: 12px;
margin: 1em 0;
overflow: hidden;
background: #1c1c1c;
color: #ddd;
}


.alchemy-header {
padding: 0.5em 1em;
font-size: 1.2em;
font-weight: bold;
}
.alchemy-body {
padding: 1em;
}
.alchemy-product {
font-weight: bold;
margin-bottom: 0.5em;
color: #fff;
}
.alchemy-description {
font-style: italic;
margin-top: 1em;
color: #aaa;
}
.alchemy-collapse {
margin-top: 1em;
}
.alchemy-toggle {
cursor: pointer;
background: #2c2c2c;
padding: 0.4em 0.8em;
border-radius: 8px;
user-select: none;
position: relative;
}
.alchemy-toggle::after {
content: '▼';
float: right;
transition: transform 0.2s;
}
.alchemy-toggle.open::after {
transform: rotate(-90deg);
}
.alchemy-content {
display: none;
padding: 0.5em 1em;
background: #2b2b2b;
border-radius: 6px;
margin-top: 0.4em;
}
.alchemy-toggle.open + .alchemy-content {
display: block;
}

Версия от 02:45, 17 июня 2025

.alchemy-block {
	border: 2px solid;
	border-radius: 12px;
	margin: 1em 0;
	overflow: hidden;
	background: #1c1c1c;
	color: #ddd;
}

.alchemy-header {
	padding: 0.5em 1em;
	font-size: 1.2em;
	font-weight: bold;
}

.alchemy-body {
	padding: 1em;
}

.alchemy-product {
	font-weight: bold;
	margin-bottom: 0.5em;
	color: #fff;
}

.alchemy-description {
	font-style: italic;
	margin-top: 1em;
	color: #aaa;
}

.alchemy-collapse {
	margin-top: 1em;
}

.alchemy-toggle {
	cursor: pointer;
	background: #2c2c2c;
	padding: 0.4em 0.8em;
	border-radius: 8px;
	user-select: none;
	position: relative;
}

.alchemy-toggle::after {
	content: '▼';
	float: right;
	transition: transform 0.2s;
}

.alchemy-toggle.open::after {
	transform: rotate(-90deg);
}

.alchemy-content {
	display: none;
	padding: 0.5em 1em;
	background: #2b2b2b;
	border-radius: 6px;
	margin-top: 0.4em;
}

.alchemy-toggle.open + .alchemy-content {
	display: block;
}