Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:FloatingUI/styles.css

From the Star Citizen Wiki, the fidelity™ encyclopedia
.t-floatingui {
	max-width: 50ch;
	/* Needed when this is a span element */
	display: block;
}

/* 
 * Sync with InfoboxNeue styles
 * TODO: Refactor InfoboxNeue and FloatingUI styles into the same design system
 */
.t-floatingui-section {
	display: grid;
	gap: 2px var(--space-xs);
	grid-auto-rows: max-content;
}

.t-floatingui-section--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.t-floatingui-section--cols-2 .t-floatingui-data {
    text-align: end;
}

.t-floatingui-section + .t-floatingui-section {
	margin-top: var(--space-xs);
	padding-top: var(--space-xs);
	border-top: 1px solid var(--border-color-base);
}

.t-floatingui-data {
	font-weight: var(--font-weight-medium);
}

.t-floatingui-label {
	letter-spacing: 0.05em;
}

.t-floatingui-desc,
.t-floatingui-label {
	color: var(--color-subtle);
	font-size: var(--font-size-x-small);
}