Anonymous user
MediaWiki:Common.css: Difference between revisions
m
no edit summary
imported>Ttv pedro270707 mNo edit summary |
imported>Ttv pedro270707 mNo edit summary |
||
Line 787: | Line 787: | ||
padding: 5px; | padding: 5px; | ||
padding-top: 40px; | padding-top: 40px; | ||
} | |||
.main-page-blocks { | |||
display: grid; | |||
grid-template-columns: repeat(3, 1fr); | |||
grid-template-rows: repeat(3, 1fr); | |||
gap: 10px; | |||
grid-template-areas: 'a a d' | |||
'b b d' | |||
'c c e'; | |||
} | } | ||
Line 805: | Line 815: | ||
padding-left: 10px; | padding-left: 10px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | |||
@media only screen and (max-width: 900px) { | |||
.main-page-blocks { | |||
grid-template-rows: repeat(3, 1fr); | |||
grid-template-areas: 'a a a' | |||
'b b b' | |||
'c c c' | |||
'd d d' | |||
'e e e'; | |||
} | |||
} | } |