|
| 1 | +* { |
| 2 | + -webkit-box-sizing: border-box; |
| 3 | + box-sizing: border-box; |
| 4 | +} |
| 5 | + |
| 6 | +body { |
| 7 | + padding: 0; |
| 8 | + margin: 0; |
| 9 | +} |
| 10 | + |
| 11 | +#notfound { |
| 12 | + position: relative; |
| 13 | + height: 100vh; |
| 14 | + background: #030005; |
| 15 | +} |
| 16 | + |
| 17 | +#notfound .notfound { |
| 18 | + position: absolute; |
| 19 | + left: 50%; |
| 20 | + top: 50%; |
| 21 | + -webkit-transform: translate(-50%, -50%); |
| 22 | + -ms-transform: translate(-50%, -50%); |
| 23 | + transform: translate(-50%, -50%); |
| 24 | +} |
| 25 | + |
| 26 | +.notfound { |
| 27 | + max-width: 767px; |
| 28 | + width: 100%; |
| 29 | + line-height: 1.4; |
| 30 | + text-align: center; |
| 31 | +} |
| 32 | + |
| 33 | +.notfound .notfound-404 { |
| 34 | + position: relative; |
| 35 | + height: 180px; |
| 36 | + margin-bottom: 20px; |
| 37 | + z-index: -1; |
| 38 | +} |
| 39 | + |
| 40 | +.notfound .notfound-404 h1 { |
| 41 | + font-family: 'Montserrat', sans-serif; |
| 42 | + position: absolute; |
| 43 | + left: 50%; |
| 44 | + top: 50%; |
| 45 | + -webkit-transform: translate(-50% , -50%); |
| 46 | + -ms-transform: translate(-50% , -50%); |
| 47 | + transform: translate(-50% , -50%); |
| 48 | + font-size: 224px; |
| 49 | + font-weight: 900; |
| 50 | + margin-top: 0px; |
| 51 | + margin-bottom: 0px; |
| 52 | + margin-left: -12px; |
| 53 | + color: #030005; |
| 54 | + text-transform: uppercase; |
| 55 | + text-shadow: -1px -1px 0px #8400ff, 1px 1px 0px #ff005a; |
| 56 | + letter-spacing: -20px; |
| 57 | +} |
| 58 | + |
| 59 | + |
| 60 | +.notfound .notfound-404 h2 { |
| 61 | + font-family: 'Montserrat', sans-serif; |
| 62 | + position: absolute; |
| 63 | + left: 0; |
| 64 | + right: 0; |
| 65 | + top: 110px; |
| 66 | + font-size: 42px; |
| 67 | + font-weight: 700; |
| 68 | + color: #fff; |
| 69 | + text-transform: uppercase; |
| 70 | + text-shadow: 0px 2px 0px #8400ff; |
| 71 | + letter-spacing: 13px; |
| 72 | + margin: 0; |
| 73 | +} |
| 74 | + |
| 75 | +.notfound a { |
| 76 | + font-family: 'Montserrat', sans-serif; |
| 77 | + display: inline-block; |
| 78 | + text-transform: uppercase; |
| 79 | + color: #ff005a; |
| 80 | + text-decoration: none; |
| 81 | + border: 2px solid; |
| 82 | + background: transparent; |
| 83 | + padding: 10px 40px; |
| 84 | + font-size: 14px; |
| 85 | + font-weight: 700; |
| 86 | + -webkit-transition: 0.2s all; |
| 87 | + transition: 0.2s all; |
| 88 | +} |
| 89 | + |
| 90 | +.notfound a:hover { |
| 91 | + color: #8400ff; |
| 92 | +} |
| 93 | + |
| 94 | +@media only screen and (max-width: 767px) { |
| 95 | + .notfound .notfound-404 h2 { |
| 96 | + font-size: 24px; |
| 97 | + } |
| 98 | +} |
| 99 | + |
| 100 | +@media only screen and (max-width: 480px) { |
| 101 | + .notfound .notfound-404 h1 { |
| 102 | + font-size: 182px; |
| 103 | + } |
| 104 | +} |
0 commit comments