-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
65 lines (54 loc) · 1.13 KB
/
style.css
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
.container {
display: flex;
width: 100%;
height: auto;
}
.image-box {
flex: 1;
padding: 50px;
}
.text-box {
flex: 35;
padding: 5px;
}
img {
height: auto;
}
h1 {
font-size: 3em;
margin-bottom: 10px;
}
p {
font-size: 1em;
line-height: 1.5;
margin-bottom: 20px;
}
a {
background-color: #000;
color: #fff;
padding: 10px 20px;
text-decoration: none;
}
.destination-details-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
display: none; /* Initially hidden */
z-index: 999; /* Ensure overlay is above other content */
overflow-y: auto; /* Enable vertical scrolling */
}
.destination-details {
background-color: #fff;
max-width: 600px;
margin: 50px auto;
padding: 20px;
border-radius: 5px;
text-align: center; /* Center content horizontally */
}
.destination-details img {
max-width: 100%; /* Ensure images don't overflow the container */
margin-bottom: 10px;
}