-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdestination-styles.css
142 lines (123 loc) · 2.12 KB
/
destination-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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
html,body{
max-width: 100%;
overflow-x: hidden;
color: white;
}
body{
background-image: url("assets/destination/background-destination-desktop.jpg") ;
}
.destination-page{
display: block;
height: 100vh;
}
.pick{
position: absolute;
top:15%;
left:12%;
font-weight: 100;
}
.item-container{
display: flex;
justify-content: center;
align-items: center;
margin-top: 10%;
}
.item1,.item2{
width: 40%;
}
.content{
padding: 0;
}
.data-container{
display: flex;
justify-content: space-between;
padding-top: 6%;
}
.data1,.data2{
width: 50%;
}
hr{
width: 100%;
}
.destination-navbar{
display: flex;
justify-content: flex-start;
column-gap:7.4% ;
}
a{
text-decoration: none;
color: inherit;
cursor: pointer;
}
a:hover{
text-decoration: none;
color: white;
}
.activepg{
border-bottom: 4px solid white;
}
/* for Tablet */
@media all and (min-width:376px) and (max-width:769px){
body {
text-align: center;
background-image: url("assets/destination/background-destination-tablet.jpg") ;
}
.item-container{
flex-direction: column;
margin-top: 25%;
}
.choosedestination{
margin: 2% 30%;
}
.destination-navbar{
justify-content: center;
margin:5%;
column-gap: 5%;
}
.item1{
order:1;
}
.item1 img{
width: 100%;
height: auto;
}
.item2{
order:2;
width: 80%;
}
}
/*for mobile */
@media all and (max-width: 376px) {
body {
text-align: center;
background-image: url("assets/destination/background-destination-mobile.jpg") ;
}
.item-container{
flex-direction: column;
margin:0;
margin-top: 20%;
}
.item1,.item2{
width:100%;
}
.planet-img{
max-width: 50%;
height: auto;
}
.destination-navbar{
justify-content: center;
margin:5%;
column-gap: 5%;
}
.pick{
position: relative;
top:45px;
left: 0%;
}
h2{
font-size: 60px;
}
.content{
padding:12px;
}
}