MediaWiki:Common.css: Difference between revisions

    From LHDB
    No edit summary
    No edit summary
    Line 30: Line 30:
       }
       }
       #navbar {
       #navbar {
    padding-top: 10px;
    padding-top: 1rem !important;
       }
       }
    }
    }

    Revision as of 12:58, 21 October 2024

    /* CSS placed here will be applied to all skins */
    .res-img img {
    	max-width:100%;
    	height:auto;
    }
    
    .gallery {
    	margin: 0 !important;
    }
    
    .thumbinner {
    	width:300px !important;
    	height:300px !important;
    }
    
    .nav-mobile {
    	display:none;
    }
    
    @media (max-width: 576px) { /*"xxx" the width of window*/
      .thumbinner  {
        width:100% !important;
      }
      .navbar-brand {
      	display: none;
      }
      .nav-mobile {
      	color: rgba(0, 0, 0, .5);
      	display:inline-block;
      }
      #navbar {
    	padding-top: 1rem !important;
      }
    }