Jump to content

User:Perryprog/Userpage layout/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Perryprog (talk | contribs) at 19:06, 19 November 2020 (Testing css-grid with TemplateStyles). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
.grid-container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-template-rows: 0.2fr 0.9fr;
	gap: 10px 10px;
	grid-template-areas:
    ". ub1 ub2 ."
    ". news news .";
    justify-items: center;
}

.ub1 { grid-area: ub1; }

.ub2 { grid-area: ub2; /*align-self: center;*/ }

.news {
	grid-area: news;
	/*justify-self: center;*/
}

.news > .vertical-navbox {
	float: none !important; /* Nessessary as we are overriding inline styles */
}