1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
/*
* This is a minimal stylesheet, meant to be used for error pages.
*/
@import 'framework/variables';
@import 'bootstrap/scss/functions';
@import 'bootstrap/scss/variables';
@import 'bootstrap/scss/mixins';
@import 'bootstrap/scss/reboot';
@import 'bootstrap/scss/buttons';
@import 'bootstrap/scss/forms';
@import '@gitlab/ui/src/scss/variables';
@import '@gitlab/ui/src/scss/mixins';
@import '@gitlab/ui/src/components/base/button/button';
body {
color: $gl-text-primary;
text-align: center;
font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1 {
font-size: 1.75rem;
line-height: 2.25rem;
margin: 1rem 0;
}
p {
margin-bottom: .5rem;
}
img {
display: block;
margin: 0 auto;
}
a {
text-decoration: none;
color: $gl-text-color-link;
}
.page-container {
margin: auto 20px;
}
.error-container {
max-width: 65ch;
margin: auto;
padding: $gl-spacing-scale-5 0;
}
.action-container {
margin-top: $gl-spacing-scale-6;
}
.form-inline-flex {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
gap: $gl-spacing-scale-3;
.field {
flex-grow: 1;
}
@include media-breakpoint-up(sm) {
flex-direction: row;
}
}
.error-nav {
margin: $gl-spacing-scale-6 0 0 0;
padding: $gl-spacing-scale-4 0 0 0;
border-top: 1px solid $border-color;
li {
display: block;
padding-bottom: 1em;
}
@include media-breakpoint-up(sm) {
li {
display: inline-block;
padding-bottom: 0;
&:not(:first-child)::before {
content: '\00B7';
display: inline-block;
padding: 0 $gl-spacing-scale-3;
}
}
}
}
|