2015-06-25 00:21:28 +00:00
|
|
|
/*
|
|
|
|
The styles below essentially place the navigation menu below the content,
|
|
|
|
instead of to the side of it. They also hide the logo, as there's no space
|
|
|
|
left for it.
|
|
|
|
*/
|
2019-10-25 20:46:51 +00:00
|
|
|
@import 'mediawiki.ui/variables.less';
|
2015-06-25 00:21:28 +00:00
|
|
|
|
2018-08-09 16:57:33 +00:00
|
|
|
@media screen and ( max-width: @width-breakpoint-tablet ) {
|
2018-05-23 08:55:15 +00:00
|
|
|
#mw-head {
|
2016-12-12 04:39:14 +00:00
|
|
|
position: static !important; /* stylelint-disable-line declaration-no-important */
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
2015-06-25 00:21:28 +00:00
|
|
|
|
2016-12-12 04:39:14 +00:00
|
|
|
/* Move the panel to the bottom and display it as in-line lists */
|
2019-06-18 02:05:04 +00:00
|
|
|
#mw-navigation {
|
|
|
|
#mw-panel {
|
2016-12-12 04:39:14 +00:00
|
|
|
display: table;
|
|
|
|
position: static;
|
|
|
|
table-layout: fixed;
|
2015-06-25 00:21:28 +00:00
|
|
|
width: 100%;
|
2016-12-12 04:39:14 +00:00
|
|
|
overflow: hidden;
|
|
|
|
font-size: 150%;
|
|
|
|
|
|
|
|
.portal {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2015-06-25 00:21:28 +00:00
|
|
|
|
2016-12-12 04:39:14 +00:00
|
|
|
ul li {
|
|
|
|
list-style: none;
|
|
|
|
}
|
2015-06-25 00:21:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-12 04:39:14 +00:00
|
|
|
/* Hide the logo and tabs */
|
2019-06-18 02:05:04 +00:00
|
|
|
#p-logo {
|
2016-12-12 04:39:14 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2015-06-25 00:21:28 +00:00
|
|
|
|
2016-12-12 04:39:14 +00:00
|
|
|
/* Rearrange various page elements to fill the now-available space */
|
2020-04-23 22:16:28 +00:00
|
|
|
body #footer, /* FIXME: Remove 2 weeks after deployment. */
|
|
|
|
body .mw-footer {
|
2016-12-12 04:39:14 +00:00
|
|
|
margin-left: 0;
|
|
|
|
padding-top: 0;
|
2015-06-25 00:21:28 +00:00
|
|
|
|
2016-12-12 04:39:14 +00:00
|
|
|
/* don't need these in the footer either... */
|
2018-03-17 20:11:37 +00:00
|
|
|
#footer-info-lastmod,
|
|
|
|
#footer-info-viewcount {
|
2016-12-12 04:39:14 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2015-06-25 00:21:28 +00:00
|
|
|
}
|
2018-12-02 22:40:28 +00:00
|
|
|
|
2019-06-18 02:05:04 +00:00
|
|
|
#p-personal {
|
2016-12-12 04:39:14 +00:00
|
|
|
display: table;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
top: inherit;
|
|
|
|
left: inherit;
|
|
|
|
right: inherit;
|
2015-06-25 00:21:28 +00:00
|
|
|
|
2016-12-12 04:39:14 +00:00
|
|
|
ul {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-12-02 22:40:28 +00:00
|
|
|
|
2019-06-18 02:05:04 +00:00
|
|
|
#right-navigation {
|
2019-10-23 21:54:45 +00:00
|
|
|
// float: none; Override not needed with `position: absolute` above.
|
2016-12-12 04:39:14 +00:00
|
|
|
position: absolute;
|
|
|
|
top: inherit;
|
|
|
|
right: 0;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2018-12-02 22:40:28 +00:00
|
|
|
|
2019-06-18 02:05:04 +00:00
|
|
|
#left-navigation {
|
2019-10-23 21:54:45 +00:00
|
|
|
// float: none; Override not needed with `position: absolute` above.
|
2016-12-12 04:39:14 +00:00
|
|
|
position: absolute;
|
|
|
|
top: inherit;
|
|
|
|
margin: 0;
|
|
|
|
display: block;
|
|
|
|
}
|
2018-12-02 22:40:28 +00:00
|
|
|
|
2019-06-18 02:05:04 +00:00
|
|
|
#p-namespaces,
|
|
|
|
#p-views,
|
|
|
|
#p-variants {
|
2016-12-12 04:39:14 +00:00
|
|
|
position: relative;
|
|
|
|
top: 2.5em;
|
|
|
|
}
|
2018-12-02 22:40:28 +00:00
|
|
|
|
2019-06-18 02:05:04 +00:00
|
|
|
#p-namespaces {
|
2015-06-25 00:21:28 +00:00
|
|
|
padding-left: 0;
|
|
|
|
}
|
2018-12-02 22:40:28 +00:00
|
|
|
|
2019-06-18 02:05:04 +00:00
|
|
|
#p-cactions {
|
2016-12-12 04:39:14 +00:00
|
|
|
top: 2.5em;
|
|
|
|
float: right;
|
|
|
|
}
|
2018-12-02 22:40:28 +00:00
|
|
|
|
2019-06-18 02:05:04 +00:00
|
|
|
#p-search {
|
2019-10-23 21:54:45 +00:00
|
|
|
// float: none; Override not needed with `position: absolute` above.
|
2016-12-12 04:39:14 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
width: 100vw;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-12-02 22:40:28 +00:00
|
|
|
|
2019-06-18 02:05:04 +00:00
|
|
|
#simpleSearch {
|
2016-12-12 04:39:14 +00:00
|
|
|
margin: 0 3em;
|
|
|
|
width: 80vw;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2018-12-02 22:40:28 +00:00
|
|
|
|
2018-05-23 08:55:15 +00:00
|
|
|
.vectorMenu .menu {
|
2016-12-12 04:39:14 +00:00
|
|
|
left: inherit;
|
|
|
|
right: -1px;
|
|
|
|
}
|
2018-12-02 22:40:28 +00:00
|
|
|
|
2019-06-18 02:05:04 +00:00
|
|
|
.mw-body {
|
2016-12-12 04:39:14 +00:00
|
|
|
/* Hide the 1px blue border on the left side */
|
|
|
|
border-left: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2019-06-20 17:55:55 +00:00
|
|
|
|
|
|
|
#mw-data-after-content {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2015-11-22 14:22:18 +00:00
|
|
|
}
|