-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
156 lines (152 loc) · 2.53 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
*{
margin: 0;
padding: 0;
font-family: sans-serif;
}
.container{
width: 100%;
height: 100vh;
background-image: url(images/background.png);
background-size: cover;
background-position: center;
position: relative;
padding-top: 30px;
box-sizing: border-box;
}
.navbar{
width: 100%;
height: 60px;
display: flex;
align-items: center;
background:rgba(29,33,61,0.5);
padding: 0 60px;
box-sizing: border-box;
}
.logo{
width: 155px;
}
.logo img{
width: 30px;
position: relative;
z-index: 10;
cursor: pointer;
}
nav{
flex: 1;
}
nav ul li{
list-style: none;
display: inline-block;
margin-right: 60px;
}
nav ul li a{
text-decoration: none;
color: #fff;
font-size: 14px;
}
.user{
display: flex;
align-items: center;
color: #fff;
font-size: 14px;
}
.user img{
width: 30px;
margin-left: 15px;
cursor: pointer;
border-radius: 50%;
}
.sidebar{
width: 155px;
height: 100vh;
background: rgba(29,31,58,0.5);
position: absolute;
top: 0;
left: 0;
}
.search-icon{
width: 30px;
display: block;
margin: 120px auto 0;
}
.social-links{
width: 20px;
display: block;
margin: 220px auto 0;
text-align: center;
}
.social-links img{
height: 15px;
margin-bottom: 30px;
}
.info-icon{
width: 20px;
position: absolute;
left: 50%;
bottom: 30px;
transform: translateX(-50%);
}
.msg-container{
width: 600px;
height: 280px;
position: absolute;
left: 14%;
top: 57%;
transform: translateY(-50%);
overflow: hidden;
}
#slider{
display: inline-flex;
transition: 0.5s;
}
.msg-col{
width: 600px;
height: 280px;
}
.msg-col h1{
color: #fff;
font-size: 80px;
font-weight: 100;
margin: 10px 0;
}
.msg-col p{
color: #ddd;
font-size: 15px;
line-height: 25px;
}
.msg-col a{
display: inline-block;
text-decoration: none;
color: #555;
background: #fff;
font-size: 15px;
padding: 10px 35px;
border-radius: 30px;
margin-top: 25px;
}
.controller{
width: 1px;
height: 320px;
display: block;
background: #c0c0c0;
position: absolute;
top: 55%;
right: 50px;
transform: translateY(-50%);
}
#line1,#line2,#line3,#line4{
height: 80px;
width: 10px;
cursor: pointer;
transform: translateY(-50%);
}
#active{
width: 5px;
height: 80px;
border-radius: 10px;
background: #fff;
position: absolute;
top: 0;
transform: translateX(-50%);
transition: 0.5s;
}