-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.module.css
More file actions
92 lines (79 loc) · 1.46 KB
/
Copy pathApp.module.css
File metadata and controls
92 lines (79 loc) · 1.46 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
.book-app {
min-height: 100vh;
background-color: #f8f9fa;
font-family:
-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}
.book-app__header {
background: white;
padding: 1rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
z-index: 100;
}
.book-app__title {
margin: 0;
font-size: 1.5rem;
color: #333;
font-weight: 600;
}
.book-app__button {
font-family: inherit;
cursor: pointer;
}
.book-app__button--add {
background-color: #42a646;
color: white;
padding: 0.75rem 1rem;
border-radius: 4px;
font-size: 0.9rem;
font-weight: 500;
border: none;
}
.book-app__button--cancel {
background-color: #42a646;
color: white;
padding: 0.75rem 1rem;
border-radius: 4px;
font-size: 0.9rem;
font-weight: 500;
border: none;
}
.book-app__main {
padding: 1rem;
max-width: 1200px;
margin: 0 auto;
}
.book-app__grid {
display: grid;
gap: 1rem;
grid-template-columns: 1fr;
}
.book-app__empty {
text-align: center;
padding: 3rem 1rem;
color: #666;
}
.book-app__empty-text {
margin-bottom: 1.5rem;
font-size: 1.1rem;
}
@media (min-width: 768px) {
.book-app__header {
padding: 1rem 2rem;
}
.book-app__title {
font-size: 1.75rem;
}
.book-app__main {
padding: 1rem 2rem;
}
.book-app__grid {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}
}