Skip to content

Commit 52f8aaa

Browse files
committed
startscreen improvements
1 parent 7a8d0f8 commit 52f8aaa

File tree

2 files changed

+189
-182
lines changed

2 files changed

+189
-182
lines changed

packages/editor/src/app/main/components/startscreen/StartScreen.module.css

Lines changed: 60 additions & 168 deletions
Original file line numberDiff line numberDiff line change
@@ -11,48 +11,6 @@
1111
-ms-user-select: none;
1212
}
1313

14-
.introduction {
15-
display: flex;
16-
align-items: center;
17-
padding: 3em 0;
18-
position: relative;
19-
/* background: url(./assets/background_pattern.png),
20-
linear-gradient(0deg, #eff7fc, #eff7fc); */
21-
/* background: linear-gradient(0deg, #eff7fc, #eff7fc); */
22-
/* background: radial-gradient(
23-
106.9% 91.8% at 110% 110%,
24-
#7cee6f 0%,
25-
white 100%
26-
); */
27-
min-height: 80vh;
28-
}
29-
30-
.introduction .github {
31-
position: absolute;
32-
right: 0;
33-
top: 0;
34-
padding: 2em 1.5em;
35-
}
36-
37-
.introduction .logo {
38-
margin-top: 1em;
39-
margin-bottom: 2em;
40-
width: 70px;
41-
}
42-
43-
.introduction .buttons {
44-
margin-top: 3em;
45-
display: flex;
46-
gap: 2em;
47-
}
48-
49-
.introduction h1 {
50-
color: #2b4869;
51-
font-size: 2.9em;
52-
line-height: 1.5em;
53-
font-weight: bold;
54-
}
55-
5614
.demo {
5715
/* background-color: white; */
5816
position: relative;
@@ -72,6 +30,51 @@
7230
width: 90%;
7331
}
7432

33+
.storySection {
34+
padding: 100px 0;
35+
/* box-shadow:
36+
rgb(0 0 0 / 25%) 0px 10px 30px -20px,
37+
rgb(0 0 0 / 25%) 0px -10px 30px -20px; */
38+
/* border: 1px solid rgba(0, 0, 0, 0.08); */
39+
}
40+
41+
.storySection.uneven {
42+
/* box-shadow:
43+
inset rgb(0 0 0 / 25%) 0px 10px 30px -20px,
44+
inset rgb(0 0 0 / 25%) 0px -10px 30px -20px; */
45+
}
46+
47+
.storySection .perks {
48+
margin-top: 100px;
49+
margin-bottom: 0px;
50+
font-size: 16px;
51+
}
52+
53+
.storySection .perks h3,
54+
.storySection .perks .perk span {
55+
font-size: 16px;
56+
font-weight: normal;
57+
line-height: 1;
58+
}
59+
60+
.storySection .perks h3 {
61+
font-weight: bold;
62+
}
63+
.story {
64+
max-width: 1096px !important;
65+
display: flex;
66+
flex-direction: row;
67+
align-items: center;
68+
margin-top: 100px;
69+
gap: 30px;
70+
/* background: black; */
71+
margin-bottom: 100px;
72+
}
73+
74+
.story img {
75+
max-width: 100%;
76+
}
77+
7578
.perks {
7679
font-size: 16px;
7780
/* padding: 4em 0; */
@@ -119,6 +122,7 @@
119122
.perk h3 {
120123
font-weight: 600;
121124
margin: 0.5em 0;
125+
color: rgb(91 94 118);
122126
font-size: 1.3em;
123127
}
124128

@@ -134,16 +138,17 @@
134138
font-weight: 500;
135139
}
136140

