User:Ondo/vector-2022.css: Difference between revisions

    From Nonbinary Wiki
    No edit summary
    No edit summary
    Line 16: Line 16:
    .main-page-grid {
    .main-page-grid {
       display: grid;
       display: grid;
       grid-template-columns: repeat(auto-fit);
       grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
       grid-template-rows: auto auto auto;
       grid-template-rows: auto auto auto;
       grid-template-areas:
       grid-template-areas:

    Revision as of 19:28, 23 May 2018

    .main-page-header {
    	grid-area: header;
    }
    .main-page-about {
    	grid-area: about;
    }
    .main-page-whatsnonbinary {
    	grid-area: whatsnonbinary;
    }
    .main-page-getinvolved {
    	grid-area: getinvolved;
    }
    .main-page-featuredarticle {
    	grid-area: featuredarticle;
    }
    .main-page-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      grid-template-rows: auto auto auto;
      grid-template-areas:
        'header header'
        'about whatsnonbinary'
        'getinvolved featuredarticle';
      grid-gap: 10px;
    }