reset.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /* Fixed missing 'import nib' stylesheet reset and extra li bullet points
  2. * https://github.com/wekan/wekan/issues/4512#issuecomment-1129347536
  3. * https://github.com/stylus/nib/blob/master/lib/nib/reset.styl
  4. */
  5. a, abbr, acronym, address, applet, big, blockquote, body, caption, cite,
  6. code, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4, h5,
  7. h6, html, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre,
  8. q, s, samp, small, span, strike, strong, sub, sup,
  9. table, tbody, td, tfoot, th, thread, tr, tt, ul, var {
  10. margin: 0;
  11. padding: 0;
  12. outline: 0;
  13. font-weight: inherit;
  14. font-style: inherit;
  15. font-family: inherit;
  16. font-size: 100%;
  17. vertical-align: baseline;
  18. }
  19. ol, ul {
  20. list-style: none;
  21. }
  22. a img {
  23. border: none;
  24. }
  25. /* reset body */
  26. body {
  27. line-height: 1;
  28. color: black;
  29. background: white;
  30. }
  31. /* reset table cell */
  32. table {
  33. border-collapse: separate;
  34. border-spacing: 0;
  35. vertical-align: middle;
  36. }
  37. caption, td, th {
  38. text-align: left;
  39. font-weight: normal;
  40. vertical-align: middle;
  41. }
  42. /* reset html5 */
  43. article, aside, canvas, details, figcaption,
  44. figure, footer, header, hgroup, menu, nav,
  45. section, summary, main {
  46. display: block;
  47. }
  48. audio, canvas, video {
  49. display inline-block;
  50. *display inline;
  51. *zoom 1;
  52. }
  53. audio:not([controls]),[hidden] {
  54. display: none;
  55. }