-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModal.module.css
More file actions
68 lines (60 loc) · 978 Bytes
/
Modal.module.css
File metadata and controls
68 lines (60 loc) · 978 Bytes
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
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.modal {
background: #fff;
max-width: 90vw;
max-height: 90vh;
overflow-y: auto;
border-radius: 0.75rem;
padding: 2rem;
position: relative;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.closeBtn {
position: absolute;
top: 1rem;
right: 1rem;
background: none;
border: none;
font-size: 1.25rem;
cursor: pointer;
color: #333;
}
.title {
margin-top: 0;
margin-bottom: 1rem;
font-size: 1.75rem;
}
.image {
width: 100%;
height: auto;
border-radius: 0.5rem;
margin-bottom: 1rem;
}
.description {
font-size: 1rem;
line-height: 1.6;
margin-bottom: 1.5rem;
}
.links {
display: flex;
gap: 1rem;
}
.links a {
text-decoration: none;
color: #2563eb;
font-weight: 600;
}
.links a:hover {
text-decoration: underline;
}