Skip to content

Commit e42087a

Browse files
Improve layout.scss
Signed-off-by: sunilpaulmathew <sunil.kde@gmail.com>
1 parent bbe9abf commit e42087a

1 file changed

Lines changed: 28 additions & 33 deletions

File tree

docs/_sass/layout.scss

Lines changed: 28 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
.container {
6666
grid-column-gap: 0px;
67-
grid-template-columns: 1;
67+
grid-template-columns: 1fr;
6868
grid-template-rows: 115px auto auto auto auto;
6969
grid-template-areas:
7070
"h h h h h h h h h h h h"
@@ -166,8 +166,8 @@ header {
166166

167167
.scroll {
168168
height: 80px;
169-
padding-top: 100px;
170-
padding-bottom: 100px;
169+
padding-top: 50px;
170+
padding-bottom: 50px;
171171
margin-top: -60px;
172172
justify-content: flex-start;
173173
}
@@ -241,46 +241,46 @@ nav > ul li a:active {
241241
align-content: flex-start;
242242
}
243243

244+
.dropdown {
245+
position: relative;
246+
display: inline-block;
247+
}
248+
244249
.dropbtn {
245-
background-color: black;
246-
color: white;
247-
padding: 16px;
248-
font-size: 16px;
249-
border: none;
250-
cursor: pointer;
250+
background: none;
251+
border: none;
252+
padding: 0;
253+
cursor: pointer;
251254
}
252255

253-
.dropdown {
254-
float: left;
255-
overflow: hidden;
256+
.playStore {
257+
width: 75px;
258+
height: 75px;
259+
margin-right: 24px;
256260
}
257261

258262
.dropdown-content {
259-
display: none;
260-
position: absolute;
261-
background-color: #f9f9f9;
262-
min-width: 160px;
263-
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
264-
z-index: 1;
263+
display: none;
264+
position: absolute;
265+
background-color: #fff;
266+
min-width: 160px;
267+
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
268+
z-index: 1;
265269
}
266270

267271
.dropdown-content a {
268-
color: black;
269-
padding: 12px 16px;
270-
text-decoration: none;
271-
display: block;
272+
color: #000;
273+
padding: 10px 15px;
274+
text-decoration: none;
275+
display: block;
272276
}
273277

274278
.dropdown-content a:hover {
275-
background-color: #f1f1f1
279+
background-color: #f2f2f2;
276280
}
277281

278282
.dropdown:hover .dropdown-content {
279-
display: block;
280-
}
281-
282-
.dropdown:hover .dropbtn {
283-
background-color: #3e8e41;
283+
display: block;
284284
}
285285

286286
@media only screen and (max-width: 992px) {
@@ -378,11 +378,6 @@ nav > ul li a:active {
378378
text-align: center;
379379
}
380380

381-
}
382-
383-
.playStore {
384-
height: 75px;
385-
margin-right: 24px;
386381
}
387382

388383
@media only screen and (max-width: 992px) {

0 commit comments

Comments
 (0)