-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathintro.css
More file actions
199 lines (199 loc) · 9.38 KB
/
Copy pathintro.css
File metadata and controls
199 lines (199 loc) · 9.38 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
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
body { font-family: 'Nunito', Arial, sans-serif; background: linear-gradient(135deg, #f5f6fa 0%, #e0e7ff 100%); margin: 0; }
.slideshow-container {
max-width: 390px;
min-width: 390px;
height: 844px;
min-height: 844px;
margin: 48px auto;
background: #fff;
border-radius: 20px;
box-shadow: 0 4px 32px #bbb8f5;
overflow: hidden;
position: relative;
display: flex;
flex-direction: column;
justify-content: flex-start;
}
.slide, .slide.active {
min-height: 844px;
height: 844px;
width: 390px;
box-sizing: border-box;
padding: 56px 18px 40px 18px;
}
@media (max-width: 450px) {
.slideshow-container, .slide, .slide.active {
max-width: 100vw;
min-width: 100vw;
width: 100vw;
min-height: 100vh;
height: 100vh;
padding: 16px 0 16px 0;
border-radius: 0;
}
.slide img, .slide-iframe iframe {
max-width: 92vw;
border-radius: 10px;
}
.slide-iframe iframe {
width: 92vw;
height: calc(92vw * 2);
max-height: calc(100vh - 140px);
min-height: 320px;
}
.ppt-nav-btns {
flex-direction: column;
gap: 12px;
margin: 16px 0 0 0;
}
.nav-btn {
width: 90vw;
font-size: 1.15em;
padding: 14px 0;
margin: 0 auto;
border-radius: 8px;
}
.slide-title { font-size: 1.5em; }
.slide-subtitle { font-size: 1.1em; }
.slogan-anim { font-size: 1.3em; }
}
.slide { display: none; text-align: center; opacity: 0; transform: translateY(40px) scale(0.98); transition: opacity 0.7s cubic-bezier(.5,1.8,.7,1), transform 0.7s cubic-bezier(.5,1.8,.7,1); }
.slide.active { display: block; opacity: 1; transform: translateY(0) scale(1); animation: fadeIn 0.7s; z-index: 1; }
.slide img, .slide-iframe iframe { max-width: 420px; margin: 24px auto 0; border-radius: 14px; box-shadow: 0 2px 12px #eee; }
.slide-iframe {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
overflow: hidden;
}
.slide-iframe iframe {
width: 360px;
height: 720px;
max-width: 100vw;
max-height: calc(100vh - 200px);
aspect-ratio: 360/720;
border: 2px solid #6366F1;
background: #fff;
transition: box-shadow 0.3s, transform 0.5s cubic-bezier(.5,1.8,.7,1);
box-sizing: border-box;
display: block;
margin: 0 auto;
vertical-align: top;
position: relative;
top: 0;
}
@media (max-width: 450px) {
.slide-iframe iframe {
width: 92vw;
height: calc(92vw * 2);
max-height: calc(100vh - 140px);
min-height: 320px;
margin: 0 auto;
}
}
.slide-iframe .caption { color: #6366F1; font-weight: 600; margin-top: 10px; }
.nav-btn { background: linear-gradient(90deg, #6366F1 0%, #A78BFA 100%); color: #fff; border: none; border-radius: 10px; padding: 12px 32px; margin: 32px 12px 0; cursor: pointer; font-size: 1.1rem; box-shadow: 0 2px 8px #d1d5db; transition: background 0.2s, box-shadow 0.2s; }
.nav-btn:disabled { background: #bbb; cursor: not-allowed; }
.nav-btn:active { transform: scale(0.97); }
.slide-title { color: #6366F1; font-size: 2.2em; font-weight: bold; margin-bottom: 14px; letter-spacing: 1px; }
.slide-subtitle { color: #7c3aed; font-size: 1.3em; margin-bottom: 20px; }
.progress-bar { position: absolute; left: 0; bottom: 0; height: 6px; background: linear-gradient(90deg,#6366F1,#A78BFA); transition: width 0.4s; border-radius: 0 0 10px 10px; }
.fullscreen-btn { position: absolute; top: 16px; right: 18px; background: #fff; color: #6366F1; border: 1px solid #A78BFA; border-radius: 50%; width: 38px; height: 38px; font-size: 1.2em; cursor: pointer; box-shadow: 0 1px 6px #e0e7ff; transition: background 0.2s; z-index: 10; }
.fullscreen-btn:hover { background: #A78BFA; color: #fff; }
.theme-btn { position: absolute; top: 16px; left: 18px; background: #fff; color: #6366F1; border: 1px solid #A78BFA; border-radius: 50%; width: 38px; height: 38px; font-size: 1.2em; cursor: pointer; box-shadow: 0 1px 6px #e0e7ff; transition: background 0.2s; z-index: 10; }
.theme-btn:hover { background: #6366F1; color: #fff; }
body.dark { background: linear-gradient(135deg, #232946 0%, #1a1a2e 100%); }
body.dark .slideshow-container { background: #232946; box-shadow: 0 4px 32px #181824; }
body.dark .slide-title, body.dark .slide-subtitle, body.dark .caption { color: #A78BFA; }
body.dark .nav-btn { background: linear-gradient(90deg,#232946,#6366F1); }
body.dark .slide-iframe iframe, body.dark .slide img { box-shadow: 0 2px 12px #232946; }
body.dark .progress-bar { background: linear-gradient(90deg,#A78BFA,#6366F1); }
.slogan-anim {
animation: sloganPop 1.2s cubic-bezier(.5,1.8,.7,1) 1;
display: inline-block;
background: linear-gradient(90deg,#6366F1,#A78BFA);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 2.3em;
font-weight: bold;
letter-spacing: 2px;
}
@keyframes sloganPop {
0% { opacity: 0; transform: scale(0.7) translateY(40px); }
60% { opacity: 1; transform: scale(1.15) translateY(-8px); }
100% { opacity: 1; transform: scale(1) translateY(0); }
}
.intro-q {
font-size: 1.25em; color: #7c3aed; margin: 18px 0 6px 0; font-weight: 500;
}
.user-story {
background: #f5f6fa; border-left: 5px solid #A78BFA; border-radius: 10px; margin: 28px auto 0; padding: 22px 20px 18px 24px; max-width: 540px; color: #444; box-shadow: 0 2px 10px #ede9fe; font-size: 1.07em;
}
body.dark .user-story { background: #232946; color: #e0e7ff; }
.painpoint-card {
background: #fff7ed; border-left: 5px solid #fb923c; border-radius: 10px; margin: 24px auto 0; padding: 18px 18px 14px 22px; max-width: 540px; color: #b45309; box-shadow: 0 2px 10px #fbbf24; font-size: 1.06em;
animation: cardPop 0.8s cubic-bezier(.5,1.8,.7,1) both;
}
.solution-card {
background: #f0fdf4; border-left: 5px solid #22d3ee; border-radius: 10px; margin: 24px auto 0; padding: 18px 18px 14px 22px; max-width: 540px; color: #047857; box-shadow: 0 2px 10px #99f6e4; font-size: 1.06em;
animation: cardPop 0.8s cubic-bezier(.5,1.8,.7,1) both;
}
.dreamlist {
display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin: 24px 0 0 0; }
.dream-card {
background: #f5f6fa; border-radius: 12px; box-shadow: 0 2px 8px #e0e7ff; padding: 18px 20px; min-width: 180px; max-width: 220px; color: #6366F1; font-weight: 500; font-size: 1.07em; transition: transform 0.2s;
animation: cardPop 0.8s cubic-bezier(.5,1.8,.7,1) both;
}
.dream-card:hover { transform: scale(1.05) rotate(-2deg); background: #ede9fe; }
body.dark .painpoint-card { background: #2d1b06; color: #fbbf24; }
body.dark .solution-card { background: #083344; color: #67e8f9; }
body.dark .dream-card { background: #232946; color: #A78BFA; }
@keyframes cardPop {
0% { opacity: 0; transform: scale(0.85) translateY(30px); }
80% { opacity: 1; transform: scale(1.06) translateY(-6px); }
100% { opacity: 1; transform: scale(1) translateY(0); }
}
.slide.active .feature-card, .slide.active .dream-card, .slide.active .case-card, .slide.active .painpoint-card, .slide.active .solution-card, .slide.active .community-card, .slide.active .growth-card {
animation-delay: 0.25s;
}
.featurelist {
display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin: 30px 0 0 0; }
.feature-card {
background: #e0e7ff; border-radius: 12px; box-shadow: 0 2px 8px #c7d2fe; padding: 20px 22px; min-width: 170px; max-width: 220px; color: #6366F1; font-weight: 500; font-size: 1.08em; transition: transform 0.2s; display: flex; flex-direction: column; align-items: center;
animation: cardPop 0.8s cubic-bezier(.5,1.8,.7,1) both;
}
.feature-card:hover { transform: scale(1.06) rotate(1deg); background: #6366F1; color: #fff; }
.feature-icon { font-size: 2.2em; margin-bottom: 10px; }
.guide-arrow {
animation: arrowMove 1.2s infinite alternate cubic-bezier(.6,1.6,.7,1), arrowFadeIn 1.2s both;
color: #A78BFA; font-size: 2.3em; margin: 14px 0 0 0; }
@keyframes arrowMove { from { transform: translateY(0); } to { transform: translateY(18px); } }
@keyframes arrowFadeIn { from { opacity: 0; } to { opacity: 1; } }
body.dark .feature-card { background: #232946; color: #A78BFA; box-shadow: 0 2px 8px #181824; }
body.dark .feature-card:hover { background: #A78BFA; color: #232946; }
.community-card {
background: #f0f9ff; border-left: 5px solid #38bdf8; border-radius: 10px; margin: 24px auto 0; padding: 18px 18px 14px 22px; max-width: 540px; color: #0ea5e9; box-shadow: 0 2px 10px #bae6fd; font-size: 1.06em;
animation: cardPop 0.8s cubic-bezier(.5,1.8,.7,1) both;
}
.growth-card {
background: #fef9c3; border-left: 5px solid #facc15; border-radius: 10px; margin: 24px auto 0; padding: 18px 18px 14px 22px; max-width: 540px; color: #b45309; box-shadow: 0 2px 10px #fde68a; font-size: 1.06em;
animation: cardPop 0.8s cubic-bezier(.5,1.8,.7,1) both;
}
.case-list { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin: 26px 0 0 0; }
.case-card {
background: #f5f6fa; border-radius: 12px; box-shadow: 0 2px 8px #e0e7ff; padding: 18px 20px; min-width: 180px; max-width: 220px; color: #6366F1; font-size: 1.01em; border-left: 4px solid #A78BFA;
animation: cardPop 0.8s cubic-bezier(.5,1.8,.7,1) both;
}
body.dark .community-card { background: #083344; color: #67e8f9; }
body.dark .growth-card { background: #2d1b06; color: #fbbf24; }
body.dark .case-card { background: #232946; color: #A78BFA; }
.slide-iframe iframe {
animation: iframePop 0.8s cubic-bezier(.5,1.8,.7,1) both;
animation-delay: 0.3s;
}
@keyframes iframePop {
0% { opacity: 0; transform: scale(0.92) translateY(40px); }
80% { opacity: 1; transform: scale(1.03) translateY(-8px); }
100% { opacity: 1; transform: scale(1) translateY(0); }
}