Repository navigation
Expand file tree
/
Copy pathui-grid.css
More file actions
108 lines (89 loc) · 1.83 KB
/
Copy pathui-grid.css
File metadata and controls
108 lines (89 loc) · 1.83 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
:root {
--shell-width: 1440px;
--shell-gutter: 48px;
}
/* One shared horizontal grid for the entire page. */
.topbar__inner,
.hero__content,
.interview-library-wrap,
.study-tools-wrap,
.layout {
width: min(var(--shell-width), calc(100% - var(--shell-gutter)));
margin-left: auto;
margin-right: auto;
}
/* Keep the compact hero using the same outer edges as the tools and content. */
.hero__content {
max-width: none;
}
/* The top bar should align its logo and action buttons with the page body. */
.topbar__inner {
max-width: none;
}
/* Compact vertical rhythm between the page's major modules. */
.study-tools-wrap {
margin-top: 14px;
}
.training-tools {
margin-top: 8px;
}
/* Give the category panel a little more room while keeping it close to content. */
.layout {
grid-template-columns: 280px minmax(0, 1fr);
gap: 28px;
padding-top: 14px;
padding-bottom: 72px;
}
.content__header {
margin-bottom: 24px;
}
.category-section {
margin-bottom: 44px;
}
@media (max-width: 1050px) {
:root { --shell-gutter: 40px; }
.topbar__inner,
.hero__content,
.interview-library-wrap,
.study-tools-wrap,
.layout {
width: calc(100% - var(--shell-gutter));
}
.layout {
grid-template-columns: 250px minmax(0, 1fr);
gap: 24px;
padding-top: 28px;
}
}
@media (max-width: 860px) {
.layout {
grid-template-columns: 1fr;
}
}
@media (max-width: 720px) {
:root { --shell-gutter: 28px; }
.topbar__inner,
.hero__content,
.interview-library-wrap,
.study-tools-wrap,
.layout {
width: calc(100% - var(--shell-gutter));
}
.search input {
padding-right: 16px;
}
.study-tools-wrap {
margin-top: 12px;
}
.layout {
gap: 24px;
padding-top: 22px;
padding-bottom: 54px;
}
.content__header {
margin-bottom: 18px;
}
.category-section {
margin-bottom: 32px;
}
}