MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(24 intermediate revisions by 2 users not shown)
Line 449: Line 449:
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   justify-content:space-between;
   justify-content:center;
}
}


Line 528: Line 528:
.start-col div:first-child {
.start-col div:first-child {
padding-inline-end : 30px;
padding-inline-end : 30px;
}
.ab-w-100{
width : 100%;
}
}
.w-100-img img{
.w-100-img img{
Line 534: Line 537:
}
}


.ab-col-3.ab-portal-box pre{
.ab-col-3.ab-portal-box,.ab-col-md-3.ab-portal-box {
     background:white;  
    min-height:200px !important;
    margin-bottom:30px;
}
.ab-col-3.ab-portal-box pre,.ab-col-md-3.ab-portal-box pre{
    background:transparent;
    border : 0px;
}
 
.ab-col-3.ab-portal-box pre,.ab-col-md-3.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-portal-box{
  padding:15px;
  box-sizing:border-box;
}
 
.ab-col-3.ab-portal-box pre img,.ab-col-md-3.ab-portal-box pre img{
  width : 100%;
  height:auto;
  max-width:135px;
}
 
.ab-col-3.ab-portal-box pre span,.ab-col-md-3.ab-portal-box pre span {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}
 
.ab-latest-articles ul{
display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
}
 
.page-Main_Page .catlinks {
    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;
     border : 0px;
}
}


.ab-col-3.ab-portal-box pre{
.ab-col-3.ab-portal-box pre,.ab-col-md-2.ab-portal-box pre{
     display:flex;
     display:flex;
     flex-direction:column;
     flex-direction:column;
Line 545: Line 654:
     justify-content:space-between;
     justify-content:space-between;
     text-align:center;   
     text-align:center;   
 
    height:100%;
    font-family : sans-serif;
    padding:0px;
    margin:0px;
    gap:20px;
}
}


.ab-col-3.ab-portal-box pre b{
 
    margin-top:30px;
 
.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 img{
.ab-col-3.ab-portal-box pre span,.ab-col-md-2.ab-portal-box pre span {
width : 100%;
    display: flex;
height:auto;
    justify-content: center;
max-width:150px;
    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-3.ab-portal-box pre span {
.ab-col-md-for-5.ab-portal-box pre span {
     display: flex;
     display: flex;
     justify-content: center;
     justify-content: center;
     align-items: center;
     align-items: center;
     flex-grow: 1;
     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;
}
}
}