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

Template:InfoGridCards/styles.css: Difference between revisions

Template page
Content deleted Content added
SmashT (talk | contribs)
m header color
SmashT (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 35: Line 35:


.card__header {
.card__header {
font-family: 'Saira Extra Condensed','Nunito','Saira',system-ui,-apple-system,sans-serif;
font-family: 'Barlow,sans-serif',system-ui,-apple-system;
text-transform: uppercase;
text-transform: uppercase;
font-weight: bold;
font-weight: bold;
color: #f1aa1c;
color: #f1aa1c;
font-size: 30px;
font-size: 28px;
line-height: 1;
line-height: 1;
margin-bottom: 10px;
margin-bottom: 10px;
Line 47: Line 47:
color: #f1aa1c;
color: #f1aa1c;
}
}

a.new { color: #f1aa1c;
}

a.new:visited { color: #f1aa1c;
}



.card--col2 {
.card--col2 {

Latest revision as of 09:49, 16 May 2025

.info-grid {
	display: grid;
	grid: auto-flow dense/repeat( auto-fit, minmax( 10.2rem, 1fr ) );
	grid-auto-rows: minmax( 3rem, auto );
	grid-gap: var( --space-xs );
	margin-top: 15px;
}

.card {
	position: relative;
	border-radius: 6px;
	background: linear-gradient(to bottom, #101214, #0c0e10);
	padding: var(--space-lg);
}

.card__label {
	color: var( --color-base--subtle );
	font-size: 16px;
}

.card__text {
	margin-top: 15px;
}

.card__image img {
	width: 100% !important;
	height: auto !important;
	border-radius: 6px;
}

.card__video video {
	width: 100% !important;
	height: auto !important;
}

.card__header {
	font-family: 'Barlow,sans-serif',system-ui,-apple-system;
	text-transform: uppercase;
	font-weight: bold;
	color: #f1aa1c;
	font-size: 28px;
	line-height: 1;
	margin-bottom: 10px;
}

.card__header a {
		color: #f1aa1c;
}

a.new { color: #f1aa1c;
}

a.new:visited { color: #f1aa1c;
}


.card--col2 {
	grid-column: span 2;
}

.card--col3 {
	grid-column: span 3;
}

.card--row2 {
	grid-row: span 2;
}

.card--row6 {
	grid-row: span 6;
}


.card--row4 {
	grid-row: span 4;
}

.card--row3 {
	grid-row: span 3;
}

.card--row8 {
	grid-row: span 8/auto;
}

.card--text {
	margin-top: 0px;
	padding: 15px;
}

.card--centeralign {
	text-align: center;
}

.max-width-540 {
	max-width: 540px;
}

.max-width-355 {
	max-width: 355px;
}

@media only screen and (max-width: 768px) {
  .info-grid {
	grid-template-columns: 1fr;
  }
  .max-width-355 {
	max-width: 100%;
  }
}