-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcritical.css
More file actions
66 lines (56 loc) · 1.2 KB
/
Copy pathcritical.css
File metadata and controls
66 lines (56 loc) · 1.2 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
/* Critical CSS - Inline in index.html for fastest first paint */
/* Reset and base styles */
html,
body {
margin: 0;
padding: 0;
scroll-behavior: smooth;
overflow-x: hidden;
}
body {
font: 19px/23px Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Loading component - critical for code splitting UX */
.loading-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
background-color: #fff;
}
.loading-spinner {
width: 50px;
height: 50px;
border: 4px solid #f3f3f3;
border-top: 4px solid #6c63ff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.loading-text {
margin-top: 20px;
font-size: 16px;
color: #333;
}
/* Root element */
#root {
min-height: 100vh;
}
/* Mobile responsive */
@media (max-width: 1380px) {
html,
body {
font-size: 16px;
line-height: normal;
}
}