-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathresponsive.css
More file actions
151 lines (119 loc) · 2.54 KB
/
responsive.css
File metadata and controls
151 lines (119 loc) · 2.54 KB
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
143
144
145
146
147
148
149
150
151
@media screen and (max-width: 768px){
.nav-btn {
display: block;
}
.navlinks{
top: 60px;
left: 0px;
z-index: 1;
width: 100%;
display: none;
position: absolute;
background-color: #ffffff;
}
.navlinks li{
width: 100%;
padding: 20px;
text-align: center;
}
.navlinks li a{
color: #000;
display: block;
text-align: center;
text-decoration: none;
}
.navlinks li a:hover{
color: #ffa600;
font-weight: bold;
}
.navlinks li button {
width: 50%;
margin-left: -150px;
text-align: center;
}
.navlinks li button a{
text-align: center;
}
.content-1 {
display: block;
position: relative;
}
.right-sec {
position: relative;
}
.right-sec h1 {
font-size: 3.2rem;
width: 100%;
line-height: 1.2;
color: #ffa600;
text-align: center;
}
.right-sec p {
font-size: 2rem;
text-align: center;
color: rgb(255, 255, 255);
}
.left-sec {
width: 300px;
margin: 20px auto;
position: relative;
}
.left-sec img{
width: 100%;
}
.content-2 {
width: 100%;
display: block;
position: relative;
}
.right_mini_sec_2 {
width: 100px;
height: 300px;
position: relative;
}
.right_mini_sec_2 img{
width: 100%;
height: 300px;
margin: 10px auto;
}
.left_mini_sec_2 {
max-width: 100%;
text-align: center;
line-height: 1.2;
font-family: cursive, sans-serif;
color: #ffa600;
float: none;
}
.left_mini_sec_2 h1 {
font-size: 3em;
}
.grid-container {
width: 100%;
display: grid;
grid-gap: 2px;
grid-template-columns: 50% 50%;
text-align: center;
align-items: center;
justify-content: center;
flex-direction: column;
}
}
@media screen and (max-width: 480px){
.left-sec {
width: 250px;
margin: 20px auto;
position: relative;
}
.left-sec img{
width: 100%;
}
.grid-container {
display: grid;
grid-gap: 2px;
grid-template-columns: 100%;
text-align: center;
align-items: center;
justify-content: center;
flex-direction: column;
}
}