-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
77 lines (67 loc) · 1.18 KB
/
styles.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
* {
box-sizing: border-box;
}
.fixed-block {
display: flex;
position: fixed;
background-color: #1c0c5b;
height: 60px;
width: 100%;
}
.nav-title {
font-family: 'Sigmar One', cursive;
width: 30%;
text-align: center;
line-height: 60px;
margin: 0;
font-size: 36px;
background-image: url(pexels-dids-2911521_1_.webp);
color: transparent;
-webkit-background-clip: text;
animation: movin 40s infinite linear;
}
@keyframes movin {
from {
background-position: 0 0;
}
to {
background-position: 100% 100%;
}
}
.navbar,
.fixed-icons {
display: flex;
margin: auto;
align-items: center;
}
.navbar > li {
list-style: none;
text-transform: uppercase;
margin: 0 30px;
}
.navbar > li > a {
text-decoration: none;
font-family: 'Roboto', sans-serif;
font-size: 14px;
color: #c996cc;
}
.navbar > li > a:hover {
color: #fed270;
transition: color 0.7s linear;
text-decoration: underline;
}
.fixed-icons i {
font-size: 24px;
color: #fed270;
margin: 0 20px;
}
.fixed-icons i:hover {
color: #c996cc;
transition: color 0.4s linear;
animation: back 0.4s linear forwards;
}
@keyframes back {
100% {
transform: rotateY(180deg);
}
}