aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/documentation/styles.css
blob: 39fd9f7cbe8f54b571eecb02fdf72451964cd1c5 (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
/*
 * SonarQube
 * Copyright (C) 2009-2019 SonarSource SA
 * mailto:info AT sonarsource DOT com
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */
.documentation-page-header {
  margin: 10px 20px;
}

.documentation-footer div,
.documentation-footer .page-footer-menu {
  max-width: 740px;
}

.documentation-content {
  padding: calc(4 * var(--gridSize)) calc(8 * var(--gridSize));
}

.documentation-content.markdown {
  font-size: 16px;
  line-height: 1.7;
}

.documentation-content.markdown > h1 {
  font-size: 24px;
  padding-top: var(--gridSize);
  margin-bottom: 2em;
}

.documentation-content.markdown h2 {
  font-size: 18px;
  font-weight: 800;
  margin-top: 3em;
}

.documentation-content.markdown h3 {
  font-size: 16px;
  margin-bottom: 0.8em;
}

.documentation-content.markdown pre {
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.06);
}

.documentation-content.markdown .alert,
.documentation-content.markdown p,
.documentation-content.markdown pre,
.documentation-content.markdown table {
  margin: 0.8em 0 2em;
}

.documentation-content.markdown ul {
  margin: 0 0 2em;
}

.documentation-content.markdown ul > ul {
  margin: 0;
}

.documentation-content.markdown p + ul,
.documentation-content.markdown p + ol,
.documentation-content.markdown p + pre {
  margin: -1em 0 2em;
}

.documentation-content.markdown li > p {
  margin: 0;
}

.documentation-content.markdown li > p + ul,
.documentation-content.markdown li > p + ol {
  margin: 0;
}

.documentation-content.markdown img[src$='.svg'] {
  vertical-align: text-bottom;
}

.documentation-content.markdown .alert {
  display: block;
  padding: var(--gridSize) calc(2 * var(--gridSize));
}

.documentation-content.markdown .collapse-container {
  border: 1px solid var(--barBorderColor);
  border-radius: 2px;
  background-color: var(--barBackgroundColor);
  padding: 8px;
  margin: 0.8em 0 2em;
}

.documentation-content.markdown .collapse-container > a:first-child {
  display: block;
}

.documentation-content.markdown .collapse-container > a:first-child:focus {
  color: var(--darkBlue);
}

.documentation-content.markdown .collapse-container *:last-child {
  margin-bottom: 0;
}