summaryrefslogtreecommitdiff
path: root/docs/_static/css/hints.css
blob: fd7553f517200bd5775ba8275c899d9c64d8be59 (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
div {
  &.note,
  &.hint,
  &.warning,
  &.error,
  &.seealso,
  &.tip {
    border-radius: 8px;

    & > .admonition-title {
      padding: 5px 8px;
      border-radius: 6px;
      font-family: 'Archivo', sans-serif !important;
      font-size: 14px !important;
      letter-spacing: -0.02em !important;
      font-weight: 600 !important;
      margin: -12px -16px 12px;
    }

    & > .admonition-title::before {
      content: url('../images/note-icon.svg');
    }

    & > .highlight-none {
      margin-top: 10px;
    }

    & > p:nth-child(1n+2) {
      font-family: 'Roboto', sans-serif;
      font-size: 16px;
      letter-spacing: -0.5px;
      color: #525659;
      font-weight: 400;
      margin: 10px 0 0 0  !important;
    }
  }

  &.note,
  &.seealso {
    background-color: #F5FCFF !important;
  }

  &.note:has(a.reference),
  &.hint:has(a.reference),
  &.warning:has(a.reference),
  &.error:has(a.reference),
  &.seealso:has(a.reference),
  &.tip:has(a.reference) {
    & a.reference,
    & a.reference span {
      color: #508EEB !important;
    }
  }

  &.note,
  &.seealso {
    & > .admonition-title {
      background-color: #CCEFFB !important;
      color: #356E81 !important;
    }
  }

  &.hint,
  &.tip {
    background-color: #F7FDFB !important;

    & > .admonition-title {
      background-color: #C6F0E3 !important;
      color: #3F6461 !important;
    }
  }

  &.warning,
  &.error {
    background-color: #FDF7F7 !important;

    & > .admonition-title {
      background-color: #F0C6C6 !important;
      color: #8E2F2F !important;
    }
  }

}

#running-on-bare-metal div.note > p:nth-child(2) {
  padding: 8px 12px 0 12px;
}

@media screen and (max-width: 575px) {
  div.note,
  div.hint,
  div.warning,
  div.error,
  div.seealso,
  div.tip {
    padding: 24px 32px !important;
    border-radius: 8px;
  }
}

@media screen and (min-width: 576px) and (max-width: 991px) {
  div.note,
  div.hint,
  div.warning,
  div.error,
  div.seealso,
  div.tip {
    padding: 24px 32px !important;
    border-radius: 8px;
  }
}

@media screen and (min-width: 992px) {
  div.note,
  div.hint,
  div.warning,
  div.error,
  div.seealso,
  div.tip {
    padding: 24px 32px !important;
    border-radius: 8px;
  }
}