-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
81 lines (78 loc) · 1.29 KB
/
style.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
background: #f2f2f2;
}
canvas {
z-index: -1;
}
nav {
background: #1b1b1b;
}
.heading {
float: left;
color: white;
font-size: 27px;
font-weight: 600;
line-height: 70px;
padding-left: 60px;
}
nav::after {
content: '';
clear: both;
display: table;
}
nav ul {
float: right;
list-style: none;
margin-right: 90px;
position: relative;
}
nav ul li {
/* float: left; */
display: inline-block;
background: #1b1b1b;
margin: 0 5px;
}
nav ul li a {
color: white;
text-decoration: none;
line-height: 70px;
font-size: 18px;
padding: 8px 15px;
}
nav ul li a:hover {
color: cyan;
border-radius: 5px;
box-shadow: 0 0 5px #33ffff,
0 0 5px #66ffff;
}
nav ul ul {
position: absolute;
top: 70px;
opacity: 0;
visibility: hidden;
}
nav ul li:hover > ul {
opacity: 1;
visibility: visible;
}
nav ul ul li {
position: relative;
margin: 0px;
width: auto;
float: none;
display: list-item;
border-bottom: 1px solid rgba(0,0,0,0.3);
}
nav ul ul li a {
color: white;
line-height: 50px;
width: auto;
font-size: 14px;
padding: 8px 15px;
}