|
| 1 | +h1, |
| 2 | +h2, |
| 3 | +h3, |
| 4 | +h4, |
| 5 | +h5, |
| 6 | +h6 { |
| 7 | + text-align: center; |
| 8 | +} |
| 9 | + |
1 | 10 | .landing {
|
2 | 11 | display: flex;
|
3 | 12 | flex-direction: column;
|
|
36 | 45 | align-items: center;
|
37 | 46 | justify-content: center;
|
38 | 47 | gap: var(--db-spacing-fixed-xl);
|
39 |
| - margin-block: var(--db-spacing-fixed-xl); |
| 48 | + margin-block-start: var(--db-spacing-fixed-2xl, 48px); |
| 49 | + |
| 50 | + background: var(--db-adaptive-background-level-2--enabled, #f8f8f9); |
| 51 | + |
| 52 | + padding-block: var(--db-spacing-fixed-2xl, 48px); |
40 | 53 |
|
41 | 54 | /* 45rem are ~768 px for tablet*/
|
42 | 55 | @media screen and (min-width: 45rem) {
|
|
61 | 74 | border-block-end: var(--db-border-height-lg) solid
|
62 | 75 | var(--db-brand-origin-enabled);
|
63 | 76 | inset-block-end: calc(-1 * var(--db-spacing-fixed-xs));
|
64 |
| - inline-size: var(--db-sizing-2xl); |
| 77 | + inline-size: 72px; |
65 | 78 | block-size: auto;
|
66 | 79 | inset-inline-start: 50%;
|
67 | 80 | inset-block-start: auto;
|
|
118 | 131 | text-decoration: none;
|
119 | 132 | }
|
120 | 133 |
|
| 134 | +#section-main-features { |
| 135 | + > ul { |
| 136 | + /* 64rem are ~1024 px for desktop-small*/ |
| 137 | + max-inline-size: 64rem; |
| 138 | + } |
| 139 | +} |
| 140 | + |
121 | 141 | #section-vision {
|
122 | 142 | > div {
|
123 | 143 | padding: var(--db-spacing-fixed-md);
|
124 | 144 | display: flex;
|
125 | 145 | flex-direction: column;
|
126 | 146 | align-items: center;
|
127 |
| - border-radius: var(--db-border-radius-md); |
| 147 | + border-radius: var(--db-border-radius-lg); |
| 148 | + inline-size: 100%; |
| 149 | + /* 64rem are ~1024 px for desktop-small*/ |
| 150 | + max-inline-size: 64rem; |
128 | 151 |
|
129 | 152 | > h3 {
|
130 | 153 | text-align: center;
|
| 154 | + /* 45rem are ~768 px for tablet*/ |
| 155 | + max-inline-size: 45rem; |
| 156 | + text-wrap: balance; |
131 | 157 | }
|
132 | 158 | }
|
133 | 159 | }
|
|
138 | 164 | flex-direction: column;
|
139 | 165 | gap: var(--db-spacing-fixed-2xl);
|
140 | 166 | padding-inline: var(--db-spacing-fixed-lg);
|
141 |
| - |
142 |
| - /* 45rem are ~768 px for tablet*/ |
143 |
| - @media screen and (min-width: 45rem) { |
144 |
| - flex-direction: row; |
145 |
| - } |
| 167 | + margin-inline: auto; |
146 | 168 | }
|
147 | 169 |
|
148 | 170 | p {
|
149 |
| - max-inline-size: 40rem; |
| 171 | + /* 45rem are ~768 px for tablet*/ |
| 172 | + max-inline-size: 45rem; |
150 | 173 | }
|
151 | 174 | }
|
152 | 175 |
|
| 176 | +#section-talk-to-us { |
| 177 | + /* 64rem are ~1024 px for desktop-small*/ |
| 178 | + max-inline-size: 64rem; |
| 179 | + margin-inline: auto; |
| 180 | +} |
| 181 | + |
153 | 182 | .section-with-max-width {
|
154 | 183 | padding-inline: var(--db-spacing-responsive-md);
|
155 | 184 | }
|
|
0 commit comments