lungo.base.styl 1.7 KB

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