variables.less 990 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // Variables for common colours and things
  2. // Note that this does not affect screen-desktop.css and IEFixes files; update those separately.
  3. @import 'mediawiki.mixins';
  4. @background: #f9f9f9; // don't change this; matches headbg images
  5. @content-background: #fff;
  6. @content-border: #aaa;
  7. @orange-border: #fabd23;
  8. @text-color: #000;
  9. @text-grey: #707070;
  10. @link: #002bb8;
  11. @link-visited: #5a3696;
  12. @link-new: #c20;
  13. // mobile objects
  14. @top-position: 5px;
  15. @block-size: 35px;
  16. .menu-button() {
  17. display: block;
  18. width: @block-size;
  19. height: @block-size;
  20. background: @content-background;
  21. border: solid 1px @orange-border;
  22. box-sizing: border-box;
  23. background-position: 50% 50%;
  24. background-repeat: no-repeat;
  25. z-index: 4;
  26. }
  27. // To hide objects, but keep them accessible for screen-readers
  28. .hidden() {
  29. position: absolute;
  30. top: -9999px;
  31. left: 0;
  32. }
  33. // The mobile icon cactions tabs
  34. .icon-tab() {
  35. text-indent: -99999px;
  36. background-position: 50% 50%;
  37. background-repeat: no-repeat;
  38. width: 1em;
  39. }