Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must be logged in to make edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
m (1 revision imported: MITHC Import)
 
(No difference)

Latest revision as of 17:54, 9 October 2026

/* CSS placed here will be applied to all skins */
#ca-talk { display: none !important; }
#ca-nstab-main { display:none!important; }
.wikitable td {
    text-align: left;
    background-color: #2a2a2a !important;
    border-color: #D28A0D !important;
}

:root {
	--prn-cyan: #00c6d7;
	--prn-cyan-soft: rgba(0, 198, 215, 0.18);
	--prn-cyan-border: rgba(0, 198, 215, 0.38);

	--prn-red: #d51d29;

	--prn-dark: #07131f;
	--prn-shadow: rgba(0, 0, 0, 0.28);
}

.prn-home-header {
	position: relative;
	padding: 3.5rem 1rem 3rem;
	text-align: center;
}

.prn-home-header__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}

.prn-home-header__logo img,
.prn-home-header__logo .mw-file-element {
	display: block;
	width: auto;
	height: 110px;
	object-fit: contain;
}

.prn-home-header__title {
	margin: 0 !important;
	padding: 0 !important;

	border: 0 !important;

	color: var(--color-emphasized, #eaecf0);

	font-size: clamp(2.5rem, 5vw, 4.6rem);
	font-weight: 700;
	line-height: 0.95;

	letter-spacing: 0.015em;
	text-transform: uppercase;
}

.prn-home-header__search {
	display: flex;
	align-items: center;
	justify-content: center;

	gap: 0.75rem;

	width: calc(100% - 2rem);
	max-width: 600px;
	min-height: 3.6rem;

	box-sizing: border-box;

	padding: 0 1.25rem;
	margin: 2rem auto 0;

	border: 1px solid var(--prn-cyan-border);
	border-radius: 999px;

	background:
		var(--color-surface-1, #101418);

	color: var(--color-emphasized, #eaecf0);

	box-shadow:
		0 0 5px rgba(0, 198, 215, 0.15),
		0 0 20px rgba(0, 198, 215, 0.04);

	cursor: pointer;

	font-size: 0.9rem;
	font-weight: 600;

	transition:
		border-color 180ms ease,
		background-color 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease;
}

.prn-home-header__search:hover,
.prn-home-header__search:focus {
	border-color: rgba(0, 198, 215, 0.8);

	background:
		var(--color-surface-2, #161c22);

	box-shadow:
		0 0 7px rgba(0, 198, 215, 0.3),
		0 0 24px rgba(0, 198, 215, 0.12);

	transform: translateY(-1px);

	outline: none;
}

.prn-home-header__search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	font-size: 1.1rem;
	line-height: 1;

	opacity: 0.8;
}

.prn-home-header__shortcut {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 1.55rem;
	height: 1.55rem;

	margin-left: 0.1rem;

	border: 1px solid var(--border-color-base, #30363d);
	border-radius: 6px;

	background:
		var(--color-surface-0, #0d1117);

	color:
		var(--color-subtle, #a2a9b1);

	font-family: monospace;
	font-size: 0.8rem;
	font-weight: 500;

	opacity: 0.85;
}

.prn-section {
	margin-top: 2.75rem;
}

.prn-section-title {
	display: flex;
	align-items: center;

	gap: 0.8rem;

	margin: 0 0 1.1rem;

	color:
		var(--color-emphasized, #eaecf0);

	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
}

.prn-section-title::after {
	content: "";

	flex: 1;

	height: 1px;

	background:
		linear-gradient(
			to right,
			rgba(0, 198, 215, 0.55),
			rgba(0, 198, 215, 0)
		);
}

.prn-card-grid {
	display: grid;

	grid-template-columns:
		repeat(auto-fit, minmax(240px, 1fr));

	gap: 0.8rem;
}

.prn-card {
	position: relative;

	height: 105px;

	border: 1px solid
		var(--border-color-base, #30363d);

	border-radius:
		var(--border-radius-medium, 10px);

	background:
		var(--color-surface-1, #101418);

	overflow: hidden;

	box-shadow:
		0 4px 12px rgba(0, 0, 0, 0.08);

	transition:
		transform 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease;
}

.prn-card:hover {
	transform: translateY(-2px);

	border-color:
		rgba(0, 198, 215, 0.65);

	box-shadow:
		0 8px 26px rgba(0, 0, 0, 0.22),
		0 0 18px rgba(0, 198, 215, 0.06);
}

.prn-card__image {
	position: absolute;
	inset: 0;
}

.prn-card__image .mw-file-element,
.prn-card__image img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	opacity: 0.58;

	transform: scale(1.01);

	transition:
		transform 250ms ease,
		opacity 250ms ease;
}

.prn-card:hover .prn-card__image .mw-file-element,
.prn-card:hover .prn-card__image img {
	transform: scale(1.06);
	opacity: 0.72;
}

.prn-card__shade {
	position: absolute;
	inset: 0;

	background:
		linear-gradient(
			90deg,
			rgba(5, 10, 16, 0.98) 0%,
			rgba(5, 10, 16, 0.84) 35%,
			rgba(5, 10, 16, 0.52) 68%,
			rgba(5, 10, 16, 0.18) 100%
		);

	pointer-events: none;
}

.prn-card__content {
	position: relative;
	z-index: 2;

	display: flex;
	flex-direction: column;
	justify-content: center;

	height: 100%;

	box-sizing: border-box;

	padding: 0 1.3rem;

	pointer-events: none;
}

.prn-card__title {
	color: #fff;

	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
}

.prn-card__title a {
	color: #fff !important;
	text-decoration: none !important;

	pointer-events: auto;
}

.prn-card__title a::after {
	content: "";

	position: absolute;
	inset: 0;

	z-index: 5;
}

.prn-card__description {
	margin-top: 0.25rem;

	color: rgba(255, 255, 255, 0.7);

	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.25;
}

.prn-card--feature {
	height: 135px;
}

.prn-card--feature .prn-card__title {
	font-size: 1.15rem;
}

.prn-card--feature .prn-card__description {
	font-size: 0.82rem;
}

.prn-emblem-grid {
	display: grid;

	grid-template-columns:
		repeat(auto-fit, minmax(175px, 1fr));

	gap: 0.9rem;
}

.prn-emblem {
	position: relative;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	min-height: 180px;

	box-sizing: border-box;

	padding: 1.25rem 1rem 1rem;

	text-align: center;

	border: 1px solid
		var(--border-color-base, #30363d);

	border-radius:
		var(--border-radius-medium, 10px);

	background:
		var(--color-surface-1, #101418);

	overflow: hidden;

	transition:
		transform 180ms ease,
		border-color 180ms ease,
		background-color 180ms ease,
		box-shadow 180ms ease;
}

.prn-emblem:hover {
	transform: translateY(-2px);

	border-color:
		rgba(0, 198, 215, 0.6);

	background:
		var(--color-surface-2, #161c22);

	box-shadow:
		0 8px 24px rgba(0, 0, 0, 0.18),
		0 0 16px rgba(0, 198, 215, 0.05);
}

.prn-emblem img,
.prn-emblem .mw-file-element {
	display: block;

	width: auto;
	max-width: 100%;
	height: 115px;

	object-fit: contain;

	transition:
		transform 220ms ease,
		filter 220ms ease;
}

.prn-emblem:hover img,
.prn-emblem:hover .mw-file-element {
	transform: scale(1.04);
}

.prn-emblem__title {
	margin-top: 0.85rem;

	color:
		var(--color-emphasized, #eaecf0);

	font-size: 0.92rem;
	font-weight: 650;
	line-height: 1.25;
}

.prn-emblem__title a {
	color:
		var(--color-emphasized, #eaecf0) !important;

	text-decoration: none !important;
}

.prn-emblem__title a:hover {
	color: var(--prn-cyan) !important;
}

.prn-page-intro {
	margin: 0 0 1.5rem;

	padding: 1.1rem 1.3rem;

	border-left:
		4px solid var(--prn-cyan);

	border-radius:
		0 var(--border-radius-medium, 10px)
		var(--border-radius-medium, 10px) 0;

	background:
		var(--color-surface-1, #101418);

	line-height: 1.55;
}

.prn-notice {
	padding: 1rem 1.25rem;

	margin: 1rem 0 1.5rem;

	border:
		1px solid var(--prn-cyan-border);

	border-radius:
		var(--border-radius-medium, 10px);

	background:
		rgba(0, 198, 215, 0.045);

	line-height: 1.5;
}

.prn-notice--warning {
	border-color:
		rgba(213, 29, 41, 0.45);

	background:
		rgba(213, 29, 41, 0.06);
}

.prn-rule-shortcuts {
	display: grid;

	grid-template-columns:
		repeat(auto-fit, minmax(180px, 1fr));

	gap: 0.55rem;

	margin: 1rem 0 2rem;
}

.prn-rule-shortcuts a {
	display: block;

	box-sizing: border-box;

	padding: 0.7rem 0.95rem;

	border:
		1px solid
		var(--border-color-base, #30363d);

	border-radius:
		var(--border-radius-small, 7px);

	background:
		var(--color-surface-1, #101418);

	color:
		var(--color-emphasized, #eaecf0) !important;

	text-decoration: none !important;

	font-size: 0.9rem;
	font-weight: 600;

	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		transform 160ms ease;
}

.prn-rule-shortcuts a:hover {
	border-color:
		rgba(0, 198, 215, 0.55);

	background:
		var(--color-surface-2, #161c22);

	transform: translateY(-1px);
}

.prn-panel {
	padding: 1.25rem;

	margin: 1rem 0;

	border:
		1px solid
		var(--border-color-base, #30363d);

	border-radius:
		var(--border-radius-medium, 10px);

	background:
		var(--color-surface-1, #101418);
}

.prn-panel > :first-child {
	margin-top: 0;
}

.prn-panel > :last-child {
	margin-bottom: 0;
}

.prn-columns {
	display: grid;

	grid-template-columns:
		minmax(0, 2fr)
		minmax(260px, 1fr);

	gap: 1.25rem;

	align-items: start;
}

.prn-side-panel {
	padding: 1rem;

	border:
		1px solid
		var(--border-color-base, #30363d);

	border-radius:
		var(--border-radius-medium, 10px);

	background:
		var(--color-surface-1, #101418);
}

.prn-side-panel__image {
	text-align: center;
	margin-bottom: 1rem;
}

.prn-side-panel__image img,
.prn-side-panel__image .mw-file-element {
	max-width: 100%;
	height: auto;
}

.prn-eyebrow {
	margin-bottom: 0.35rem;

	color:
		var(--prn-cyan);

	font-size: 0.72rem;
	font-weight: 700;

	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.prn-muted {
	color:
		var(--color-subtle, #a2a9b1);
}

.prn-home {
	width: 100%;
	max-width: 1040px;

	margin: 0 auto;

	box-sizing: border-box;
}

@media (max-width: 900px) {

	.prn-columns {
		grid-template-columns: 1fr;
	}

}


@media (max-width: 700px) {

	.prn-home-header {
		padding:
			2.5rem 0.5rem
			2.25rem;
	}

	.prn-home-header__logo img,
	.prn-home-header__logo .mw-file-element {
		height: 90px;
	}

	.prn-home-header__title {
		font-size:
			clamp(2rem, 10vw, 3rem);
	}

	.prn-home-header__search {
		width: 100%;
		margin-top: 1.5rem;
	}

	.prn-card-grid {
		grid-template-columns: 1fr;
	}

	.prn-card {
		height: 100px;
	}

	.prn-card--feature {
		height: 120px;
	}

	.prn-emblem-grid {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));
	}

	.prn-emblem {
		min-height: 165px;
		padding:
			1rem 0.6rem
			0.85rem;
	}

	.prn-emblem img,
	.prn-emblem .mw-file-element {
		height: 95px;
	}

	.prn-section {
		margin-top: 2.2rem;
	}

	.prn-section-title {
		font-size: 1.2rem;
	}

}


@media (max-width: 430px) {

	.prn-home-header {
		padding-top: 2rem;
	}

	.prn-home-header__logo img,
	.prn-home-header__logo .mw-file-element {
		height: 78px;
	}

	.prn-home-header__title {
		font-size: 2rem;
	}

	.prn-home-header__shortcut {
		display: none;
	}

	.prn-home-header__search {
		min-height: 3.3rem;
		padding: 0 0.9rem;

		font-size: 0.83rem;
	}

	.prn-emblem-grid {
		grid-template-columns: 1fr 1fr;
	}

	.prn-emblem {
		min-height: 150px;
	}

	.prn-emblem img,
	.prn-emblem .mw-file-element {
		height: 82px;
	}

	.prn-emblem__title {
		font-size: 0.8rem;
	}

}