error.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. /*
  2. Theme Name: HUGE
  3. Description: Creative Error Pages Template
  4. Author: SquirrelLabs
  5. Author URI: https://themeforest.net/user/squirrellabs/portfolio?ref=SquirrelLab
  6. Version: 1.0
  7. License: https://themeforest.net/licenses/standard
  8. /*******************************
  9. Table of Contents
  10. 1.0 General Styles
  11. 2.0 Header
  12. 3.0 Content Styles
  13. *******************************/
  14. /**********************************/
  15. /******* 1.0 General Styles *******/
  16. /**********************************/
  17. body,
  18. html {
  19. margin: 0px;
  20. background-color: #f8f8f8;
  21. font-weight: 400;
  22. font-family: 'Poppins', sans-serif;
  23. font-size:16px;
  24. color: #777;
  25. overflow-x: hidden;
  26. min-height: 100%;
  27. height: 100%;
  28. }
  29. body * {box-sizing:border-box;}
  30. a {
  31. text-decoration: none;
  32. }
  33. h3 {
  34. -webkit-transform: rotate(-45deg) translateY(-30px);
  35. transform: rotate(-45deg) translateY(-30px);
  36. color: white;
  37. width: 100px;
  38. }
  39. /**********************************/
  40. /********** 2.0 Header ***********/
  41. /**********************************/
  42. header {
  43. padding: 35px 40px;
  44. position: absolute;
  45. z-index: 1
  46. }
  47. header img {
  48. display:block;
  49. max-height: 40px;
  50. max-width: 40px;
  51. margin: 15px 0;
  52. }
  53. header .divider {
  54. border-bottom: solid 1px #ccc;
  55. margin: 20px 0;
  56. }
  57. /**********************************/
  58. /****** 3.0 Content Styles *******/
  59. /**********************************/
  60. .main {
  61. margin-top: 5%;
  62. text-align: center;
  63. }
  64. .main img {
  65. width: 40%;
  66. max-width: 420px;
  67. }
  68. .main h2 {
  69. color: #3d4145;
  70. font-size: 32px;
  71. font-weight: 700;
  72. }
  73. .main h6 {
  74. font-size: 16px;
  75. line-height: 24px;
  76. font-weight: 400;
  77. }
  78. .main .error {
  79. position: absolute;
  80. margin: auto;
  81. left: 0;
  82. right: 0;
  83. top: 0vw;
  84. color: rgba(0,0,0,.02);
  85. font-size: 25vw;
  86. text-align: center;
  87. font-weight: 900;
  88. font-family: sans-serif;
  89. pointer-events: none;
  90. }
  91. .main .button {
  92. cursor: pointer;
  93. display: inline-block;
  94. line-height: 1.25;
  95. text-align: center;
  96. vertical-align: middle;
  97. user-select: none;
  98. border: 1px solid transparent;
  99. margin: 0.35rem;
  100. padding: 1rem 1.8rem;
  101. font-size: 1rem;
  102. border-radius:5px;
  103. -webkit-transition: all .2s ease-in-out;
  104. transition: all .2s ease-in-out;
  105. color: #fff;
  106. -webkit-transition: background-color .3s ease-in-out,-webkit-box-shadow .3s ease-in-out;
  107. transition: background-color .3s ease-in-out,-webkit-box-shadow .3s ease-in-out;
  108. -o-transition: box-shadow .3s ease-in-out,background-color .3s ease-in-out;
  109. transition: box-shadow .3s ease-in-out,background-color .3s ease-in-out;
  110. transition: box-shadow .3s ease-in-out,background-color .3s ease-in-out,-webkit-box-shadow .3s ease-in-out;
  111. position: relative;
  112. background-image: -webkit-linear-gradient(356deg,#4557b9,#202f89);
  113. background-image: -o-linear-gradient(356deg,#4557b9,#202f89);
  114. background-image: linear-gradient(94deg,#4557b9,#202f89);
  115. -webkit-box-shadow: 0 30px 65px -10px rgba(255,139,44,.6);
  116. box-shadow: 0 30px 65px -10px rgba(129, 133, 183,.6);
  117. box-sizing:border-box;
  118. }
  119. .main .button:hover{
  120. -webkit-box-shadow: 0 20px 65px -10px rgba(255,139,44,.4);
  121. box-shadow: 0 20px 65px -10px rgba(255,139,44,.4);
  122. }
  123. .main {margin-top: 1%;}
  124. .main .error {top:76px; font-size:17vw;}
  125. .main h6 dl {width:100%; max-width:800px; margin:0 auto; word-break: keep-all;}
  126. .main h6 dt {font-weight:700; color: #eb6946;}
  127. .main h6 dd {margin:0; padding:0 20px; font-size:14px;}
  128. @media (max-width: 500px) {
  129. header {
  130. position: relative;
  131. padding: 0px 20px;
  132. text-align: center;
  133. }
  134. header a {
  135. display: inline-block;
  136. padding: 0 10px;
  137. }
  138. header .divider {
  139. display: inline-block;
  140. border-bottom: solid 1px #ccc;
  141. margin: 20px 0;
  142. }
  143. .main .error {
  144. top: 50vw; font-size:25vw;
  145. }
  146. .main .btn_wrap {padding:0 20px;}
  147. .main .btn_wrap .button {width:100%;}
  148. }