MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 449: Line 449:
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   justify-content:space-between;
   justify-content:center;
}
}


Line 537: Line 537:
}
}


.ab-col-3.ab-portal-box pre{
.ab-col-3.ab-portal-box,.ab-col-md-3.ab-portal-box {
    min-height:200px !important;
    margin-bottom:30px;
}
.ab-col-3.ab-portal-box pre,.ab-col-md-3.ab-portal-box pre{
     background:transparent;  
     background:transparent;  
     border : 0px;
     border : 0px;
}
}


.ab-col-3.ab-portal-box pre{
.ab-col-3.ab-portal-box pre,.ab-col-md-3.ab-portal-box pre{
     display:flex;
     display:flex;
     flex-direction:column;
     flex-direction:column;
Line 550: Line 554:
     height:100%;
     height:100%;
     font-family : sans-serif;
     font-family : sans-serif;
 
    padding:0px;
    margin:0px;
    gap:20px;
}
}


.ab-portal-box{
  padding:15px;
  box-sizing:border-box;
}


.ab-col-3.ab-portal-box pre img{
.ab-col-3.ab-portal-box pre img,.ab-col-md-3.ab-portal-box pre img{
width : 100%;
  width : 100%;
height:auto;
  height:auto;
max-width:150px;
  max-width:135px;
}
}


.ab-col-3.ab-portal-box pre span {
.ab-col-3.ab-portal-box pre span,.ab-col-md-3.ab-portal-box pre span {
     display: flex;
     display: flex;
     justify-content: center;
     justify-content: center;
Line 576: 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;
}
}
}