137-
.perks .separator {
138-
min-height: 100%;
139-
width: 1px;
140-
background-color: rgb(230, 230, 230);
141-
}
142-
143-
.notebooks {
144-
/* background: white; */
145-
padding: 6em 0;
146-
text-align: center;
141+
.section_separator {
142+
height: 1px;
143+
width: 50%;
144+
margin: 0 auto;
145+
/* background-color: rgb(230, 230, 230); */
146+
background: linear-gradient(
147+
to right,
148+
transparent,
149+
rgb(0, 0, 0, 0.2) 50%,
150+
transparent
151+
);
147152
}
148153

149154
.page h2 {
@@ -152,75 +157,18 @@
152157
margin: 0 auto 1em auto;
153158
}
154159

155-
.notebooks .text {
156-
text-align: center;
157-
width: 100%;
158-
padding: 0 6em;
159-
margin-bottom: 2em;
160-
}
161-
162-
.notebooks .overview {
163-
margin-top: 3em;
164-
padding: 0 2em;
165-
display: flex;
166-
justify-content: space-evenly;
167-
}
168-
169-
.social img {
170-
height: 40px;
171-
border-radius: 10px;
172-
}
173-
174-
.notebooks .notebook {
175-
padding: 0 2em;
176-
flex: 1 1;
177-
max-width: 100%;
178-
overflow: hidden;
179-
}
180-
181-
.section_separator {
160+
/* .section_separator {
182161
margin: 0 auto;
183162
height: 1px;
184163
background-color: rgb(230, 230, 230);
185164
width: 100px;
186-
}
187-
188-
.build {
189-
padding: 4em 0;
190-
/* justify-content: center; */
191-
}
165+
} */
192166

193167
form {
194168
margin: 0;
195169
display: contents;
196170
}
197171

198-
button {
199-
cursor: pointer;
200-
}
201-
202-
.build p {
203-
margin-bottom: 2em;
204-
}
205-
.buttons {
206-
width: 100%;
207-
display: flex;
208-
gap: 2em;
209-
justify-content: center;
210-
}
211-
212-
.buttons input {
213-
border-radius: 10px;
214-
font-size: 20px;
215-
border: 1px solid #ccc;
216-
padding: 1em 1em;
217-
}
218-
.build .link {
219-
text-decoration: underline;
220-
font-weight: 600;
221-
color: #5f5f5f;
222-
}
223-
224172
.footer,
225173
.footer h4,
226174
.footer a,
@@ -275,7 +223,7 @@ button {
275223
gap: 84px;
276224
width: var(--content-max-width);
277225
max-width: 100%;
278-
margin: 0 auto 52px;
226+
margin: 0 auto 112px;
279227
padding-top: 226px;
280228
}
281229

@@ -318,62 +266,6 @@ button {
318266
}
319267
}
320268

321-
@media (max-width: 768px) {
322-
.introduction {
323-
padding-left: 1em;
324-
padding-right: 1em;
325-
}
326-
327-
.introduction h1 {
328-
font-size: 1.6em;
329-
}
330-
331-
.buttons {
332-
flex-direction: column;
333-
gap: 1em !important;
334-
}
335-
336-
.code_block img {
337-
width: 100%;
338-
}
339-
340-
.notebooks {
341-
padding: 2em 0 0 0;
342-
}
343-
344-
.notebooks h2 {
345-
margin-bottom: 0;
346-
}
347-
348-
.notebooks .text {
349-
padding: 1em;
350-
}
351-
352-
.notebooks .overview {
353-
flex-direction: column;
354-
padding: 2em;
355-
margin-top: 0;
356-
justify-content: center;
357-
}
358-
359-
.notebooks .notebook {
360-
padding: 0;
361-
flex: 1 1;
362-
width: 100%;
363-
overflow: hidden;
364-
margin: 0 auto 3em auto;
365-
max-width: 350px;
366-
}
367-
368-
.notebooks .notebook:last-child {
369-
margin-bottom: 1em;
370-
}
371-
372-
.build {
373-
padding: 3em 1em;
374-
}
375-
}
376-
377269
.headerContent {
378270
flex: 1.2;
379271
position: relative;

0 commit comments

Comments
 (0)