Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. # media-feature-name-case
  2. Specify lowercase or uppercase for media feature names.
  3. <!-- prettier-ignore -->
  4. ```css
  5. @media (min-width: 700px) {}
  6. /** ↑
  7. * This media feature name */
  8. ```
  9. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
  10. ## Options
  11. `string`: `"lower"|"upper"`
  12. ### `"lower"`
  13. The following patterns are considered violations:
  14. <!-- prettier-ignore -->
  15. ```css
  16. @media (MIN-WIDTH: 700px) {}
  17. ```
  18. <!-- prettier-ignore -->
  19. ```css
  20. @media not all and (MONOCHROME) {}
  21. ```
  22. <!-- prettier-ignore -->
  23. ```css
  24. @media (min-width: 700px) and (ORIENTATION: landscape) {}
  25. ```
  26. <!-- prettier-ignore -->
  27. ```css
  28. @media (WIDTH > 10em) {}
  29. ```
  30. The following patterns are _not_ considered violations:
  31. <!-- prettier-ignore -->
  32. ```css
  33. @media (min-width: 700px) {}
  34. ```
  35. <!-- prettier-ignore -->
  36. ```css
  37. @media not all and (monochrome) {}
  38. ```
  39. <!-- prettier-ignore -->
  40. ```css
  41. @media (min-width: 700px) and (orientation: landscape) {}
  42. ```
  43. <!-- prettier-ignore -->
  44. ```css
  45. @media (width > 10em) {}
  46. ```
  47. ### `"upper"`
  48. The following patterns are considered violations:
  49. <!-- prettier-ignore -->
  50. ```css
  51. @media (min-width: 700px) {}
  52. ```
  53. <!-- prettier-ignore -->
  54. ```css
  55. @media not all and (monochrome) {}
  56. ```
  57. <!-- prettier-ignore -->
  58. ```css
  59. @media (MIN-WIDTH: 700px) and (orientation: landscape) {}
  60. ```
  61. <!-- prettier-ignore -->
  62. ```css
  63. @media (10em < width <= 50em) {}
  64. ```
  65. The following patterns are _not_ considered violations:
  66. <!-- prettier-ignore -->
  67. ```css
  68. @media (MIN-WIDTH: 700px) {}
  69. ```
  70. <!-- prettier-ignore -->
  71. ```css
  72. @media not all and (MONOCHROME) {}
  73. ```
  74. <!-- prettier-ignore -->
  75. ```css
  76. @media (MIN-WIDTH: 700px) and (ORIENTATION: landscape) {}
  77. ```
  78. <!-- prettier-ignore -->
  79. ```css
  80. @media (10em < WIDTH <= 50em) {}
  81. ```