MediaWiki:Common.css: Difference between revisions

    From LHDB
    No edit summary
    Tag: Reverted
    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;
    }
    }


    .gallery ul {
    .gallery {
    margin: 0 !important;
    margin: 0 !important;
    }
    }


    .mw-parser-output>.gallery {
    .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;
      }
    }
     
    .fullwidth-banner {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
     
    .invisible {
    position: absolute;
      left: -9999px;
    }
    }

    Latest revision as of 16:14, 7 July 2025

    /* 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;
      }
    }
    
    .fullwidth-banner {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .invisible {
    	position: absolute;
      left: -9999px;
    }