error.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. @charset "UTF-8";
  2. /**
  3. * 修改时间:2014-05-30
  4. * 参考: html5doctor.com Reset Stylesheet v1.6.1和YUI 3.5.0和Eric Meyer's Reset CSS v2.0和normalize.css v1.0.0,以及参考tmall等网站
  5. **/
  6. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  7. margin: 0;
  8. padding: 0;
  9. border: 0;
  10. outline: 0;
  11. font-size: 100%;
  12. -webkit-text-size-adjust: 100%;
  13. -ms-text-size-adjust: 100%;
  14. /* vertical-align:baseline; */
  15. background: transparent;
  16. }
  17. body {
  18. line-height: 1;
  19. font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", STHeiti, "Microsoft YaHei";
  20. font-size: 12px/1.5;
  21. word-break: break-all;
  22. word-wrap: break-word;
  23. }
  24. ol, ul {
  25. list-style: none;
  26. }
  27. nav ul {
  28. list-style: none;
  29. }
  30. h1, h2, h3 {
  31. font-weight: normal;
  32. }
  33. blockquote, q {
  34. quotes: none;
  35. }
  36. blockquote:before, blockquote:after, q:before, q:after {
  37. content: '';
  38. content: none;
  39. }
  40. a {
  41. text-decoration: none;
  42. margin: 0;
  43. padding: 0;
  44. font-size: 100%;
  45. vertical-align: baseline;
  46. background: transparent;
  47. }
  48. table {
  49. border-collapse: collapse;
  50. border-spacing: 0;
  51. }
  52. /* 按要求改变边框的颜色 */
  53. hr {
  54. display: block;
  55. height: 1px;
  56. border: 0;
  57. border-top: 1px solid #cccccc;
  58. margin: 1em 0;
  59. padding: 0;
  60. }
  61. button, input, textarea, select {
  62. font-family: inherit;
  63. font-size: inherit;
  64. font-weight: inherit;
  65. vertical-align: baseline;
  66. *vertical-align: middle;
  67. outline: none;
  68. }
  69. pre {
  70. white-space: pre;
  71. white-space: pre-wrap;
  72. word-wrap: break-word;
  73. }
  74. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  75. display: block;
  76. }
  77. audio, canvas, video {
  78. display: inline-block;
  79. *display: inline;
  80. *zoom: 1;
  81. }
  82. audio:not([controls]) {
  83. display: none;
  84. height: 0;
  85. }
  86. input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
  87. -webkit-appearance: none;
  88. }
  89. [type="button"], input[type="reset"], input[type="submit"] {
  90. -webkit-appearance: button;
  91. cursor: pointer;
  92. *overflow: visible;
  93. }
  94. button[disabled], input[disabled] {
  95. cursor: default;
  96. }
  97. input[type="checkbox"], input[type="radio"] {
  98. box-sizing: border-box;
  99. padding: 0;
  100. *height: 13px;
  101. *width: 13px;
  102. }
  103. input[type="search"] {
  104. -webkit-appearance: textfield;
  105. -moz-box-sizing: content-box;
  106. -webkit-box-sizing: content-box;
  107. box-sizing: content-box;
  108. }
  109. abbr[title], dfn[title] {
  110. border-bottom: 1px dotted;
  111. cursor: help;
  112. }
  113. .error {
  114. width: 100%;
  115. height: 100vh;
  116. overflow: hidden;
  117. }
  118. .error .error404 {
  119. margin: 0 auto;
  120. display: inline-block;
  121. vertical-align: middle;
  122. width: 98%;
  123. text-align: center;
  124. }
  125. .error .error404 img {
  126. margin-bottom: 50px;
  127. }
  128. .error .error404 p {
  129. font-size: 30px;
  130. color: #fff;
  131. margin-bottom: 15px;
  132. }
  133. .error .error404 span {
  134. font-size: 24px;
  135. color: #fff;
  136. }
  137. .error .error500 {
  138. margin: 0 auto;
  139. display: inline-block;
  140. vertical-align: middle;
  141. width: 98%;
  142. text-align: center;
  143. }
  144. .error .error500 img {
  145. vertical-align: middle;
  146. }
  147. .error .error500 .error500R {
  148. display: inline-block;
  149. vertical-align: middle;
  150. margin-left: 90px;
  151. text-align: left;
  152. }
  153. .error .error500 .error500R img {
  154. margin-bottom: 40px;
  155. }
  156. .error .error500 .error500R p {
  157. font-size: 24px;
  158. color: #0d0e10;
  159. margin-bottom: 20px;
  160. }
  161. .error .error500 .error500R span {
  162. display: block;
  163. font-size: 16px;
  164. color: #a8afbe;
  165. margin-bottom: 50px;
  166. }
  167. .error .error502 {
  168. margin: 0 auto;
  169. display: inline-block;
  170. vertical-align: middle;
  171. width: 98%;
  172. text-align: center;
  173. }
  174. .error .error502 p {
  175. margin: 40px 0 20px;
  176. font-size: 24px;
  177. color: #0d0e10;
  178. }
  179. .error .error502 span {
  180. font-size: 16px;
  181. color: #a8afbe;
  182. display: block;
  183. margin-bottom: 60px;
  184. }
  185. .error .errorBtn {
  186. padding: 10px 25px;
  187. color: #fff;
  188. font-size: 16px;
  189. display: inline-block;
  190. background-color: #267bf7;
  191. border-radius: 20px;
  192. }
  193. .error .errorSpace {
  194. height: 100%;
  195. width: 0px;
  196. display: inline-block;
  197. vertical-align: middle;
  198. }