-
Notifications
You must be signed in to change notification settings - Fork 0
/
website.css
92 lines (80 loc) · 1.42 KB
/
website.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
/* css reset */
*{
margin: 0px;
padding: 0px;
color: white;
}
body{
background: url(back1.jpg);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
nav{
background: #1b1b1b;
}
nav::after{
content: '';
clear: both;
display: table;
}
nav ul{
float: right;
list-style: none;
margin-right: 40px;
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: 9px;
box-shadow: 0 0 5px #33ffff;
}
nav ul ul li a:hover{
color: cyan;
box-shadow: none;
}
nav ul ul{
position: absolute;
top: 90px;
border-top: 3px solid cyan;
opacity: 0;
visibility: hidden;
transition: 0.3s;
}
nav ul li:hover>ul{
top: 70px;
opacity: 1;
visibility: visible;
}
nav ul ul ul{
border-top: none;
}
nav ul ul li{
position: relative;
margin: 0px;
width: 150px;
float: none;
display: list-item;
border-bottom: 1px solid rgba(0,0,0,0.3);
}
nav ul ul li a{
line-height: 50px;
}
nav ul ul ul li{
position: relative;
top: -70px;
left: 150px;
}