mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
parent
658a21bcf8
commit
7be4362523
2 changed files with 16 additions and 8 deletions
|
@ -10,11 +10,12 @@
|
|||
/* =============================================================================
|
||||
General
|
||||
============================================================================= */
|
||||
|
||||
.error-content {
|
||||
max-width: 530px;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
display: table;
|
||||
height: 100%;
|
||||
|
||||
@include breakpoint(630px) {
|
||||
max-width: 264px;
|
||||
|
@ -22,6 +23,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
.error-details {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.error-image {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{{!< default}}
|
||||
<section class="error-content error-404 js-error-container">
|
||||
<section class="error-details">
|
||||
<figure class="error-image">
|
||||
<img class="error-ghost" src="/ghost/img/404-ghost@2x.png" srcset="/ghost/img/404-ghost.png 1x, /ghost/img/404-ghost@2x.png 2x"/>
|
||||
</figure>
|
||||
|
@ -7,4 +8,5 @@
|
|||
<h1 class="error-code">{{code}}</h1>
|
||||
<h2 class="error-description">{{message}}</h2>
|
||||
</section>
|
||||
</section>
|
||||
</section>
|
Loading…
Add table
Reference in a new issue