|
1 |
| -.contacts { |
2 |
| - gap: .25rem; |
3 |
| - padding: 0 1rem; |
4 |
| -} |
5 |
| -.contacts > div { |
6 |
| - flex: 1 1 auto; |
7 |
| - height: 30rem; |
8 |
| - border-radius: 1rem; |
9 |
| - overflow: auto; |
| 1 | +.cols { |
10 | 2 | display: flex;
|
| 3 | + gap: 1rem; |
11 | 4 | flex-direction: column;
|
12 | 5 | }
|
13 |
| -.contacts > div:has(> span) { |
14 |
| - justify-content: center; |
15 |
| - align-items: center; |
| 6 | +.cols > section { |
| 7 | + flex: 1 1 auto; |
| 8 | + gap: .25rem; |
| 9 | + padding: 0 1rem; |
16 | 10 | }
|
17 |
| -.contacts > header { |
| 11 | +.cols > section > header { |
18 | 12 | flex-direction: row;
|
19 | 13 | align-items: center;
|
20 | 14 | margin: 0;
|
21 | 15 | padding: 0;
|
22 | 16 | min-height: initial;
|
| 17 | + height: 2rem; |
23 | 18 | }
|
24 |
| -.contacts > header > button, |
25 |
| -.contacts > header > div > button, |
26 |
| -.contacts > header > form > button { |
27 |
| - color: var(--dark-200); |
28 |
| - |
29 |
| - font-size: 0.75rem; |
30 |
| - font-style: normal; |
31 |
| - font-weight: 700; |
32 |
| - line-height: normal; |
33 |
| -} |
34 |
| -.contacts > header > form, |
35 |
| -.contacts > header > div { |
| 19 | +.cols > section > div { |
| 20 | + flex: 1 1 auto; |
| 21 | + height: 30rem; |
| 22 | + border-radius: 1rem; |
| 23 | + overflow: auto; |
36 | 24 | display: flex;
|
| 25 | + flex-direction: column; |
37 | 26 | }
|
38 |
| -.contacts > div > a, |
39 |
| -.contacts > div > article { |
| 27 | +.cols > section > div > a, |
| 28 | +.cols > section > div > article { |
40 | 29 | display: flex;
|
41 | 30 | padding: 1.25rem 1.5rem;
|
42 | 31 | /* justify-content: space-between; */
|
|
47 | 36 | cursor: pointer;
|
48 | 37 | text-decoration: none;
|
49 | 38 | }
|
| 39 | +.cols > section > div:has(> span) { |
| 40 | + justify-content: center; |
| 41 | + align-items: center; |
| 42 | +} |
50 | 43 |
|
51 |
| -.contacts h4, |
52 |
| -.contacts h5, |
53 |
| -.contacts h6 { |
| 44 | +.cols h4, |
| 45 | +.cols h5, |
| 46 | +.cols h6 { |
54 | 47 | padding: 0;
|
55 | 48 | margin: 0;
|
56 | 49 | font-style: normal;
|
57 | 50 | font-weight: 500;
|
58 | 51 | line-height: 2;
|
59 | 52 | font-size: .75rem;
|
60 | 53 | }
|
61 |
| -.contacts h4 { |
| 54 | +.cols h4 { |
62 | 55 | color: var(--dark-100);
|
63 | 56 | font-size: .875rem;
|
64 | 57 | }
|
65 |
| -.contacts h5 { |
| 58 | +.cols h5 { |
66 | 59 | color: var(--dark-400);
|
67 | 60 | }
|
68 |
| -.contacts h6 { |
| 61 | +.cols h6 { |
69 | 62 | color: var(--dark-200);
|
70 | 63 | }
|
| 64 | +.cols > section > div > a > address, |
| 65 | +.cols > section > div > article > address { |
| 66 | + display: flex; |
| 67 | + flex-direction: column; |
| 68 | + align-items: flex-start; |
| 69 | + gap: 0.375rem; |
| 70 | + font-style: normal; |
| 71 | + flex: 1 1 auto; |
| 72 | +} |
| 73 | +.cols > section > div > a > aside { |
| 74 | + display: flex; |
| 75 | +} |
| 76 | +.cols > section > div > a > aside > button { |
| 77 | + padding: 0.5rem; |
| 78 | +} |
71 | 79 |
|
72 | 80 | .avatar {
|
73 | 81 | display: flex;
|
|
84 | 92 | background-repeat: no-repeat;
|
85 | 93 | }
|
86 | 94 |
|
87 |
| -.contacts > div > a > address, |
88 |
| -.contacts > div > article > address { |
89 |
| - display: flex; |
90 |
| - flex-direction: column; |
91 |
| - align-items: flex-start; |
92 |
| - gap: 0.375rem; |
| 95 | +.contacts { |
| 96 | +} |
| 97 | +.contacts > div { |
| 98 | +} |
| 99 | +.contacts > div:has(> span) { |
| 100 | +} |
| 101 | +.contacts > header { |
| 102 | +} |
| 103 | +.contacts > header > button, |
| 104 | +.contacts > header > div > button, |
| 105 | +.contacts > header > form > button { |
| 106 | + color: var(--dark-200); |
| 107 | + |
| 108 | + font-size: 0.75rem; |
93 | 109 | font-style: normal;
|
94 |
| - flex: 1 1 auto; |
| 110 | + font-weight: 700; |
| 111 | + line-height: normal; |
95 | 112 | }
|
96 |
| -.contacts > div > a > aside { |
| 113 | +.contacts > header > form, |
| 114 | +.contacts > header > div { |
97 | 115 | display: flex;
|
98 | 116 | }
|
99 |
| -.contacts > div > a > aside > button { |
100 |
| - padding: 0.5rem; |
| 117 | + |
| 118 | +.integration-sect > section > header { |
| 119 | + flex-direction: column; |
| 120 | + align-items: start; |
| 121 | + height: 3rem; |
| 122 | +} |
| 123 | +.integration-sect > section > div { |
| 124 | + background-color: transparent; |
| 125 | + flex-direction: row; |
| 126 | + height: auto; |
| 127 | + gap: 1rem; |
| 128 | + border-radius: 0; |
| 129 | +} |
| 130 | +.integration-sect > section > div > a, |
| 131 | +.integration-sect > section > div > article { |
| 132 | + padding: 1rem 0; |
| 133 | + /* justify-content: space-between; */ |
| 134 | + align-items: center; |
| 135 | + align-self: stretch; |
| 136 | + gap: 1rem; |
| 137 | + user-select: none; |
| 138 | + cursor: pointer; |
| 139 | + text-decoration: none; |
101 | 140 | }
|
102 | 141 |
|
103 | 142 |
|
104 | 143 |
|
| 144 | + |
105 | 145 | @media (min-width: 650px) {
|
106 |
| - .contacts { |
| 146 | + .cols { |
| 147 | + /* flex-direction: row; */ |
| 148 | + } |
| 149 | + .cols > section { |
107 | 150 | padding: 0;
|
108 | 151 | }
|
109 | 152 | }
|
| 153 | +@media (min-width: 980px) { |
| 154 | + .cols { |
| 155 | + flex-direction: row; |
| 156 | + } |
| 157 | + .cols > section:last-of-type:not(:first-of-type) { |
| 158 | + flex: 0 0 20rem; |
| 159 | + } |
| 160 | +} |
0 commit comments