overleaf/services/web/frontend/stylesheets/app/error-pages.less
Jakob Ackermann 78326fb352 Merge pull request #3903 from overleaf/as-clean-up-error-pages
Clean up error pages

GitOrigin-RevId: 764375124ef5349c97416339119471a166d727b5
2021-04-16 02:05:30 +00:00

44 lines
802 B
Text

.full-height {
height: 100%;
padding: 0;
}
.error-container {
display: flex;
align-items: center;
}
.error-container.full-height {
margin-top: -(@header-height + @content-margin-vertical) / 2;
}
.error-details {
flex: 1 1 50%;
padding: @line-height-computed;
max-width: 90%;
@media (min-width: @screen-sm-min) {
padding: @line-height-computed * 2;
}
}
.error-status {
font-family: @font-family-serif;
margin-bottom: (@line-height-computed / 4);
color: @gray-dark;
font-size: @font-size-h1;
}
.error-description {
font-family: @font-family-serif;
font-size: @font-size-h3;
color: @gray;
margin-bottom: @line-height-computed * 2;
}
.error-btn {
.btn;
.btn-primary;
display: block;
@media (min-width: @screen-sm-min) {
display: inline-block;
}
}