summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/notify_enhanced.scss
blob: 5df5a8592bf18674239a0117f81ed7b8213a360d (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
// Import a subset of the GitLab UI framework:
// keep parts that affect elements that can appear in emails;
// omit Bootstrap Reboot since it adds unnecessary styles to every element.
@import 'notify_base';
@import 'bootstrap/scss/functions';
@import 'bootstrap/scss/variables';
@import 'bootstrap/scss/mixins';
@import 'bootstrap/scss/code';
@import '@gitlab/ui/src/scss/variables';
@import '@gitlab/ui/src/scss/utility-mixins/index';
@import '@gitlab/ui/src/scss/components';
@import 'bootstrap_migration';
@import 'framework/common';
@import 'framework/gfm';
@import 'framework/kbd';
@import 'framework/tables';
@import 'framework/typography';
@import 'framework/emojis';

body {
  font-family: $regular-font;
  font-size: inherit;
}

a {
  text-decoration: none;
}

.content {
  .md {
    padding: 1rem 0;
  }

  hr {
    border: 1px solid #e1e1e1;
  }

  blockquote {
    border-top-width: 0;
    border-bottom-width: 0;
    border-right-width: 0;

    &:dir(rtl) {
      border-left-width: 0;
      border-right-width: inherit;
    }
  }

  table {
    border-collapse: collapse;
  }

  .diff-table.code,
  table.code {
    width: auto;

    td {
      padding: inherit;

      pre {
        background-color: inherit;
        margin: 0;
        padding: 0;
        border: inherit;
      }
    }
  }
}