Template:Home grid/styles.css: Difference between revisions

From WikiMSK
No edit summary
No edit summary
Line 64: Line 64:
}
}
#footer-info-credits{
#footer-info-credits{
display:none;
display:none!important;
}
}

Revision as of 18:27, 1 May 2021

.item1 { grid-area: header; }
.item2 { grid-area: skeleton; }
.item3 { grid-area: intro; }
.item4 { grid-area: portals; }
.item5 { grid-area: join; }
.item6 { grid-area: news; }
.item7 { grid-area: featured; }
.item8 { grid-area: whats-new; }

.grid-container { 
  	display: grid;
	grid-gap:20px;
	grid-template-areas:
	'header'
	'intro'
	'portals'
	'skeleton'
	'join'
	'news'
	'featured'
	'whats-new'
}

@media (min-width: 1000px) {
  .grid-container { 
  	display: grid;
	grid-gap:20px;
	grid-template-areas:
	'header header'
	'intro skeleton'
	'portals skeleton'
	'join news'
	'featured whats-new'
  }
}

@media (min-width: 1150px) {
  .grid-container { 
  	display: grid;
	grid-gap:20px;
	grid-template-areas:
	'header header '
	'intro skeleton'
	'portals skeleton'
	'news skeleton'
	'join skeleton'
	'featured whats-new'
  }
}

.thumb{
    border: none!important;
    background: none!important;
}

.gallery.mw-gallery-traditional {
    padding: 0rem!important;
}

.gallery.mw-gallery-traditional {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
#footer-info-credits{
	display:none!important;
}