forked from PritamSarbajna/tourism-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
responsive.css
109 lines (94 loc) · 1.67 KB
/
responsive.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
/* mobile responsiveness design */
@media screen and (max-width: 990px) {
.contact_us {
flex-direction: column;
width: 100%;
}
form,
.cbox {
margin: auto;
margin-bottom: 30px;
}
}
@media only screen and (max-width: 850px) {
.menu-btn {
display: block;
}
.navbar {
padding: 45px;
}
.logo {
position: absolute;
top: 30px;
left: 30px;
}
.nav-links {
flex-direction: column;
width: 100%;
height: 100vh;
justify-content: center;
background: #484872;
margin-top: -900px;
transition: all 0.5s ease;
}
.mobile-menu {
margin-top: 0px;
border-bottom-right-radius: 30%;
}
.nav-links li {
margin: 30px auto;
}
/*events*/
.row {
flex-direction: column;
}
.row .col {
margin: 20px auto;
}
.col img {
max-width: 90%;
}
/*explore*/
.explore-content {
width: 100%;
}
/*tours*/
.tours {
width: 100%;
}
.image-gallery {
justify-content: center;
align-items: center;
}
.image-gallery img {
width: 90%;
}
/*footer*/
.footer {
padding: 10px;
}
.content-col{
width: 70%;
}
}
@media screen and (max-width: 770px){
#about_us p{
width: 380px;
padding-top: 7em;
margin: auto;
}
form,.cbox{
width: 90%;
}
.ctn{
margin: auto;
}
.content-col .ctn {
margin-left: 0px;
}
}
@media screen and (max-width:470px){
.ctn{
padding: 13px 25px;
}
}