Ghost/ghost/admin/app/styles/layouts/error.css

115 lines
1.7 KiB
CSS
Raw Normal View History

2015-05-14 16:45:37 +03:00
/* Error /ghost/404/
/* ---------------------------------------------------------- */
.error-content {
2015-05-16 14:43:12 +03:00
display: table;
2015-05-14 16:45:37 +03:00
margin: 0 auto;
padding: 0;
2015-05-16 14:43:12 +03:00
max-width: 530px;
2015-05-14 16:45:37 +03:00
height: 100%;
}
2015-05-14 23:30:25 +03:00
.error-content {
user-select: text;
}
2015-05-14 16:45:37 +03:00
@media (max-width: 630px) {
.error-content {
2015-05-16 00:28:30 +03:00
max-width: 264px;
text-align: center;
2015-05-14 16:45:37 +03:00
}
}
.error-details {
display: table-cell;
vertical-align: middle;
}
.error-image {
display: inline-block;
width: 96px;
height: 150px;
2015-05-16 14:43:12 +03:00
vertical-align: middle;
2015-05-14 16:45:37 +03:00
}
@media (max-width: 630px) {
.error-image {
2015-05-16 00:28:30 +03:00
width: 72px;
height: 112px;
2015-05-14 16:45:37 +03:00
}
}
.error-image img {
width: 100%;
height: 100%;
}
.error-message {
position: relative;
top: -5px;
display: inline-block;
margin-left: 10px;
2015-05-16 14:43:12 +03:00
vertical-align: middle;
2015-05-14 16:45:37 +03:00
}
.error-code {
margin: 0;
2015-05-16 14:43:12 +03:00
color: #979797;
2015-05-14 16:45:37 +03:00
font-size: 7.8em;
line-height: 0.9em;
}
@media (max-width: 630px) {
.error-code {
2015-05-16 00:28:30 +03:00
font-size: 5.8em;
2015-05-14 16:45:37 +03:00
}
}
.error-description {
margin: 0;
padding: 0;
border: none;
2015-05-16 14:43:12 +03:00
color: #979797;
font-size: 1.9em;
font-weight: 300;
2015-05-14 16:45:37 +03:00
}
@media (max-width: 630px) {
.error-description {
2015-05-16 00:28:30 +03:00
font-size: 1.4em;
2015-05-14 16:45:37 +03:00
}
}
/* Stack trace
/* ---------------------------------------------------------- */
.error-stack {
margin: 1em auto;
padding: 2em;
max-width: 800px;
background-color: rgba(255, 255, 255, 0.3);
}
.error-stack-list {
margin: 0;
2015-05-16 14:43:12 +03:00
padding: 0;
list-style-type: none;
2015-05-14 16:45:37 +03:00
}
.error-stack-list li {
display: block;
}
.error-stack-list li:before {
content: "\21AA";
display: inline-block;
margin-right: 0.5em;
2015-05-16 14:43:12 +03:00
color: #bbb;
font-size: 1.2em;
2015-05-14 16:45:37 +03:00
}
.error-stack-function {
font-weight: bold;
}