MediaWiki:Common.css: Difference between revisions
Abhishek.it (talk | contribs) No edit summary |
Abhishek.it (talk | contribs) No edit summary |
||
| Line 622: | Line 622: | ||
align-items: center; | align-items: center; | ||
flex-grow: 1; | flex-grow: 1; | ||
} | |||
@media (min-width: 992px) { | |||
.ab-col-md-for-5 { | |||
flex: 0 0 20%; | |||
max-width: 20%; | |||
} | |||
} | } | ||
.ab-row.ab-justify-content-between { | .ab-row.ab-justify-content-between { | ||
justify-content : space-between !important; | justify-content : space-between !important; | ||
} | |||
.ab-col-3.ab-portal-box,.ab-col-md-2.ab-portal-box { | |||
min-height:200px !important; | |||
margin-bottom:30px; | |||
} | |||
.ab-col-3.ab-portal-box pre,.ab-col-md-2.ab-portal-box pre{ | |||
background:transparent; | |||
border : 0px; | |||
} | |||
.ab-col-3.ab-portal-box pre,.ab-col-md-2.ab-portal-box pre{ | |||
display:flex; | |||
flex-direction:column; | |||
align-items:center; | |||
justify-content:space-between; | |||
text-align:center; | |||
height:100%; | |||
font-family : sans-serif; | |||
padding:0px; | |||
margin:0px; | |||
gap:20px; | |||
} | |||
.ab-col-3.ab-portal-box pre img,.ab-col-md-2.ab-portal-box pre img{ | |||
width : 100%; | |||
height:auto; | |||
max-width:135px; | |||
} | |||
.ab-col-3.ab-portal-box pre span,.ab-col-md-2.ab-portal-box pre span { | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
flex-grow: 1; | |||
} | |||
/**/ | |||
.ab-col-md-for-5.ab-portal-box { | |||
min-height:200px !important; | |||
margin-bottom:30px; | |||
} | |||
.ab-col-md-for-5.ab-portal-box pre{ | |||
background:transparent; | |||
border : 0px; | |||
} | |||
.ab-col-md-for-5.ab-portal-box pre{ | |||
display:flex; | |||
flex-direction:column; | |||
align-items:center; | |||
justify-content:space-between; | |||
text-align:center; | |||
height:100%; | |||
font-family : sans-serif; | |||
padding:0px; | |||
margin:0px; | |||
gap:20px; | |||
} | |||
.ab-col-md-for-5.ab-portal-box pre img{ | |||
width : 100%; | |||
height:auto; | |||
max-width:135px; | |||
} | |||
.ab-col-md-for-5.ab-portal-box pre span { | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
flex-grow: 1; | |||
} | } | ||