Module:Sidebar/styles.css: Difference between revisions

opt out with notheme
 
Created page with "{{pp-template}}: TODO: Invert width design to be "mobile first": .sidebar { TODO: Ask if we should have max-width 22em instead: width: 22em; @noflip: float: right; @noflip: clear: right; @noflip: margin: 0.5em 0 1em 1em; background: var(--background-color-neutral-subtle, #f8f9fa); border: 1px solid var(--border-color-base, #a2a9b1); padding: 0.2em; text-align: center; line-height: 1.4em; font-size: 88%; border-collapse: collap..."
Line 26: Line 26:
  * !important on the declaration. So we have to be mean for Minerva users.
  * !important on the declaration. So we have to be mean for Minerva users.
  * Mobile removes the element entirely with `wgMFRemovableClasses` in  
  * Mobile removes the element entirely with `wgMFRemovableClasses` in  
  * https://github.com/wikimedia/operations-mediawiki-config/blob/master/
  * github.com/wikimedia/operations-mediawiki-config/blob/master/
  wmf-config/InitialiseSettings.php#L16992
  wmf-config/InitialiseSettings.php#L16992
  * which is why displaying it categorically with display: table works.
  * which is why displaying it categorically with display: table works.
Line 170: Line 170:
}
}


/* Disable backgrounds via style attribute in night mode Eg.https://phabricator.wikimedia.org/F55243859
/* Disable backgrounds via style attribute in night mode phabricator.wikimedia.org/F55243859
  * https://en.wikipedia.org/w/index.php?title=Laissez-faire
  * en.wikipedia.org/w/index.php?title=Laissez-faire
  */
  */