MediaWiki:Common.css: Difference between revisions
Abhishek.it (talk | contribs) No edit summary Tags: Mobile edit Mobile web edit |
Abhishek.it (talk | contribs) No edit summary |
||
| (11 intermediate revisions by the same user not shown) | |||
| Line 585: | Line 585: | ||
.page-Main_Page .catlinks { | .page-Main_Page .catlinks { | ||
display: none; | display: none; | ||
} | |||
.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; | |||
} | |||
@media (min-width: 992px) { | |||
.ab-col-md-for-5 { | |||
flex: 0 0 20%; | |||
max-width: 20%; | |||
} | |||
} | |||
.ab-row.ab-justify-content-between { | |||
justify-content : space-between !important; | |||
} | |||
.ab-row.ab-justify-content-center { | |||
justify-content : center !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; | |||
} | |||
@media screen and (max-width:767px){ | |||
.ab-no-home .ab-col-md-for-5.ab-portal-box pre b{ | |||
display:flex; | |||
height:70px; | |||
font-size:12px; | |||
} | |||
.ab-no-home .ab-col-md-for-5.ab-portal-box pre img{ | |||
width : 80% !important; | |||
} | |||
.ab-no-home .ab-col-md-for-5.ab-portal-box pre{ | |||
align-items:end; | |||
} | |||
.ab-no-home .ab-col-md-for-5.ab-portal-box{ | |||
min-height:50px !important; | |||
margin-bottom:10px; | |||
padding:8px !important; | |||
} | |||
.ab-no-home .ab-col-md-for-5.ab-portal-box pre span{ | |||
align-items:center !important; | |||
} | |||
} | } | ||