Commit 3359e826bdcaeaea544c6d04549c6689727eeda0
1 parent
c5f791fc
error-page2
Showing
2 changed files
with
29 additions
and
0 deletions
Show diff stats
frontend/views/site/error.php
| ... | ... | @@ -22,6 +22,19 @@ $this->title = $name; |
| 22 | 22 | font-size: 24px; |
| 23 | 23 | margin-top: 3px; |
| 24 | 24 | } |
| 25 | + #error-page .error-logo div{ | |
| 26 | + display: block; | |
| 27 | + margin: 0 auto; | |
| 28 | + width: 100%; | |
| 29 | + max-width: 430px; | |
| 30 | + padding-top: 50%; | |
| 31 | + max-height: 191px; | |
| 32 | + box-sizing: border-box; | |
| 33 | + background: url(/img/404.png); | |
| 34 | + background-position: top center; | |
| 35 | + background-repeat: no-repeat; | |
| 36 | + background-size: contain; | |
| 37 | + } | |
| 25 | 38 | @media(max-width:1199px){ |
| 26 | 39 | #error-page br{display:none;} |
| 27 | 40 | } | ... | ... |
frontend/web/css/custom.css
| ... | ... | @@ -186,4 +186,20 @@ span.panel-title{ |
| 186 | 186 | color: #333333; |
| 187 | 187 | font-size: 24px; |
| 188 | 188 | margin-top: 3px; |
| 189 | +} | |
| 190 | +#error-page .error-logo div{ | |
| 191 | + display: block; | |
| 192 | + margin: 0 auto; | |
| 193 | + width: 100%; | |
| 194 | + max-width: 430px; | |
| 195 | + padding-top: 50%; | |
| 196 | + max-height: 191px; | |
| 197 | + box-sizing: border-box; | |
| 198 | + background: url(/img/404.png); | |
| 199 | + background-position: top center; | |
| 200 | + background-repeat: no-repeat; | |
| 201 | + background-size: contain; | |
| 202 | +} | |
| 203 | +@media(max-width:1199px){ | |
| 204 | + #error-page br{display:none;} | |
| 189 | 205 | } |
| 190 | 206 | \ No newline at end of file | ... | ... |