MediaWiki:Common.css: Difference between revisions

    From LHDB
    No edit summary
    No edit summary
    Line 24: Line 24:
    /*/html/body/main/div[3]/div/div/main/div/div[2]/div[4]/div/p[1]*/
    /*/html/body/main/div[3]/div/div/main/div/div[2]/div[4]/div/p[1]*/


    .page-Main_Page > main > #contentwrapper > .row > .with-navbar.with-navbar-fixed #maincontentwrapper {
    .page-Main_Page > main > #contentwrapper > .row > #maincontentwrapper {
         padding-top: 15px !important;  
         padding-top: 15px !important;  
    }
    }

    Revision as of 12:12, 5 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;
    }
    
    /*/html/body/main/div[3]/div/div/main/div/div[2]/div[4]/div/p[1]*/
    
    .page-Main_Page > main > #contentwrapper > .row > #maincontentwrapper {
         padding-top: 15px !important; 
    }
    
    @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;
      }
    }