Template:NewsArticle.css: Difference between revisions

Template page
(Couchor changed the content model of the page Template:NewsArticle.css from "wikitext" to "Sanitized CSS")
Tag: content model change
mNo edit summary
 
Line 1: Line 1:
.news__grid {
.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;
}
}
}

Latest revision as of 15:39, 15 April 2024

.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;
	}
}