-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylenav.css
More file actions
162 lines (129 loc) · 2.28 KB
/
stylenav.css
File metadata and controls
162 lines (129 loc) · 2.28 KB
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
157
158
159
160
161
162
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
a{
text-decoration: none;
}
.hero{
width: 100%;
height: 100vh;
background-size: cover;
}
nav{
display: block;
align-items: center;
justify-content: space-between;
padding: 30px 100px;
}
nav ul li{
list-style: none;
display: inline-block;
padding: 10px 20px;
}
nav ul li a{
color: #1d1d24;
position: relative;
padding: 5px 0;
}
nav ul li a:hover{
color: #fd4766;
}
nav ul li a:after{
content: "";
position: absolute;
left: 0;width: 0;
height: 3px;
background: #fd4766;
transition: .3s;
bottom: 0;
}
nav ul li a:hover:after{
width: 100%;
}
.icon-bar {
position: fixed;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
.icon-bar a {
display: block;
text-align: center;
padding: 16px;
transition: all 0.3s ease;
color: white;
font-size: 20px;
}
.icon-bar a:hover {
background: #000;
}
.facebook {
background: #3B5998;
color: white;
}
.twitter {
background: #55ACEE;
color: white;
}
.linkedin {
background: #007bb5;
color: white;
}
.instagram {
background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
color: white;
}
.content {
padding: 16px;
}
.sticky {
position: fixed;
top: 0;
width: 100%;
}
.sticky + .content {
padding-top: 60px;
}
.nvb {
transition: all 1 ease;
padding: 16px;
z-index: 2;
}
.back_to_top {
position: fixed;
bottom: 25px;
right: 25px;
display: none;
}
#scbutton {
display: inline-block;
background-color:#dc3545;
width: 50px;
height: 50px;
line-height:60px;
text-align: center;
border-radius: 4px;
position: fixed;
bottom: 30px;
right: 30px;
transition: background-color .3s,
opacity .5s, visibility .5s;
opacity: 0;
z-index: 1000;
}
#scbutton i{
font-size:32px;
color:white;
}
#scbutton:hover {
cursor: pointer;
background-color: #333;
}
#scbutton.show {
opacity: 1;
}