MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:


/* Responsive main page frames */
/* Responsive main page frames */
.mp-frame {  
.mp-frames {
   width:32%;  
   display: grid;
   float:left;
   grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  min-width:240px;
   gap: 1rem;
  padding:.3em;
}
 
@media only screen and (max-width: 950px) {
  .mp-frame {
    width:48%;
   }
}
 
@media only screen and (max-width: 710px) {
  .mp-frame {
    width:98%;
  }
}
}


Line 387: Line 374:
   width:109px;
   width:109px;
   height:20px;
   height:20px;
  vertical-align:middle;
}
}


#shield-python310 {
#shield-python310 {
   background-image:url("https://img.shields.io/badge/Python-3.10%2B-3776AB?logo=python&logoColor=white");
   background-image:url("https://img.shields.io/badge/Python-3.10%2B-3776AB?logo=python&logoColor=white");
  width:109px;
}
}