summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/errors.scss
blob: 3ef6452b706aebab9a0abac8300d2a27e80e0051 (plain)
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/*
 * 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/utility-mixins/index';
@import '@gitlab/ui/src/components/base/button/button';

$body-color: #666;
$header-color: #456;

body {
  color: $body-color;
  text-align: center;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: auto;
  font-size: 0.875rem;
}

h1 {
  font-size: 56px;
  line-height: 100px;
  font-weight: 400;
  color: $header-color;
}

h2 {
  font-size: 24px;
  color: $body-color;
  line-height: 1.5em;
}

h3 {
  color: $header-color;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

img {
  max-width: 80vw;
  display: block;
  margin: 40px auto;
}

a {
  text-decoration: none;
  color: $blue-600;
}

.page-container {
  margin: auto 20px;
}

.container {
  margin: auto;
  max-width: 600px;
  border-bottom: 1px solid $border-color;
  padding-bottom: 1em;
}

.action-container {
  padding: 0.5em 0;
}

.form-inline-flex {
  display: flex;
  flex-wrap: wrap;

  button {
    display: block;
    width: 100%;
  }

  .field {
    display: block;
    width: 100%;
    margin-bottom: 1em;
  }

  @include media-breakpoint-up(sm) {
    flex-wrap: nowrap;

    button {
      width: auto;
    }

    .field {
      margin-bottom: 0;
      margin-right: 0.5em;
      flex: 1;
    }
  }
}

.error-nav {
  padding: $gl-padding 0 0;
  text-align: center;

  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 1em;
      }
    }
  }
}

.tanuki-logo {
  width: 210px;
  height: 210px;
  max-width: 40vw;
  display: block;
  margin: map-get($spacing-scale, 4) auto;
}