-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
91 lines (79 loc) · 1.83 KB
/
index.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
@tailwind base;
@tailwind components;
@tailwind utilities;
@import url('https://fonts.googleapis.com/css?family=Quicksand&display=swap');
* {
font-family: 'Quicksand', sans-serif;
}
.nextra-code * {
font-family: 'Courier New', Courier, monospace !important;
}
@media screen and (prefers-color-scheme: light) {
.omni-logo {
-webkit-text-stroke: #fff !important;
}
}
/* @media (prefers-color-scheme: dark) {
.omni-logo {
-webkit-text-stroke: #fff !important;
}
}
.omni-logo[data-theme='dark'] {
-webkit-text-stroke: #fff !important;
} */
.omni-logo {
font-size: 2rem;
color: transparent;
-webkit-text-stroke: #fff;
-webkit-text-stroke-width: 0.4px;
paint-order: stroke fill;
/* text-shadow:
-0.1px -0.1px 0 #fff,
0 -0.1px 0 #fff,
0.1px -0.1px 0 #fff,
0.1px 0 0 #fff,
0.1px 0.1px 0 #fff,
0 0.1px 0 #fff,
-0.1px 0.1px 0 #fff,
-0.1px 0 0 #fff; */
}
.glowing-element {
text-align: center;
text-decoration: none;
box-sizing: border-box;
background: linear-gradient(90deg, #03a9f4, #441a5, #feb3b, #03a9f4);
background-size: 400%;
border-radius: 10px;
z-index: 1;
position: relative;
}
.glowing-element:hover {
animation: animate 8s linear infinite;
}
.glowing-element:before {
content: '';
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
z-index: -1;
background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
background-size: 400%;
border-radius: 20px;
opacity: 0%;
transition: 0.5s;
}
.glowing-element:hover:before {
filter: blur(50px);
opacity: 1;
animation: animate 8s linear infinite;
}
@keyframes animate {
0% {
background-position: 0%;
}
100% {
background-position: 400%;
}
}