MediaWiki:Mobile.css: Difference between revisions

From Delft Solutions
Jump to navigation Jump to search
(Probably make the site work on mobile)
(Fix double close)
 
(2 intermediate revisions by the same user not shown)
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;
}
#left-navigation {
margin-left: 0;
margin-top: 0;
}
#p-personal ul {
padding-left: 0;
}
}



Latest revision as of 15:31, 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;
}