generated from itsjavi/template-react-component-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreview.css
69 lines (58 loc) · 1.52 KB
/
preview.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
:root {
--font-sans: -apple-system, '.SFNSText-Regular', 'San Francisco', 'system-ui', 'Segoe UI', 'Helvetica Neue', Helvetica,
Arial, sans-serif;
--font-heading: -apple-system, '.SFNSText-Regular', 'San Francisco', 'system-ui', 'Segoe UI', 'Helvetica Neue',
Helvetica, Arial, sans-serif;
--font-comic: 'Comic Sans MS', 'Comic Sans', cursive;
--font-mono: 'Monaco', 'Fira Code', monospace;
--font-serif: Times, serif;
}
@keyframes bg-rotator {
0% {
background-image: url('/glasscn-ui/bgs/retro-future-01.png');
}
33% {
background-image: url('/glasscn-ui/bgs/retro-future-04.png');
}
66% {
background-image: url('/glasscn-ui/bgs/retro-future-03.png');
}
100% {
background-image: url('/glasscn-ui/bgs/retro-future-02.png');
}
}
html {
width: 100%;
margin: 0;
padding: 0;
background: url('/glasscn-ui/bgs/retro-future-01.png') no-repeat center center fixed;
background-size: cover;
animation: bg-rotator 40s linear alternate infinite;
/* 10s per image */
}
body {
background: none;
display: flex;
justify-content: center;
align-items: center;
padding: 0;
}
body,
.dark body {
/* background: color-mix(in sRGB, var(--background), transparent 70%); */
background: none;
}
.sb-show-main.sb-main-padded {
padding: 0.5rem;
}
.sbdocs-preview {
background: var(--background) !important;
color: var(--foreground) !important;
}
.sb-bar {
background: var(--background) !important;
color: var(--foreground) !important;
}
.storybook-doc-pages img {
display: inline-block;
}