Print: Hide accessibility jump links and cookie statement
Hide the accessibility jump navigation links when printing Also only show the last modified and copyright footer info and hide all the footer 'places' links by default. Bug: T250232 Bug: T136786 Change-Id: I039b523d009ddb4f5948dff456ef2845a93439fa
This commit is contained in:
parent
c50bc303d8
commit
32b7602e04
2 changed files with 19 additions and 0 deletions
13
resources/print-common.less
Normal file
13
resources/print-common.less
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
.mw-jump-link {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#f-list > li {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#f-list > #copyright,
|
||||||
|
#f-list > #credits,
|
||||||
|
#f-list > #lastmod {
|
||||||
|
display: block;
|
||||||
|
}
|
|
@ -48,6 +48,9 @@
|
||||||
},
|
},
|
||||||
"resources/screen-desktop.css": {
|
"resources/screen-desktop.css": {
|
||||||
"media": "screen"
|
"media": "screen"
|
||||||
|
},
|
||||||
|
"resources/print-common.less": {
|
||||||
|
"media": "print"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -74,6 +77,9 @@
|
||||||
},
|
},
|
||||||
"resources/screen-mobile.less": {
|
"resources/screen-mobile.less": {
|
||||||
"media": "screen and (max-width: 550px)"
|
"media": "screen and (max-width: 550px)"
|
||||||
|
},
|
||||||
|
"resources/print-common.less": {
|
||||||
|
"media": "print"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue