MediaWiki:Mobile.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→All CSS here will be loaded for users of the mobile site: #mw-head, #mw-panel { display: none; } #footer, #content { margin-left: 0; }") |
(Fix double close) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the mobile site */ | /* All CSS here will be loaded for users of the mobile site */ | ||
#mw-head, # | 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; | |||
} | } | ||
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;
}