MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Logo */
.vector-header-start .mw-logo {
min-width:10rem !important;
}
.vector-header-start .mw-logo img {
width: 10rem !important;
height: auto !important;
}
.vector-header-start .mw-logo span {
display:none !important;
}


/* InfoBox */
/* InfoBox */
Line 33: Line 45:
.main-page-layout {
.main-page-layout {
display: flex;
display: flex;
flex-direction: row; /* default for larger screens */
    flex-direction: row;
gap: 20px;
gap: 4px;
}
}


@media screen and (max-width: 767px) {
.main-page-column {
.main-page-layout {
display:flex;
flex-direction: column;
flex-direction: column;
}
gap:4px;
}
 
.image-flex-basis {
flex-basis:150px;
}
 
@media screen and (max-width: 767px){
    .main-page-layout{
      flex-direction:column;
  }
 
    .image-flex-basis {
  flex-basis:350px;
  }
}
}