-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (109 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
}
.hero{
width: 100%;
min-height: 100vh;
background: #eceaff;
color: #525252;
}
nav{
background: #1a1a1a;
width: 100%;
padding: 10px 10%;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
}
.logo{
width: 120px;
}
.user-pic{
width: 40px;
border-radius: 50%;
cursor: pointer;
margin-left: 30px;
}
nav ul{
width: 100%;
text-align: center;
}
nav ul li{
display: inline-block;
list-style: none;
margin: 10px 20px;
}
nav ul li a{
color: #fff;
text-decoration: none;
}
nav ul li a:hover{
color: #0bffeb;
}
.sub-menu-wrap{
position: absolute;
top: 100%;
right: 10%;
width: 320px;
max-height: 0px;
overflow: hidden;
transition: max-height 0.5s;
}
.sub-menu-wrap.open-menu{
max-height: 400px;
}
.sub-menu{
background: #fff;
padding: 20px;
margin: 10px;
}
.user-info{
display: flex;
align-items: center;
}
.user-info h2{
font-weight: 500;
}
.user-info img{
width: 60px;
border-radius: 50%;
margin-right: 15px;
}
.sub-menu{
border: 0;
height: 1px;
width: 100%;
background: #ccc;
margin: 15px 0 10px;
}
.sub-menu-link{
display: flex;
align-items: center;
text-decoration:none;
color: #525252;
margin: 12px 0;
}
.sub-menu-link p{
width: 100%;
}
.sub-menu-link img{
width: 40px;
background: #e5e5e5;
border-radius: 50%;
padding: 8px;
margin-right: 15px;
}
.sub-menu-link span{
font-size: 22px;
transition: transform 0.5s;
}
.sub-menu-link:hover span{
transform: translateX(5px);
}
.sub-menu-link:hover p{
font-weight: 600;
}