MediaWiki:Mobile.css: Difference between revisions

From Delft Solutions
Jump to navigation Jump to search
(Stop floating all the things)
(Remove indentation for menu)
Line 23: Line 23:


#left-navigation, #right-navigation, .vector-menu-tabs-legacy, .vector-search-box {
#left-navigation, #right-navigation, .vector-menu-tabs-legacy, .vector-search-box {
float: none;
    float: none;
}
 
#left-navigation {
margin-left: 0;
margin-top: 0;
}
 
#p-personal ul {
padding-left: 0;
}
}
}



Revision as of 15:30, 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;
}

#left-navigation {
	margin-left: 0;
	margin-top: 0;
}

#p-personal ul {
	padding-left: 0;
}
}

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