Template:NewsArticle.css

Template page
Revision as of 15:39, 15 April 2024 by Couchor (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.news__grid {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.related__news__container {
	display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
}

.related__news__container h3, .news__grid > div > p {
	margin-top: 0;
}

.related__news {
	display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.related__article {
	position: relative;
}

.related__article img {
	max-width: 100%;
	height: auto;
}

@media only screen and ( min-width: 699px ) {
	.news__grid {
		display: grid;
		grid-template-columns: 2.3fr 1fr;
	}
}