The editors' meeting has been canceled for technical reasons.

MediaWiki:Vector.css: Difference between revisions

From Center of NeuroWiki
Jump to navigation Jump to search
Created page with "→‎All CSS here will be loaded for users of the Vector skin: →‎Ensure the content is responsive: body { margin: 0; padding: 0; } #content { width: auto; margin: 0 1em; } →‎Navigation bar adjustments: #p-personal ul, #p-navigation ul, #p-tb ul { display: flex; flex-wrap: wrap; justify-content: space-around; } →‎Adjust the sidebar for mobile screens: @media screen and (max-width: 600px) { #mw-panel { display: none; /* H..."
 
Tag: Replaced
 
(One intermediate revision by the same user not shown)
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 */
/* Ensure the content is responsive */
body {
    margin: 0;
    padding: 0;
}
#content {
    width: auto;
    margin: 0 1em;
}
/* Navigation bar adjustments */
#p-personal ul,
#p-navigation ul,
#p-tb ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
/* Adjust the sidebar for mobile screens */
@media screen and (max-width: 600px) {
    #mw-panel {
        display: none; /* Hide sidebar on small screens */
    }
    #content {
        margin: 0;
        padding: 0 10px;
    }
   
    #p-cactions {
        display: none; /* Hide actions like edit/view history on small screens */
    }
   
    .mw-body {
        padding: 0;
    }
}

Latest revision as of 20:47, 25 October 2024

/* All CSS here will be loaded for users of the Vector skin */