summaryrefslogtreecommitdiffstats
path: root/skins/standard/describecomponents.css
blob: cf5c1a98d20bc181fa8de6167554fc58b9f96edc (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
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This Source Code Form is "Incompatible With Secondary Licenses", as
 * defined by the Mozilla Public License, v. 2.0. */

.product {
  margin: 40px auto;
  max-width: 960px;
  font-size: 14px;
  line-height: 1.5;
}

.product > header,
.product .instructions {
  margin: 0 auto;
  max-width: 800px;
  text-align: center;
}

.product h1 {
  margin: 0;
  font-size: 48px;
  font-weight: normal;
}

.product > header p {
  font-size: 16px;
}

.product .instructions p {
  font-size: 14px;
  font-style: italic;
}

.component {
  display: flex;
  align-items: center;
  margin: 8px 0;
  border: 1px solid #CCC;
  border-radius: 4px;
  padding: 16px;
  background-color: #FFF;
  box-shadow: 0 0 4px #CCC;
}

.component.highlight {
  margin: 0;
  padding: 1em 0;
  background-color: lightgreen;
}

.component header {
  flex: none;
  margin-right: 16px;
  width: 240px;
}

.component h2 {
  margin: 0;
  font-size: 24px;
  font-weight: normal;
}

.component div {
  flex: auto;
}

.component p {
  margin: 0;
  font-size: 16px;
}

.component ul {
  display: flex;
  margin: 8px 0 0;
  border-top: 1px solid #DDD;
  padding: 8px 0 0;
  list-style: none;
  font-size: 14px;
  color: #999;
}

.component li {
  margin: 0 16px 0 0;
  padding: 0;
}

.component footer {
  flex: none;
  margin-left: 16px;
}

.component footer:empty {
  display: none;
}