-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathcreate-post-page.css
More file actions
83 lines (73 loc) · 1.7 KB
/
create-post-page.css
File metadata and controls
83 lines (73 loc) · 1.7 KB
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
/**
* Create post page layout (Django).
* BEM: .create-post-wrapper, .create-post-page, .create-post-page__*
*/
.create-post-wrapper {
width: 100%;
max-width: 694px;
}
.create-post-page {
display: flex;
flex-direction: column;
gap: var(--space-xl);
align-items: stretch;
width: 100%;
max-width: 100%;
}
.create-post-page__header {
display: flex;
flex-direction: column;
gap: var(--space-large, 16px);
}
.create-post-page__title {
font-family: var(--font-sans);
font-size: var(--font-size-2xl, 40px);
font-weight: var(--font-weight-medium, 500);
line-height: 1;
letter-spacing: -1px;
color: var(--color-text-primary, #050816);
margin: 0;
}
.create-post-page__subtitle {
font-family: var(--font-sans);
font-size: var(--font-size-large, 24px);
font-weight: var(--font-weight-regular, 400);
line-height: 1.33;
letter-spacing: -1px;
color: var(--color-text-secondary, #585a64);
padding: 0;
}
.create-post-page__card {
background: var(--color-surface-weak, #fff);
border: 1px solid var(--color-stroke-weak, rgba(5, 8, 22, 0.1));
border-radius: 16px;
padding: var(--space-large, 16px);
display: flex;
flex-direction: column;
gap: var(--space-xlarge, 24px);
}
.create-post-page__link-fields {
display: flex;
flex-direction: column;
gap: var(--space-xlarge, 24px);
}
.create-post-page__actions {
display: flex;
flex-direction: row;
gap: var(--space-default, 8px);
flex-wrap: wrap;
}
.create-post-page__actions .btn {
flex: 1 1 0;
min-width: 128px;
justify-content: center;
text-decoration: none;
}
@media (max-width: 480px) {
.create-post-page__actions {
flex-direction: column;
}
.create-post-page__actions .btn {
min-width: 100%;
}
}