MediaWiki:Mobile.css: Difference between revisions

From Delft Solutions
Jump to navigation Jump to search
(Probably make the site work on mobile)
(Stop floating all the things)
Line 16: Line 16:
     border-bottom: 1px solid black;
     border-bottom: 1px solid black;
     box-shadow: 2px 2px 0 rgba(0, 0, 0, .2);
     box-shadow: 2px 2px 0 rgba(0, 0, 0, .2);
}
#mw-head, #p-personal {
    position: relative;
}
#left-navigation, #right-navigation, .vector-menu-tabs-legacy, .vector-search-box {
float: none;
}
}



Revision as of 15:28, 21 July 2024

/* All CSS here will be loaded for users of the mobile site */

body {
	display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: start;
    padding-top: 70px;
}

#mw-panel {
	position: relative;
    top: 0;
    width: 100%;
    background: beige;
    border-bottom: 1px solid black;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .2);
}

#mw-head, #p-personal {
    position: relative;
}

#left-navigation, #right-navigation, .vector-menu-tabs-legacy, .vector-search-box {
 float: none;
}

#footer, #content {
	margin-left: 0;
}