-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
127 lines (110 loc) · 2.04 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
}
.header{
width: 100%;
height: 100vh;
background: #000942;
padding-left: 11%;
padding-right: 8%;;
position: relative;
background-image: url(photo.png);
background-size: 38%;
/* background-size: cover; */
background-repeat: no-repeat;
background-position: 92% 100%;
}
.top-nav{
display: flex;
align-items: center;
justify-content: space-between;
padding: 30px 0 15px;
border-bottom: 1px solid #bababa;
}
.top-nav ul li{
list-style: none;
display: inline-block;
margin-right: 30px;
margin-top: 10px;
margin-bottom: 10px;
}
.top-nav ul li a{
text-decoration: none;
color: #fff;
font-size: 15px;
}
.top-nav button{
background: #e91e63;
color: #fff;
border: 0;
outline: 0;
border-radius: 30px;
padding: 10px 20px;
cursor: pointer;
}
.side-nav{
position: fixed;
background-color: #e91e63;
left: 0;
top: 0;
width: 100px;
height: 100vh;
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: column;
padding: 50px 0;
background: linear-gradient(#00bcd4,#e91e63,#3f51b5,#00bcd4);
background-size: 100% 500%;
background-position: 0% 40%;
}
.side-nav:hover{
animation: backcolor 20s linear infinite reverse;
}
@keyframes backcolor {
0%{
background-position: 0 0%;
}
100%{
background-position: 0 400%;
}
}
.side-nav .logo{
width: 60px;
cursor: pointer;
}
.side-nav a{
text-decoration: none;
color: #fff;
transform: rotate(-90deg) translateX(50%);
width: max-content;
}
.text-box{
margin-top: 20%;
font-size: 18px;
color: #fff;
}
.text-box h1{
font-weight: 500;
font-size: 86px;
max-width: 550px;
line-height: 95px;
margin-top: 10px;
margin-bottom: 30px;
}
.text-box .icon{
background: #e91e63;
width: 70px;
height: 70px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.text-box .icon img{
width: 15px;
}