generated from github/codespaces-blank
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
86 lines (86 loc) · 1.75 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
82
83
84
85
86
* {
margin: 0;
padding: 0;
list-style: none;
text-decoration: none;
}
body {
font-family: Georgia, 'Times New Roman', Times, serif;
background-image: url('https://wallpaperaccess.com/full/1092587.jpg');
background-repeat: no-repeat;
}
#loading {
position: fixed;
width: 100%;
height: 100%;
background: black
url('https://i.pinimg.com/originals/70/eb/0b/70eb0b53eb57c91db403928c5d02a19a.gif')
no-repeat center;
z-index: 1;
}
nav {
height: 70px;
background: linear-gradient(rgb(46, 13, 233), rgb(29, 247, 255));
user-select: none;
cursor: none;
}
.logo {
font-family: 'Times New Roman', Times, serif;
padding: 55px;
font-size: 41px;
font-weight: bold;
line-height: 70px;
color: gray;
user-select: none;
}
nav ul {
float: right;
margin-right: 30px;
}
nav ul li {
display: inline-block;
}
nav ul li a {
color: red;
display: block;
padding: 0 15px;
line-height: 70px;
font-size: 20px;
background: linear-gradient(rgb(46, 13, 233), rgb(29, 247, 255));
transition: 1s;
}
nav ul li a:active,
nav ul li a:hover {
color: rgb(8, 253, 0);
}
nav ul ul {
position: absolute;
top: 85px;
border-top: 1px solid rgb(0, 247, 255);
opacity: 0;
visibility: hidden;
}
nav ul li:hover > ul {
top: 70px;
opacity: 1;
visibility: visible;
transition: 0.2s linear;
}
nav ul ul li {
width: 150px;
display: list-item;
position: relative;
border: 1px solid rgb(0, 247, 255);
border-top: none;
}
nav ul ul li a {
line-height: 50px;
}
nav ul ul ul {
border-top: none;
}
nav ul ul ul li {
position: relative;
top: -70px;
left: 150px;
}