-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (100 loc) · 1.91 KB
/
style.css
File metadata and controls
115 lines (100 loc) · 1.91 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #010101;
color: white;
font-family: 'Inter', sans-serif;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
#app {
width: 100%;
max-width: 450px;
height: 100vh;
position: relative;
overflow-y: scroll;
scroll-snap-type: y mandatory;
scrollbar-width: none; /* Hide scrollbar for Firefox */
}
#app::-webkit-scrollbar {
display: none; /* Hide scrollbar for Chrome/Safari */
}
.video-container {
width: 100%;
height: 100vh;
scroll-snap-align: start;
position: relative;
background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
}
.video-placeholder {
width: 100%;
height: 100%;
object-fit: cover;
background: #111;
display: flex;
justify-content: center;
align-items: center;
font-size: 2rem;
font-weight: bold;
color: #444;
}
.overlay {
position: absolute;
bottom: 20px;
left: 20px;
right: 70px;
z-index: 10;
}
.username {
font-weight: bold;
font-size: 1.1rem;
margin-bottom: 8px;
}
.description {
font-size: 0.95rem;
line-height: 1.4;
color: #eee;
}
.sidebar {
position: absolute;
right: 15px;
bottom: 100px;
display: flex;
flex-direction: column;
gap: 20px;
align-items: center;
}
.action-btn {
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
cursor: pointer;
transition: transform 0.2s;
}
.action-btn:hover {
transform: scale(1.1);
}
.icon {
font-size: 1.8rem;
}
.count {
font-size: 0.8rem;
font-weight: bold;
}
.music-note {
position: absolute;
bottom: 20px;
right: 20px;
animation: rotate 3s linear infinite;
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}