Template:GuidePage/Stylez.css: Difference between revisions

From pronounmail wiki
Jump to navigation Jump to search
why would you ever do it like that
No edit summary
 
(One intermediate revision by the same user not shown)
Line 37: Line 37:
margin: auto;
margin: auto;
max-width: 48rem;
max-width: 48rem;
border: 1px solid color-mix(in srgb, var(--colour-theme-900), transparent 90%);
outline: 1px solid color-mix(in srgb, var(--colour-theme-900), transparent 90%);
border-top: 8px solid var(--colour-theme-600);
font-family: var(--font-text);
font-family: var(--font-text);
}
}

Latest revision as of 21:19, 16 May 2026

*, *::before, *::after {
	box-sizing: border-box;
}

#firstHeading {
	display: none;
}
:root {
	--content-border: color-mix(in srgb, var(--colour-theme-800), white 80%);
	--font-text: 'Nunito', sans-serif;
}
#content {
	background-color: var(--colour-theme-50) !important;
	border-color: var(--content-border);
}

.vector-menu-tabs-legacy .selected {
	background: linear-gradient(to top, var(--colour-theme-50) 0, #fff 100%);

}
.vector-menu-tabs-legacy li {
	background-image: linear-gradient(to top, var(--content-border) 0, var(--colour-theme-100) 1px, #fff 100%);
}

.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
	background-image: linear-gradient(to bottom, transparent 0, var(--content-border) 100%);
}

.vector-menu-tabs-legacy li a {
	color: var(--colour-theme-600);
}

.guide {
	background-color: white;
	padding: 1rem;
	border-radius: 8px;
	margin: auto;
	max-width: 48rem;
	outline: 1px solid color-mix(in srgb, var(--colour-theme-900), transparent 90%);
	border-top: 8px solid var(--colour-theme-600);
	font-family: var(--font-text);
}

.guide-header {
	color: var(--colour-grey-900);
	font-family: var(--font-text);
}

.guide-header h1 {
	all: unset;
	
	display: block;

	font-weight: 1000;
	font-size: clamp(2rem, 6vw, 3.5rem);
	line-height: 1.25;
	margin-top: .5rem;
	margin-bottom: 1rem;
	
	color: var(--colour-theme-600);
}

.guide-header p {
	grid-column: 1 / -1;
	background-color: var(--colour-theme-600);
	color: white;
	text-transform: uppercase;
	padding: .25rem .5rem;
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: 5%;
	margin: 0;
}

.guide-header p a {
	color: inherit;
	font-weight: inherit;
}

.guide-main {
	font-family: var(--font-text);
	color: var(--colour-grey-900);
}

.guide-main .mw-heading {
	border-bottom: none 0 transparent;
}

.guide-main h2 {
	font-family: var(--font-text);
	border: none;
	font-weight: 800;
}

.guide-main h2 .mw-headline {
	font-weight: 800;
}

p.lede {
	font-size: 1.15rem;
	font-weight: 450;
	color: var(--colour-grey-800);
	text-wrap: balance;
}