-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmap.css
65 lines (59 loc) · 1.32 KB
/
map.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
/* Apply a linear gradient as the background */
body {
margin: 0;
font-family: Arial, sans-serif;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
color: #ffffff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
/* Style for the Go Back button */
.go-back {
position: absolute;
top: 10px;
left: 10px;
padding: 10px 20px;
font-size: 16px;
color: #ffffff;
background: #ff3366;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
.go-back:hover {
background: #f00b57;
}
/* Container for the Google Map */
.map-container {
width: 90%; /* Visible width */
height: 70%; /* Visible height */
overflow: hidden; /* Hide overflow elements */
border: 2px solid #000000;
border-radius: 35px;
box-shadow: 0 4px 10px rgb(0, 0, 0);
position: relative;
}
/* Larger iframe to hide interactive buttons */
.map {
width: 150%;
height: 150%;
position: absolute;
top: -30%;
left: -30%;
border: none;
}
/* Optimize layout for landscape orientation */
@media screen and (orientation: landscape) {
.map-container {
width: 80%;
height: 80%;
}
.go-back {
font-size: 14px;
padding: 8px 16px;
}
}