global.less 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // Reset default browser styles
  2. html,
  3. body,
  4. ul,
  5. ol,
  6. li,
  7. dl,
  8. dt,
  9. dd,
  10. h1,
  11. h2,
  12. h3,
  13. h4,
  14. h5,
  15. h6,
  16. pre,
  17. code,
  18. form,
  19. fieldset,
  20. legend,
  21. input,
  22. textarea,
  23. p,
  24. blockquote,
  25. th,
  26. td,
  27. hr,
  28. button {
  29. margin: 0;
  30. padding: 0;
  31. font-size: 100%;
  32. font-family: inherit;
  33. vertical-align: baseline;
  34. border: 0 none;
  35. color: inherit;
  36. background: transparent;
  37. box-sizing: border-box;
  38. -webkit-font-smoothing: antialiased;
  39. -moz-osx-font-smoothing: grayscale;
  40. }
  41. // Remove list styles on ul, ol
  42. ul,
  43. ol {
  44. list-style: none;
  45. }
  46. // Remove link styles
  47. a {
  48. text-decoration: none;
  49. color: inherit;
  50. }
  51. // Remove table border
  52. table {
  53. border-collapse: collapse;
  54. border-spacing: 0;
  55. }
  56. // Remove input styling for IE
  57. input[type='text'],
  58. input[type='password'],
  59. input[type='number'],
  60. textarea {
  61. appearance: none;
  62. -webkit-appearance: none;
  63. -moz-appearance: none;
  64. border-radius: 0;
  65. }
  66. // Remove button styling for IE
  67. button,
  68. input[type='submit'],
  69. input[type='reset'] {
  70. appearance: none;
  71. -webkit-appearance: none;
  72. -moz-appearance: none;
  73. border: 0 none;
  74. background: none;
  75. padding: 0;
  76. cursor: pointer;
  77. }
  78. // Remove outline on focus
  79. *:focus {
  80. outline: none;
  81. }