forked from codeaashu/DevDisplay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
131 lines (112 loc) · 2.27 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
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
@tailwind base;
@tailwind components;
@tailwind utilities;
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700;900&family=Poppins:wght@400;600;700&display=swap');
html {
font-size: 16px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* :root {
--primary-color: rgba(20, 29, 47, 1);
--secondary-color: #1e2a47;
--border-color: rgba(194, 183, 183, 0.1);
--text-color: #fff;
} */
/* light theme */
/* html.light {
--primary-color: rgb(243, 244, 246);
--secondary-color: white;
--border-color: rgba(20, 29, 47, 0.1);
--text-color: rgba(20, 29, 47, 1);
} */
body {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: var(--primary-color);
color: var(--text-color);
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
@media (max-width: 480px) {
html {
font-size: 12px;
}
}
.skeleton {
animation: skeleton-loading 1s linear infinite alternate;
}
@keyframes skeleton-loading {
0% {
background-color: hsl(200, 20%, 80%);
}
100% {
background-color: hsl(200, 20%, 95%);
}
}
@layer utilities {
.paused {
animation-play-state: paused;
}
}
@keyframes marquee {
0% {
transform: translateX(0%);
}
100% {
transform: translateX(-100%);
}
}
@keyframes marquee2 {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(0%);
}
}
.animate-marquee {
animation: marquee 25s linear infinite;
}
.animate-marquee2 {
animation: marquee2 25s linear infinite;
}
.feature-card {
position: relative;
overflow: hidden;
}
/* Create the border effect */
.feature-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border: 3px solid transparent;
border-radius: 10px;
background: conic-gradient(#0ea5e9 20deg, transparent 120deg);
background-size: 400% 400%;
z-index: -1;
animation: rotate 10s linear infinite;
}
@keyframes rotate {
0% {
transform: rotate(0deg) scale(1);
}
100% {
transform: rotate(360deg) scale(1);
}
}
.feature-card-inner {
position: relative;
z-index: 1;
}