common.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. :root {
  2. --fontColor: #515151;
  3. --mainWidth: 1000px;
  4. --mainColor: #0093fd;
  5. --linkColor: #308EFF;
  6. font-size: 14px;
  7. }
  8. html, body, div, span, applet, object, iframe,
  9. blockquote, pre, abbr, acronym, address, big, cite, code,
  10. del, dfn, em, img, ins, kbd, q, s, samp,
  11. small, strike, strong, sub, sup, tt, var,
  12. b, u, i, center,
  13. dl, dt, dd, ol, ul, li,
  14. fieldset, form, label, legend,
  15. table, caption, tbody, tfoot, thead, tr, th, td,
  16. article, aside, canvas, details, embed,
  17. figure, figcaption, footer, header, hgroup,
  18. menu, nav, output, ruby, section, summary,
  19. time, mark, audio, video {
  20. margin: 0;
  21. padding: 0;
  22. border: 0;
  23. font-size: 100%;
  24. font: inherit;
  25. vertical-align: baseline;
  26. }
  27. /* HTML5 display-role reset for older browsers */
  28. article, aside, details, figcaption, figure,
  29. footer, header, hgroup, menu, nav, section {
  30. display: block;
  31. }
  32. a {
  33. color: var(--linkColor);
  34. text-decoration: none;
  35. }
  36. body {
  37. line-height: 1;
  38. background: #F4F5F9;
  39. }
  40. ol, ul {
  41. list-style: none;
  42. }
  43. blockquote, q {
  44. quotes: none;
  45. }
  46. blockquote:before, blockquote:after,
  47. q:before, q:after {
  48. content: '';
  49. content: none;
  50. }
  51. table {
  52. border-collapse: collapse;
  53. border-spacing: 0;
  54. }
  55. input {
  56. outline: none;
  57. border: 0;
  58. }
  59. button {
  60. border: 0;
  61. padding: 0;
  62. margin: 0;
  63. background: transparent;
  64. outline: none;
  65. cursor: pointer;
  66. }
  67. sub {
  68. font-size: .6em;
  69. }
  70. img {
  71. max-width: 100%;
  72. }