MediaWiki:Common.css: Difference between revisions

    From LHDB
    No edit summary
    No edit summary
    (22 intermediate revisions by the same user not shown)
    Line 14: Line 14:
    }
    }


    @media (max-width: 576px) { /*"xxx" the width of window*/
    .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  {
       .thumbinner  {
         width:100% !important;
         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;
      }
    }