MediaWiki:Common.css: Difference between revisions

    From LHDB
    No edit summary
    No edit summary
    (39 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 */
    .res-img img {
    .res-img img {
    max-width:100vw;
    max-width:100%;
    height:auto;
    height:auto;
    }
    }


    .mw-content-ltr .mw-parser-output>ul, .mw-content-rtl .mw-parser-output>ul .gallery{
    .gallery {
    margin: 0 !important;
    margin: 0 !important;
    }
    }


    .mw-content-ltr ul, .mw-content-rtl .mw-content-ltr .gallery ul {
    .thumbinner {
    margin: 0 !important;
    width:300px !important;
    height:300px !important;
    }
     
    .nav-mobile {
    /*display:none;*/
    }
     
    .page-Main_Page > main > #contentwrapper > .row > #maincontentwrapper > main > #content > #bodyContent > #mw-content-text > div > p:nth-child(1) {
    display:none;
    }
     
    .page-Main_Page > main > #contentwrapper > .row > #maincontentwrapper {
        padding-top: 15px !important;
    }
     
    .page-Main_Page_english_version > main > #contentwrapper > .row > #maincontentwrapper > main > #content > #bodyContent > #mw-content-text > div > p:nth-child(1) {
    display:none;
    }
     
    .page-Main_Page_english_version > main > #contentwrapper > .row > #maincontentwrapper {
        padding-top: 15px !important;
    }
     
    @media (max-width: 991.98px) { /*"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;
      }
    }
    }

    Revision as of 11:57, 7 November 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;*/
    }
    
    .page-Main_Page > main > #contentwrapper > .row > #maincontentwrapper > main > #content > #bodyContent > #mw-content-text > div > p:nth-child(1) {
    	display:none;
    }
    
    .page-Main_Page > main > #contentwrapper > .row > #maincontentwrapper {
         padding-top: 15px !important; 
    }
    
    .page-Main_Page_english_version > main > #contentwrapper > .row > #maincontentwrapper > main > #content > #bodyContent > #mw-content-text > div > p:nth-child(1) {
    	display:none;
    }
    
    .page-Main_Page_english_version > main > #contentwrapper > .row > #maincontentwrapper {
         padding-top: 15px !important; 
    }
    
    @media (max-width: 991.98px) { /*"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;
      }
    }