MediaWiki:Vector.css: Difference between revisions

From Ashes of the Singularity - Official Wiki
Jump to navigation Jump to search
(Created page with "→‎All CSS here will be loaded for users of the Vector skin: body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } body.page-Test_Main.action-view h1.firstHeading, body.page-Test_Main.action-submit h1.firstHeading { display: none; } #p-logo { height: 250px; width: 160px; } #p-logo a { height: 250px; width: 160px; } div#mw-panel { padding-top: 2em; } img { max-width: 100%; height: auto; } @media (ma...")
 
No edit summary
 
Line 1: Line 1:
/* All CSS here will be loaded for users of the Vector skin */
/* All CSS here will be loaded for users of the Vector skin */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
@media (max-width: 768px) { /* Adjust 768px to whatever your threshold is */
body.page-Test_Main.action-view h1.firstHeading, body.page-Test_Main.action-submit h1.firstHeading { display: none; }
    #mw-panel {
 
        display: none;
#p-logo { height: 250px; width: 160px; }
    }
 
    #column-content { margin: 0 0 1em 0; }
#p-logo a { height: 250px; width: 160px; }
    #content { margin: 0 0 0 0; }
div#mw-panel { padding-top: 2em; }
    #p-cactions { left: .1em; }
 
    #left-navigation { margin-left: 0; }
img {
  max-width: 100%;
  height: auto;
}
}


@media (max-width: 760px) { /* Adjust as needed */
@media (min-width: 769px) {
  table, tbody, tr, td {
    #home-tab {
    display: block;
        display: none;
     width: 100%;
     }
  }
}
}

Latest revision as of 20:36, 4 January 2024

/* All CSS here will be loaded for users of the Vector skin */
@media (max-width: 768px) { /* Adjust 768px to whatever your threshold is */
    #mw-panel {
        display: none;
    }
    #column-content { margin: 0 0 1em 0; }
    #content { margin: 0 0 0 0; }
    #p-cactions { left: .1em; }
    #left-navigation { margin-left: 0; }
}

@media (min-width: 769px) {
    #home-tab {
        display: none;
    }
}