mediawiki-skins-MinervaNeue/resources
Bartosz Dziewoński 50fc799b07 Fix various problems with print styles
These styles have drifted away from the HTML structure since they were
written in 2017.

General:
* Add some comments
* Replace complicated selectors with simple class selectors

styles.less:
* Hide section edit links (previously we relied on MobileFrontend
  styles, which one handled some cases - removing them in I9a88b80c2a)
* Show print footer, hide Minerva footer

header.less:
* Remove FIXME (resolved in c323c6858a).
* Fix hiding the search box. In 0bee6a1eb6 a <form> for the search box
  was added to the header, and these styles (using tag selectors) were
  not updated. Use class selectors instead.
* Remove styles for <h1>. The element was changed to <a> in
  a905b1c161, styles to override font-size etc. are no longer needed.
* Consolidate 'padding' rules and remove unneeded !important.

article.less:
* Replace the `[ class|='mw-content' ]` selector, which was not
  matching anything. It would match elements with `class="mw-content"`
  or `class="mw-content-…"`, but the node we're trying to style has
  `class="mw-body-content mw-content-ltr"` (since 7cda5b0bf8 in
  MediaWiki core). Use a class selector instead.
* Replace the `.mw-body > .content` selector too. While this one
  works, it is also needlessly complicated.

footer.less:
* Fix and simplify how last-modified info and license text is unhidden
  (while other parts of the footer remain hidden).
* Remove styles for .license. Unused since 1f2b7dff15, use the desktop
  footer added in that commit instead.
* Use the desktop footer for last-modified info, since it's more
  suitable for "archiving" (it has a date rather than time ago).

Bug: T323636
Change-Id: I21ef26355e3e6dd8b0c34ae933b7f5b0b222655c
2023-01-03 21:57:11 +00:00
..
mediawiki.less mediawiki.skin.variables: Add border-style and border-width vars 2022-09-23 01:39:30 -07:00
skins.minerva.amc.styles Remove deprecated vendor prefixes and their mixins 2022-05-23 23:18:43 +00:00
skins.minerva.base.styles Fix various problems with print styles 2023-01-03 21:57:11 +00:00
skins.minerva.content.styles.images icons: Update to latest 'search' icon and remove obsolete code 2021-03-09 08:21:23 +00:00
skins.minerva.icons.page.issues.default.color build: Upgrade 'svgo' to latest and re-crush SVGs 2021-04-20 17:45:18 +00:00
skins.minerva.icons.page.issues.medium.color build: Upgrade 'svgo' to latest and re-crush SVGs 2021-04-20 17:45:18 +00:00
skins.minerva.icons.page.issues.uncolored build: Update 'svgo' to latest v2.8.0 & re-crush images 2022-02-28 00:00:36 +00:00
skins.minerva.loggedin.styles Echo icon should reflect seen status 2022-12-13 16:21:50 -08:00
skins.minerva.mainMenu.styles Remove deprecated vendor prefixes and their mixins 2022-05-23 23:18:43 +00:00
skins.minerva.mainPage.styles FIXME cleanup 2022-04-06 20:17:22 +00:00
skins.minerva.scripts Disable auto-capitalization hint on search field of wikis with $wgCapitalLinks = false 2022-11-16 16:58:15 -08:00
skins.minerva.talk.styles Cleanup: Use .position-sticky() mixin from core 2022-08-16 07:51:03 +00:00
skins.minerva.userpage.styles Remove the mw-ui-icon hacks and overrides 2019-09-10 10:53:20 -07:00
.eslintrc.js build: Update linters and linter config 2022-05-18 14:33:23 +01:00
mobile.startup.stub.js Make MobileFrontend dependency a soft one 2020-01-17 14:02:23 -08:00