boilerplate.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. /* Boilerplate */
  2. article,
  3. aside,
  4. details,
  5. figcaption,
  6. figure,
  7. footer,
  8. header,
  9. hgroup,
  10. main,
  11. nav,
  12. section,
  13. summary {
  14. display: block;
  15. }
  16. audio,
  17. canvas,
  18. video {
  19. display: inline-block;
  20. }
  21. audio:not([controls]) {
  22. display: none;
  23. height: 0;
  24. }
  25. [hidden] {
  26. display: none;
  27. }
  28. html {
  29. font-family: sans-serif;
  30. -webkit-text-size-adjust: 100%;
  31. -ms-text-size-adjust: 100%;
  32. }
  33. body {
  34. margin: 0;
  35. }
  36. abbr[title] {
  37. border-bottom: 1px dotted;
  38. }
  39. b,
  40. strong {
  41. font-weight: bold;
  42. }
  43. dfn {
  44. font-style: italic;
  45. }
  46. hr {
  47. -moz-box-sizing: content-box;
  48. box-sizing: content-box;
  49. height: 0;
  50. }
  51. mark {
  52. color: #000;
  53. background: #ff0;
  54. }
  55. code,
  56. kbd,
  57. pre,
  58. samp {
  59. font-family: monospace, serif;
  60. font-size: 1em;
  61. }
  62. pre {
  63. white-space: pre-wrap;
  64. }
  65. q {
  66. quotes: '\201C''\201D''\2018''\2019';
  67. }
  68. small {
  69. font-size: 80%;
  70. }
  71. sub,
  72. sup {
  73. font-size: 75%;
  74. line-height: 0;
  75. position: relative;
  76. vertical-align: baseline;
  77. }
  78. sup {
  79. top: -.5em;
  80. }
  81. sub {
  82. bottom: -.25em;
  83. }
  84. img {
  85. border: 0;
  86. }
  87. svg:not(:root) {
  88. overflow: hidden;
  89. }
  90. figure {
  91. margin: 0;
  92. }
  93. fieldset {
  94. margin: 0 2px;
  95. padding: .35em .625em .75em;
  96. border: 1px solid #c0c0c0;
  97. }
  98. legend {
  99. padding: 0;
  100. border: 0;
  101. }
  102. button {
  103. margin: 0;
  104. }
  105. button,
  106. input,
  107. select,
  108. textarea {
  109. font-family: inherit;
  110. font-size: 100%;
  111. }
  112. button,
  113. input {
  114. line-height: normal;
  115. }
  116. button,
  117. select {
  118. text-transform: none;
  119. }
  120. button,
  121. html input[type='button'],
  122. input[type='reset'],
  123. input[type='submit'] {
  124. cursor: pointer;
  125. -webkit-appearance: button;
  126. }
  127. button[disabled] {
  128. cursor: default;
  129. }
  130. input[type='checkbox'],
  131. input[type='radio'] {
  132. -webkit-box-sizing: border-box;
  133. -moz-box-sizing: border-box;
  134. box-sizing: border-box;
  135. padding: 0;
  136. }
  137. input[type='search'] {
  138. -webkit-box-sizing: content-box;
  139. -moz-box-sizing: content-box;
  140. box-sizing: content-box;
  141. -webkit-appearance: textfield;
  142. }
  143. input[type='search']::-webkit-search-cancel-button,
  144. input[type='search']::-webkit-search-decoration {
  145. -webkit-appearance: none;
  146. }
  147. button::-moz-focus-inner,
  148. input::-moz-focus-inner {
  149. padding: 0;
  150. border: 0;
  151. }
  152. textarea {
  153. overflow: auto;
  154. vertical-align: top;
  155. }
  156. table {
  157. border-spacing: 0;
  158. border-collapse: collapse;
  159. }
  160. @media print {
  161. * {
  162. color: #000 !important;
  163. background: transparent !important;
  164. box-shadow: none !important;
  165. text-shadow: none !important;
  166. }
  167. a,
  168. a:visited {
  169. text-decoration: underline;
  170. }
  171. a[href]:after {
  172. content: ' (' attr(href)')';
  173. }
  174. abbr[title]:after {
  175. content: ' (' attr(title)')';
  176. }
  177. .ir a:after,
  178. a[href^='javascript:']:after,
  179. a[href^='#']:after {
  180. content: '';
  181. }
  182. pre,
  183. blockquote {
  184. border: 1px solid #999;
  185. page-break-inside: avoid;
  186. }
  187. thead {
  188. display: table-header-group;
  189. }
  190. tr,
  191. img {
  192. page-break-inside: avoid;
  193. }
  194. img {
  195. max-width: 100% !important;
  196. }
  197. @page {
  198. margin: 2cm .5cm;
  199. }
  200. p,
  201. h2,
  202. h3 {
  203. orphans: 3;
  204. widows: 3;
  205. }
  206. h2,
  207. h3 {
  208. page-break-after: avoid;
  209. }
  210. .jGrowl {
  211. display: none;
  212. }
  213. }
  214. small {
  215. font-size: 85%;
  216. }
  217. a {
  218. text-decoration: none;
  219. }
  220. a,
  221. a:visited,
  222. a:focus,
  223. a:active,
  224. *:visited,
  225. *:focus,
  226. *:active {
  227. outline: none;
  228. }
  229. html {
  230. font-size: 62.5%;
  231. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  232. }
  233. *,
  234. *:before,
  235. *:after {
  236. -webkit-box-sizing: border-box;
  237. -moz-box-sizing: border-box;
  238. box-sizing: border-box;
  239. }
  240. .jqstooltip {
  241. box-sizing: content-box;
  242. }