Skip to content

Commit 1966d11

Browse files
layout.scss: Slightly update again
Signed-off-by: sunilpaulmathew <sunil.kde@gmail.com>
1 parent 9d0bf65 commit 1966d11

1 file changed

Lines changed: 31 additions & 25 deletions

File tree

docs/_sass/layout.scss

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -241,46 +241,52 @@ nav > ul li a:active {
241241
align-content: flex-start;
242242
}
243243

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

256-
.playStore {
257-
width: 510px;
258-
height: 150px;
259-
margin-right: 24px;
253+
.dropdown {
254+
float: left;
255+
overflow: hidden;
260256
}
261257

262258
.dropdown-content {
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;
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;
269265
}
270266

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

278274
.dropdown-content a:hover {
279-
background-color: #f2f2f2;
275+
background-color: #f1f1f1
280276
}
281277

282278
.dropdown:hover .dropdown-content {
283-
display: block;
279+
display: block;
280+
}
281+
282+
.dropdown:hover .dropbtn {
283+
background-color: #3e8e41;
284+
}
285+
286+
.playStore {
287+
width: 510px;
288+
height: 150px;
289+
margin-right: 24px;
284290
}
285291

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

0 commit comments

Comments
 (0)