-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
184 lines (151 loc) · 2.86 KB
/
style.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
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
@import url('https://fonts.googleapis.com/css2?family=Syne+Mono&display=swap');
body {
/* font-family: 'Syne Mono', monospace; */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
/* color: #2c3e50; */
/* margin: 80px 10px; */
background-color: #f2f2f2;
color: #444444;
}
main {
height: 85vh;
}
/* footer {
background-color: #2f3841;
position: fixed;
} */
#chatOption {
padding-top: 5 0px;
}
#chatOption p {
padding-top: 20px;
}
/* Style the translated text */
#translatedText {
background-color: gainsboro;
margin: 1rem 0;
color: #2c3e50;
}
#translatedText p {
font-size: 1rem;
}
.videos {
display: flex;
justify-content: space-evenly;
margin-bottom: 20px;
margin-top: 50px;
}
.videos span {
display: block;
text-align: center;
}
.videos h3 {
font-size: 16px;
font-weight: bold;
margin-bottom: 10px;
}
.videos video {
width: 40vh;
max-width: 300px;
height: auto;
background-color: #444444;
}
#translatedText {
background-color: #f2f2f2;
border: 1px solid #ccc;
border-radius: 4px;
padding: 10px;
margin-top: 20px;
}
#translatedText p {
font-size: 16px;
font-weight: bold;
margin: 0;
}
@media screen and (max-width: 768px) {
.videos {
flex-direction: column;
}
.videos span {
margin-bottom: 20px;
}
#remote {
margin-top: 20px;
}
#remote span {
display: block;
text-align: center;
margin-bottom: 10px;
}
#remote video {
width: 100%;
max-width: 100%;
height: auto;
}
#translatedText {
margin-top: 10px;
}
}
.profile-card {
overflow: hidden;
position: relative;
margin-bottom: 10px;
border: 1px solid #000;
}
.profile-card img {
width: 100%;
height: auto;
border: 1px solid red;
transform: scale(1.1, 1.1) translateX(0);
transition: all 0.50s ease 0s;
}
.profile-card:hover img {
transform: scale(1.1, 1.1) translateX(15px);
}
.profile-card .profile-content {
position: absolute;
bottom: 0;
right: 0;
width: 100%;
color: #333;
padding: 20px;
text-align: right;
border-radius: 10px;
background: rgba(255, 255, 255, 0.6);
transform: scale(0.9, 0.9) translateY(100%);
transition: all 0.40s linear 0s;
}
.profile-card:hover .profile-content {
transform: scale(0.9, 0.9) translateY(0);
}
.profile-card .profile-content h3 {
margin: 0 0 10px;
font-size: 25px;
}
.profile-card .profile-content p {
margin: 0 0 10px;
font-size: 15px;
line-height: 24px;
}
.profile-card .profile-content ul {
margin: 0 0 15px;
padding: 0;
}
.profile-card .profile-content ul li {
display: inline-block;
list-style: none;
margin: 0 7px;
}
.profile-card .profile-content ul li a {
display: block;
color: #333;
font-size: 20px;
text-align: center;
transition: all 0.50s linear 0s;
}
.profile-card .profile-content ul li a:hover {
text-decoration: none;
color: #808080;
}