custom_404.html 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. {{ define "content" }}
  2. <section>
  3. <div class="container">
  4. <div class="row">
  5. <div class="col-12">
  6. <style>
  7. @import url("https://fonts.googleapis.com/css?family=Montserrat:400,600,700");
  8. @import url("https://fonts.googleapis.com/css?family=Catamaran:400,800");
  9. .error-container {
  10. text-align: center;
  11. font-size: 106px;
  12. font-family: "Catamaran", sans-serif;
  13. font-weight: 800;
  14. margin: 70px 15px;
  15. }
  16. .error-container > span {
  17. display: inline-block;
  18. position: relative;
  19. }
  20. .error-container > span.four {
  21. width: 136px;
  22. height: 43px;
  23. border-radius: 999px;
  24. background: linear-gradient(
  25. 140deg,
  26. rgba(0, 0, 0, 0.1) 0%,
  27. rgba(0, 0, 0, 0.07) 43%,
  28. transparent 44%,
  29. transparent 100%
  30. ),
  31. linear-gradient(
  32. 105deg,
  33. transparent 0%,
  34. transparent 40%,
  35. rgba(0, 0, 0, 0.06) 41%,
  36. rgba(0, 0, 0, 0.07) 76%,
  37. transparent 77%,
  38. transparent 100%
  39. ),
  40. linear-gradient(to right, #ffdf00, #ffda10);
  41. }
  42. .error-container > span.four:before,
  43. .error-container > span.four:after {
  44. content: "";
  45. display: block;
  46. position: absolute;
  47. border-radius: 999px;
  48. }
  49. .error-container > span.four:before {
  50. width: 43px;
  51. height: 156px;
  52. left: 60px;
  53. bottom: -43px;
  54. background: linear-gradient(
  55. 128deg,
  56. rgba(0, 0, 0, 0.1) 0%,
  57. rgba(0, 0, 0, 0.07) 40%,
  58. transparent 41%,
  59. transparent 100%
  60. ),
  61. linear-gradient(
  62. 116deg,
  63. rgba(0, 0, 0, 0.1) 0%,
  64. rgba(0, 0, 0, 0.07) 50%,
  65. transparent 51%,
  66. transparent 100%
  67. ),
  68. linear-gradient(
  69. to top,
  70. #ffdf00,
  71. #ffdf20,
  72. #ffdf40,
  73. #ffdf60,
  74. #ffdf80,
  75. #ffda00,
  76. #ffda10
  77. );
  78. }
  79. .error-container > span.four:after {
  80. width: 137px;
  81. height: 43px;
  82. transform: rotate(-49.5deg);
  83. left: -18px;
  84. bottom: 36px;
  85. background: linear-gradient(
  86. to right,
  87. #ffdf00,
  88. #ffdf20,
  89. #ffdf40,
  90. #ffdf60,
  91. #ffdf80,
  92. #ffda00,
  93. #ffda10
  94. );
  95. }
  96. .error-container > span.zero {
  97. vertical-align: text-top;
  98. width: 156px;
  99. height: 156px;
  100. border-radius: 999px;
  101. background: linear-gradient(
  102. -45deg,
  103. transparent 0%,
  104. rgba(0, 0, 0, 0.06) 50%,
  105. transparent 51%,
  106. transparent 100%
  107. ),
  108. linear-gradient(
  109. to top right,
  110. #ffdf00,
  111. #ffdf20,
  112. #ffdf40,
  113. #ffdf60,
  114. #ffdf80,
  115. #ffda00,
  116. #ffda10
  117. );
  118. overflow: hidden;
  119. animation: bgshadow 5s infinite;
  120. }
  121. .error-container > span.zero:before {
  122. content: "";
  123. display: block;
  124. position: absolute;
  125. transform: rotate(45deg);
  126. width: 90px;
  127. height: 90px;
  128. background-color: transparent;
  129. left: 0px;
  130. bottom: 0px;
  131. background: linear-gradient(
  132. 95deg,
  133. transparent 0%,
  134. transparent 8%,
  135. rgba(0, 0, 0, 0.07) 9%,
  136. transparent 50%,
  137. transparent 100%
  138. ),
  139. linear-gradient(
  140. 85deg,
  141. transparent 0%,
  142. transparent 19%,
  143. rgba(0, 0, 0, 0.05) 20%,
  144. rgba(0, 0, 0, 0.07) 91%,
  145. transparent 92%,
  146. transparent 100%
  147. );
  148. }
  149. .error-container > span.zero:after {
  150. content: "";
  151. display: block;
  152. position: absolute;
  153. border-radius: 999px;
  154. width: 70px;
  155. height: 70px;
  156. left: 43px;
  157. bottom: 43px;
  158. background: #fdfaf5;
  159. box-shadow: -2px 2px 2px 0px rgba(0, 0, 0, 0.1);
  160. }
  161. .screen-reader-text {
  162. position: absolute;
  163. top: -9999em;
  164. left: -9999em;
  165. }
  166. @keyframes bgshadow {
  167. 0% {
  168. box-shadow: inset -160px 160px 0px 5px rgba(0, 0, 0, 0.4);
  169. }
  170. 45% {
  171. box-shadow: inset 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
  172. }
  173. 55% {
  174. box-shadow: inset 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
  175. }
  176. 100% {
  177. box-shadow: inset 160px -160px 0px 5px rgba(0, 0, 0, 0.4);
  178. }
  179. }
  180. /* demo stuff */
  181. * {
  182. -webkit-box-sizing: border-box;
  183. -moz-box-sizing: border-box;
  184. box-sizing: border-box;
  185. }
  186. html,
  187. button,
  188. input,
  189. select,
  190. textarea {
  191. font-family: "Montserrat", Helvetica, sans-serif;
  192. color: #bbb;
  193. }
  194. h1 {
  195. text-align: center;
  196. margin: 30px 15px;
  197. }
  198. .zoom-area {
  199. max-width: 490px;
  200. margin: 30px auto 30px;
  201. font-size: 19px;
  202. text-align: center;
  203. }
  204. .link-container {
  205. text-align: center;
  206. }
  207. a.more-link {
  208. text-transform: uppercase;
  209. font-size: 13px;
  210. background-color: #ffdf60;
  211. padding: 10px 15px;
  212. border-radius: 0;
  213. color: #fff;
  214. display: inline-block;
  215. margin-right: 5px;
  216. margin-bottom: 5px;
  217. line-height: 1.5;
  218. text-decoration: none;
  219. margin-top: 50px;
  220. letter-spacing: 1px;
  221. }
  222. </style>
  223. <h1>Page Not Found</h1>
  224. <p class="zoom-area"><b>404</b> Something seems to be missing</p>
  225. <section class="error-container">
  226. <span class="four"><span class="screen-reader-text">4</span></span>
  227. <span class="zero"><span class="screen-reader-text">0</span></span>
  228. <span class="four"><span class="screen-reader-text">4</span></span>
  229. </section>
  230. <div class="link-container">
  231. <a href="/" class="more-link">Back Home</a>
  232. </div>
  233. </div>
  234. </div>
  235. </div>
  236. </section>
  237. {{ end }}