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

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

Материал из Wormix Station
Нет описания правки
Отменена версия 96, сделанная Ylianko (обсуждение)
Метка: отмена
Строка 107: Строка 107:
margin-left: auto;
margin-left: auto;
}
}
}
.card-wrapper {
  display: flex;
  flex-direction: column;
  width: fit-content;
  background-color: #2b2b2b;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-family: Arial, sans-serif;
}
.card-img-container {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background-color: #222;
}
.card-img-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.card-title-bar {
  width: 100%;
  padding: 8px 12px;
  background-color: #1a1a1d;
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  line-height: 1.2;
}
}

Версия от 22:09, 7 октября 2026

.infobox-table {
	z-index: 3;
	overflow: hidden;
	width: 400px;
	max-width: 100%;
	margin-bottom: 1rem;
	padding-bottom: 20px;
	background: #0a1014;
	border: 1px solid #27292d;
	border-radius: 8px;
	border-spacing: 0;
	font-size: 0.875rem;
	text-align: left;
	display: block;
}
.infobox-table tr:not( #infobox-table-img-bg ) {
	display: flex;
	margin-top: 10px;
}

.infobox-table th,
.infobox-table td {
	padding: 0 15px;
}

.infobox-table th,
.infobox-table tr > td:first-child {
	font-weight: 600;
}

.infobox-table tr > td:first-child {
	color: #92acba;
	font-size: 0.8125rem;
	font-weight: normal;
	letter-spacing: 0.75px;
}

.infobox-table th,
th.infobox-table-name {
	color: #f5f9fb;
}

.infobox-table th {
	padding-top: 15px;
	border-top: 1px solid;
	border-color: #27292d;
	font-size: 1rem;
	text-align: left;
}

th.infobox-table-name {
	padding-top: 0;
	border: 0;
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 1.4rem;
	line-height: 1.4;
}

.infobox-table-img {
	background: var( --background-color-button-quiet--hover );
}

.infobox-table .infobox-table-img {
	padding: 0;
}

.infobox-table-img img {
	max-width: 100%;
	height: auto;
	background: transparent;
}

/* Neutral background for all transprent SVG 
.infobox-table-img img[ src$='.svg' ] {
	background: #eaecf0;
}
*/

.infobox-table-img a.image {
	background: 0;
}

.infobox-table .image:hover img {
	transform: scale( 1.1 );
}

.infobox-table ul,
.infobox-table ol {
	margin-top: 0;
}

.infobox-button {
	display: block;
	width: 100%;
}

.infobox-button > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

@media only screen and ( max-width: 720px ) {
	.infobox-table {
		margin-right: auto;
		margin-left: auto;
	}
}