Bibliothek
/
members-avatar.css


/**
 * ===================================================
 * MITGLIEDER
 * Teufelsbrigade
 * ===================================================
 */

.tb-member-legend {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
	margin-bottom: 32px;
	padding: 14px 18px;
	border: 1px solid rgba(217, 165, 45, 0.35);
	background: rgba(0, 0, 0, 0.28);
	font-weight: 700;
}

.tb-status-dot {
	display: inline-block;
	width: 11px;
	height: 11px;
	margin-right: 8px;
	border-radius: 50%;
	vertical-align: 1px;
}

/**
 * ===================================================
 * STATUSFARBEN
 * ===================================================
 *
 * Mitglied  = Blau
 * Anwärter  = Gelb
 * Aktiv     = Grün
 * Inaktiv   = Hellgrau
 * Online    = Violett
 * Offline   = Rot
 */

.tb-status-member {
	background: #3972c6;
}

.tb-status-candidate {
	background: #e6b422;
}

.tb-status-active {
	background: #2fa84f;
}

.tb-status-inactive {
	background: #bfc3c7;
}

.tb-status-online {
	background: #8a4fd1;
}

.tb-status-offline {
	background: #c83232;
}

/**
 * ===================================================
 * MITGLIEDERLISTE
 * ===================================================
 */

.tb-member-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

/**
 * ===================================================
 * MITGLIEDERKARTE
 * ===================================================
 */

.page-box .tb-member-card {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	gap: 28px;
	align-items: stretch;

	padding: 24px;

	border: 1px solid rgba(217, 165, 45, 0.35);
	background: rgba(8, 8, 8, 0.72);

	color: inherit;
	text-decoration: none;

	transition:
		border-color 0.2s ease,
		background 0.2s ease,
		transform 0.2s ease;
}

.page-box .tb-member-card:hover {
	border-color: rgba(217, 165, 45, 0.75);
	background: rgba(16, 16, 16, 0.9);
	transform: translateY(-2px);
}

/**
 * ===================================================
 * AVATAR
 * ===================================================
 */

.tb-member-avatar {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	aspect-ratio: 5 / 7;
	overflow: hidden;

	border: 1px solid rgba(217, 165, 45, 0.55);
	background: rgba(255, 255, 255, 0.025);
}

.tb-member-avatar-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.tb-member-avatar-placeholder {
	color: #d9a52d;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/**
 * ===================================================
 * INHALT
 * ===================================================
 */

.tb-member-card-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.page-box .tb-member-name {
	margin: 0 0 12px;
	padding: 0;

	color: #d9a52d;

	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

.page-box .tb-member-rank {
	margin: 0 0 22px;

	color: #ffffff;

	font-size: 18px;
	line-height: 1.4;
}

/**
 * ===================================================
 * STATUS
 * ===================================================
 */

.tb-member-statuses {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 34px;

	margin-bottom: 22px;
}

.tb-member-statuses > span {
	display: inline-flex;
	align-items: center;

	color: #ffffff;

	font-size: 17px;
	line-height: 1.4;
}

.tb-member-statuses .tb-status-dot {
	flex: 0 0 11px;
	margin-right: 9px;
}

/**
 * ===================================================
 * PROFILLINK
 * ===================================================
 */

.tb-member-profile-link {
	display: inline-block;

	color: #d9a52d;

	font-weight: 700;
	letter-spacing: 0.2px;
}

.tb-member-card:hover .tb-member-profile-link {
	color: #ffffff;
}

/**
 * ===================================================
 * TABLET
 * ===================================================
 */

@media (max-width: 1100px) {

	.tb-member-list {
		grid-template-columns: 1fr;
	}

}

/**
 * ===================================================
 * MOBIL
 * ===================================================
 */

@media (max-width: 650px) {

	.page-box .tb-member-card {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.tb-member-avatar {
		max-width: 300px;
		margin: 0 auto;
	}

	.tb-member-statuses {
		gap: 12px 24px;
	}

}

/**
 * ===================================================
 * SPIELER-EINZELANSICHT / PLAYERSHEET
 * ===================================================
 */

.tb-player-sheet {
	padding: 48px;
}

.tb-player-sheet-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0;
}

/**
 * LINKE SEITE
 */

.tb-player-profile {
	padding-right: 40px;
}

.tb-player-name {
	margin: 0 0 28px;
	color: #d9a52d;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
}

.tb-player-sheet-image {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	width: 100%;
	max-width: 280px;
	aspect-ratio: 5 / 7;
	overflow: hidden;
	margin: 0 auto 30px;

	border: 1px dashed rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.025);
}

.tb-player-avatar-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.tb-player-sheet-image span {
	color: #ffffff;
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
}

.tb-player-sheet-image small {
	margin-top: 10px;
	color: #888888;
	font-size: 16px;
}

/**
 * MITGLIEDSDATEN
 */

.tb-player-meta {
	margin-top: 10px;
}

.tb-player-meta p {
	display: grid;
	grid-template-columns: 1fr 160px;
	align-items: center;
	gap: 20px;

	margin: 0;
	padding: 16px 0;

	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tb-player-meta strong {
	color: #d9a52d;
	font-size: 18px;
}

.tb-player-meta span {
	display: inline-flex;
	align-items: center;
	color: #ffffff;
	font-size: 18px;
}

/**
 * RECHTE SEITE / WOT
 */

.tb-player-wot {
	padding-left: 40px;
	border-left: 1px solid rgba(217, 165, 45, 0.35);
}

.tb-player-wot h2 {
	margin: 0 0 8px;
	color: #d9a52d;
	font-size: 32px;
	font-weight: 700;
	text-transform: uppercase;
}

.tb-player-wot-subtitle {
	margin: 0 0 30px;
	color: #888888;
	font-size: 18px;
}

/**
 * STATISTIKEN
 */

.tb-player-stats {
	margin: 0;
}

.tb-player-stats > div {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 30px;

	padding: 20px 0;

	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tb-player-stats dt {
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
}

.tb-player-stats dd {
	margin: 0;
	color: #ffffff;
	font-size: 18px;
	text-align: right;
}

/**
 * ZURÜCK
 */

.tb-player-back {
	display: inline-block;
	margin-top: 35px;

	color: #d9a52d;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.tb-player-back:hover {
	color: #ffffff;
}

/**
 * TABLET
 */

@media (max-width: 900px) {

	.tb-player-sheet {
		padding: 32px;
	}

	.tb-player-sheet-grid {
		grid-template-columns: 1fr;
	}

	.tb-player-profile {
		padding-right: 0;
	}

	.tb-player-wot {
		margin-top: 40px;
		padding-top: 40px;
		padding-left: 0;

		border-top: 1px solid rgba(217, 165, 45, 0.35);
		border-left: 0;
	}

}

/**
 * MOBIL
 */

@media (max-width: 600px) {

	.tb-player-sheet {
		padding: 22px;
	}

	.tb-player-name {
		font-size: 28px;
	}

	.tb-player-sheet-image {
		max-width: 300px;
	}

	.tb-player-meta p,
	.tb-player-stats > div {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.tb-player-stats dd {
		text-align: left;
	}

}
