Relax navbox hack
Per discussion in T172078 let's relax these rules so navbox shows up in the desktop mode of the site. Note: this will not impact the mobile site as navboxes are stripped from the HTML. Bug: T172078 Change-Id: I59d229d75dbcb790eb75dc4b838b2afafd2f3980
This commit is contained in:
parent
9a6770ee18
commit
7e7e532bfb
|
@ -17,6 +17,11 @@ FIXME: Review all of these hacks to see if they still apply.
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
.vertical-navbox,
|
||||||
|
.navbox {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
// Hide cleanup templates by default to non-javascript users as these stop them from reading the article itself
|
// Hide cleanup templates by default to non-javascript users as these stop them from reading the article itself
|
||||||
// Talk page informational boxes
|
// Talk page informational boxes
|
||||||
.tmbox,
|
.tmbox,
|
||||||
|
@ -24,7 +29,7 @@ FIXME: Review all of these hacks to see if they still apply.
|
||||||
.ambox,
|
.ambox,
|
||||||
#coordinates,
|
#coordinates,
|
||||||
// Hide article badges, clean-up notices, stub notices, and navigation boxes
|
// Hide article badges, clean-up notices, stub notices, and navigation boxes
|
||||||
.navbox, .vertical-navbox, .topicon, .metadata {
|
.topicon, .metadata {
|
||||||
// It's important as some of these are tables which become display: table on larger screens
|
// It's important as some of these are tables which become display: table on larger screens
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
@ -112,6 +117,16 @@ FIXME: Review all of these hacks to see if they still apply.
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media all and ( min-width: @deviceWidthTablet ) {
|
||||||
|
// When in the HTML these should be revealed at tablet resolution (T172078)
|
||||||
|
.content {
|
||||||
|
.vertical-navbox,
|
||||||
|
.navbox {
|
||||||
|
display: inherit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Hacks to render galleries and multicol tables better on mobile
|
// Hacks to render galleries and multicol tables better on mobile
|
||||||
@media all and ( max-width: @deviceWidthTablet ) {
|
@media all and ( max-width: @deviceWidthTablet ) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue