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

From WikiMSK
No edit summary
No edit summary
Line 9: Line 9:


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



Revision as of 18:33, 3 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: block;
}

@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: 1200px) {
  .grid-container { 
  	display: grid;
	grid-gap:20px;
	grid-template-areas:
	'header header '
	'intro skeleton'
	'portals skeleton'
	'news skeleton'
	'join join'
	'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;
}