-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
79 lines (72 loc) · 1.46 KB
/
styles.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/* General Styles */
body,
html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #f0f0f0;
font-family: Arial, sans-serif;
}
.card-container {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
width: 100vw;
}
.responsive-image {
max-width: 100%;
max-height: 100%;
object-fit: cover;
transform: translateY(-5%);
}
.map-link {
position: absolute;
bottom: 0;
left: 52%;
transform: translate(-50%, -50%);
text-align: center;
width: 280px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 10px;
padding: 8px 20px;
text-decoration: none;
color: #4b341d; /* Same color as the text on the card */
background-color: #f9efec;
border: 2px solid #4b341d; /* Border to match the text color */
border-radius: 10px;
font-size: 24px; /* Font size similar to the text */
font-weight: 600;
}
@media only screen and (max-width: 600px) {
.map-link {
width: 90%;
font-size: 18px;
padding: 10px 10px;
}
}
@media only screen and (max-width: 985px) {
.responsive-image {
max-width: 100%;
max-height: 100%;
object-fit: fill;
transform: scale(1.21) translateX(-1.8%);
}
.card-container {
overflow-x: hidden;
}
.map-link {
bottom: 0;
left: 50%;
transform: translate(-50%, -50%);
}
}