lungo.base.styl 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo
  5. * @class Base
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. a,
  10. abbr,
  11. address,
  12. article,
  13. aside,
  14. audio,
  15. b,
  16. blockquote,
  17. body,
  18. caption,
  19. cite,
  20. code,
  21. dd,
  22. del,
  23. dfn,
  24. dialog,
  25. div,
  26. dl,
  27. dt,
  28. em,
  29. fieldset,
  30. figure,
  31. footer,
  32. form,
  33. h1,
  34. h2,
  35. h3,
  36. h4,
  37. h5,
  38. h6,
  39. header,
  40. hgroup,
  41. hr,
  42. html,
  43. i,
  44. iframe,
  45. img,
  46. ins,
  47. kbd,
  48. label,
  49. legend,
  50. li,
  51. mark,
  52. menu,
  53. nav,
  54. object,
  55. ol,
  56. p,
  57. pre,
  58. q,
  59. samp,
  60. section,
  61. small,
  62. span,
  63. strong,
  64. sub,
  65. sup,
  66. table,
  67. tbody,
  68. td,
  69. tfoot,
  70. th,
  71. thead,
  72. time,
  73. tr,
  74. ul,
  75. var,
  76. video
  77. border: 0
  78. margin: 0
  79. outline: 0
  80. padding: 0
  81. font-size: 100%
  82. font-weight: normal
  83. article, aside, details, figcaption, figure, footer, header, hgroup, nav, section
  84. display: block
  85. audio, canvas, video display: inline-block *display: inline *zoom: 1
  86. audio:not([controls]) display: none
  87. [hidden] display: none
  88. html
  89. width: 100%
  90. height: 100%
  91. font-size: 100%
  92. -webkit-text-size-adjust: 100%
  93. -ms-text-size-adjust: 100%
  94. body
  95. margin: 0
  96. padding: 0
  97. width: 100%
  98. height: 100%
  99. overflow-y: visible !important
  100. // @TODO: Why??
  101. // -webkit-user-select: none
  102. // -webkit-touch-callout: none
  103. // -webkit-box-orient: vertical
  104. // -webkit-box-align: stretch
  105. // -webkit-tap-highlight-color: rgba(0,0,0,0)
  106. display-box()
  107. & *
  108. box-sizing(border-box)
  109. margin: 0
  110. padding: 0
  111. // -webkit-user-select: none
  112. // -webkit-tap-highlight-color: rgba(255, 255, 255, 0)
  113. a
  114. text-decoration: none
  115. -webkit-tap-highlight-color: rgba(0,0,0,0)
  116. &:hover
  117. opacity: 1
  118. img
  119. border: 0
  120. -ms-interpolation-mode: bicubic
  121. vertical-align: middle
  122. font-size: 0
  123. // strong
  124. // font-weight: bold
  125. table
  126. border-collapse: collapse
  127. border-spacing: 0
  128. th, td, caption
  129. vertical-align: top
  130. text-align: left
  131. @media="all"
  132. ::-webkit-scrollbar
  133. width: 1px
  134. height: 1px