You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_aui_reset.scss 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. /* Fonts and line heights */
  2. /**
  3. * RESET
  4. */
  5. html,
  6. body,
  7. p,
  8. div,
  9. h1,
  10. h2,
  11. h3,
  12. h4,
  13. h5,
  14. h6,
  15. img,
  16. pre,
  17. form,
  18. fieldset {
  19. margin: 0;
  20. padding: 0;
  21. }
  22. ul,
  23. ol,
  24. dl {
  25. margin: 0;
  26. }
  27. img,
  28. fieldset {
  29. border: 0;
  30. }
  31. @-moz-document url-prefix() {
  32. img {
  33. font-size: 0;
  34. }
  35. img:-moz-broken {
  36. font-size: inherit;
  37. }
  38. }
  39. /* https://github.com/necolas/normalize.css */
  40. /* Customised to remove styles for unsupported browsers */
  41. details,
  42. main,
  43. summary {
  44. display: block;
  45. }
  46. audio,
  47. canvas,
  48. progress,
  49. video {
  50. display: inline-block;
  51. vertical-align: baseline;
  52. }
  53. audio:not([controls]) {
  54. display: none;
  55. height: 0;
  56. }
  57. [hidden],
  58. template {
  59. display: none;
  60. }
  61. input[type="button"],
  62. input[type="submit"],
  63. input[type="reset"] {
  64. -webkit-appearance: button;
  65. }
  66. /**
  67. * TYPOGRAPHY - 14px base font size, agnostic font stack
  68. */
  69. body {
  70. color: #333;
  71. font-family: Arial, sans-serif;
  72. font-size: 14px;
  73. line-height: 1.42857142857143;
  74. }
  75. /* International Font Stacks*/
  76. [lang|=en] {
  77. font-family: Arial, sans-serif;
  78. }
  79. [lang|=ja] {
  80. font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "MS Pゴシック", Verdana, Arial, sans-serif;
  81. }
  82. /* Default margins */
  83. p,
  84. ul,
  85. ol,
  86. dl,
  87. h1,
  88. h2,
  89. h3,
  90. h4,
  91. h5,
  92. h6,
  93. blockquote,
  94. pre {
  95. margin: 10px 0 0 0;
  96. }
  97. /* No top margin to interfere with box padding */
  98. p:first-child,
  99. ul:first-child,
  100. ol:first-child,
  101. dl:first-child,
  102. h1:first-child,
  103. h2:first-child,
  104. h3:first-child,
  105. h4:first-child,
  106. h5:first-child,
  107. h6:first-child,
  108. blockquote:first-child,
  109. pre:first-child {
  110. margin-top: 0;
  111. }
  112. /* Headings: desired line height in px / font size = unitless line height */
  113. h1 {
  114. color: #333;
  115. font-size: 32px;
  116. font-weight: normal;
  117. line-height: 1.25;
  118. text-transform: none;
  119. margin: 30px 0 0 0;
  120. }
  121. h2 {
  122. color: #333;
  123. font-size: 24px;
  124. font-weight: normal;
  125. line-height: 1.25;
  126. text-transform: none;
  127. margin: 30px 0 0 0;
  128. }
  129. h3 {
  130. color: #333;
  131. font-size: 20px;
  132. font-weight: normal;
  133. line-height: 1.5;
  134. text-transform: none;
  135. margin: 30px 0 0 0;
  136. }
  137. h4 {
  138. font-size: 16px;
  139. font-weight: bold;
  140. line-height: 1.25;
  141. text-transform: none;
  142. margin: 20px 0 0 0;
  143. }
  144. h5 {
  145. color: #333;
  146. font-size: 14px;
  147. font-weight: bold;
  148. line-height: 1.42857143;
  149. text-transform: none;
  150. margin: 20px 0 0 0;
  151. }
  152. h6 {
  153. color: #707070;
  154. font-size: 12px;
  155. font-weight: bold;
  156. line-height: 1.66666667;
  157. text-transform: uppercase;
  158. margin: 20px 0 0 0;
  159. }
  160. h1:first-child,
  161. h2:first-child,
  162. h3:first-child,
  163. h4:first-child,
  164. h5:first-child,
  165. h6:first-child {
  166. margin-top: 0;
  167. }
  168. /* Nice styles for using subheadings */
  169. h1 + h2,
  170. h2 + h3,
  171. h3 + h4,
  172. h4 + h5,
  173. h5 + h6 {
  174. margin-top: 10px;
  175. }
  176. /* Other typographical elements */
  177. small {
  178. color: #707070;
  179. font-size: 12px;
  180. line-height: 1.33333333333333;
  181. }
  182. code,
  183. kbd {
  184. font-family: monospace;
  185. }
  186. var,
  187. address,
  188. dfn,
  189. cite {
  190. font-style: italic;
  191. }
  192. cite:before {
  193. content: "\2014 \2009";
  194. }
  195. blockquote {
  196. border-left: 1px solid #ccc;
  197. color: #707070;
  198. margin-left: 19px;
  199. padding: 10px 20px;
  200. }
  201. blockquote > cite {
  202. display: block;
  203. margin-top: 10px;
  204. }
  205. q {
  206. color: #707070;
  207. }
  208. q:before {
  209. content: open-quote;
  210. }
  211. q:after {
  212. content: close-quote;
  213. }
  214. abbr {
  215. border-bottom: 1px #707070 dotted;
  216. cursor: help;
  217. }
  218. a {
  219. color: #3572b0;
  220. text-decoration: none;
  221. }
  222. a:focus,
  223. a:hover,
  224. a:active {
  225. text-decoration: underline;
  226. }