mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles
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
..
content Remove b/c for media typeof 2022-11-30 13:55:32 -05:00
print Fix various problems with print styles 2023-01-03 21:57:11 +00:00
anonTalkMessage.less Do not use the SkinMinervaReplaceNotificationsBadge hook to add Echo 2022-05-27 18:14:47 +00:00
common.less Remove deprecated vendor prefixes and their mixins 2022-05-23 23:18:43 +00:00
footer.less Change footer logo from a heading element to a div 2021-09-27 15:04:55 -06:00
header.less Search icon should be part of search form for grade C browsers 2022-02-22 08:40:55 -08:00
LastModifiedBar.less Remove deprecated vendor prefixes and their mixins 2022-05-23 23:18:43 +00:00
pageactions.less Remove deprecated vendor prefixes and their mixins 2022-05-23 23:18:43 +00:00
reset.less Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
skin.less Refactor Minerva header and overlay headers to use flexbox 2021-11-04 15:50:00 -05:00
ui.less Use standard subtitle markup 2022-12-13 01:32:37 +00:00
userMenu.less Tweak margins/paddings of Echo icons 2022-12-14 04:36:14 +01:00