-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.css
More file actions
100 lines (85 loc) · 1.76 KB
/
index.css
File metadata and controls
100 lines (85 loc) · 1.76 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
html,
body {
font-family: 'Roboto Condensed', sans-serif;
}
.main-container {
width: 780px;
margin: auto;
padding: 48px 16px 32px;
box-sizing: border-box;
display: flex;
flex-direction: column;
gap: 48px;
min-height: 100vh;
}
/* Group */
.group-title {
font-size: 11px;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #9a9088;
margin: 0 0 16px 0;
padding-bottom: 10px;
border-bottom: 1px solid rgba(190, 180, 170, 0.5);
}
/* Cards grid */
.cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 16px;
}
/* Card */
.card {
display: flex;
flex-direction: column;
gap: 8px;
padding: 20px 22px;
background: #fffaf2;
border: 1px solid rgba(190, 180, 170, 0.6);
border-radius: 12px;
text-decoration: none;
color: inherit;
transition:
transform 0.18s ease,
box-shadow 0.18s ease,
border-color 0.18s ease;
}
.card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(120, 110, 100, 0.16);
border-color: #bbaea2;
}
.card:active {
transform: translateY(-1px);
box-shadow: 0 3px 10px rgba(120, 110, 100, 0.12);
}
.card-title {
font-size: 16px;
font-weight: 700;
color: #4b4a47;
font-family: 'Roboto Condensed', sans-serif;
}
.card-desc {
font-size: 13px;
line-height: 1.5;
color: #6a6259;
font-family: 'Roboto', sans-serif;
font-weight: 400;
}
/* Responsive */
@media (max-width: 820px) {
.main-container {
width: 100%;
padding: 32px 16px 24px;
gap: 36px;
}
}
@media (max-width: 480px) {
.cards {
grid-template-columns: 1fr;
}
.main-container {
gap: 28px;
}
}