MediaWiki:Common.css: Difference between revisions

    From LHDB
    No edit summary
    No edit summary
    Line 18: Line 18:
    }
    }


    #mw-content-text > div > p {
    #mw-content-text > div > p:nth-child(1) {
    display:none;
    display:none;
    }
    }

    Revision as of 22:02, 31 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;
    }
    
    #mw-content-text > div > p:nth-child(1) {
    	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;
      }
    }