Advertisement
Guest User

Tidy CSS in npp test file

a guest
Apr 2nd, 2018
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. /* @media - indents */
  2.  
  3. @media (max-width:991.98px)
  4. {
  5. .bd-navbar
  6. {
  7. padding-right: .5rem;
  8. padding-left: .5rem;
  9. }
  10. }
  11.  
  12.  
  13. /* @supports - indents */
  14.  
  15. @supports ((position:-webkit-sticky) or (position:sticky))
  16. {
  17. .bd-navbar
  18. {
  19. position: -webkit-sticky;
  20. position: sticky;
  21. top: 0;
  22. z-index: 1071;
  23. }
  24. }
  25.  
  26.  
  27. /* @media + @supports - indentation and faulty inserted semicolon */
  28. @media (min-width:768px)
  29. {
  30. @supports ((position:-webkit-sticky) or (position:sticky))
  31. {
  32. .bd-navbar
  33. {
  34. position: -webkit-sticky;
  35. position: sticky;
  36. top: 0;
  37. z-index: 1071;
  38. }
  39. }
  40. }
  41.  
  42.  
  43. /* url(data) - there should be no linebreak after semicolon */
  44. .nav-bg
  45. {
  46. background-image: url(data:image/png;base64,iVE6JMhCvMPc/ov+3Ox9...lFHILd+UQ55SFXWmo) !important;
  47. }
  48.  
  49.  
  50. /* Comments - should always get their own line */
  51.  
  52. /* comment1 */
  53. .bd-navbar .navbar-nav .nav-link /* comment2 */
  54. {
  55. padding-right: .5rem; /* comment3 */
  56. padding-left: .5rem;/* comment4 */
  57. color: #cbbde2;
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement