Arsooo commited on
Commit
79c3ef9
·
1 Parent(s): d4e8f8a

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +140 -17
style.css CHANGED
@@ -1,28 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
4
  }
5
 
6
  h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Copyright 2023 The MediaPipe Authors.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License. */
14
+
15
+ /* Copyright 2022 The MediaPipe Authors.
16
+
17
+ Licensed under the Apache License, Version 2.0 (the "License");
18
+ you may not use this file except in compliance with the License.
19
+ You may obtain a copy of the License at
20
+
21
+ http://www.apache.org/licenses/LICENSE-2.0
22
+
23
+ Unless required by applicable law or agreed to in writing, software
24
+ distributed under the License is distributed on an "AS IS" BASIS,
25
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26
+ See the License for the specific language governing permissions and
27
+ limitations under the License. */
28
+
29
+ @use "@material";
30
  body {
31
+ font-family: helvetica, arial, sans-serif;
32
+ margin: 2em;
33
+ color: #3d3d3d;
34
+ --mdc-theme-primary: #007f8b;
35
+ --mdc-theme-on-primary: #f1f3f4;
36
  }
37
 
38
  h1 {
39
+ font-style: italic;
40
+ color: #ff6f00;
41
+ color: #007f8b;
42
+ }
43
+
44
+ h2 {
45
+ clear: both;
46
  }
47
 
48
+ em {
49
+ font-weight: bold;
 
 
 
50
  }
51
 
52
+ video {
53
+ clear: both;
54
+ display: block;
55
+ transform: rotateY(180deg);
56
+ -webkit-transform: rotateY(180deg);
57
+ -moz-transform: rotateY(180deg);
58
  }
59
 
60
+ section {
61
+ opacity: 1;
62
+ transition: opacity 500ms ease-in-out;
63
  }
64
+
65
+ header,
66
+ footer {
67
+ clear: both;
68
+ }
69
+
70
+ .removed {
71
+ display: none;
72
+ }
73
+
74
+ .invisible {
75
+ opacity: 0.2;
76
+ }
77
+
78
+ .note {
79
+ font-style: italic;
80
+ font-size: 130%;
81
+ }
82
+
83
+ .videoView,
84
+ .detectOnClick,
85
+ .blend-shapes {
86
+ position: relative;
87
+ float: left;
88
+ width: 48%;
89
+ margin: 2% 1%;
90
+ cursor: pointer;
91
+ }
92
+
93
+ .videoView p,
94
+ .detectOnClick p {
95
+ position: absolute;
96
+ padding: 5px;
97
+ background-color: #007f8b;
98
+ color: #fff;
99
+ border: 1px dashed rgba(255, 255, 255, 0.7);
100
+ z-index: 2;
101
+ font-size: 12px;
102
+ margin: 0;
103
+ }
104
+
105
+ .highlighter {
106
+ background: rgba(0, 255, 0, 0.25);
107
+ border: 1px dashed #fff;
108
+ z-index: 1;
109
+ position: absolute;
110
+ }
111
+
112
+ .canvas {
113
+ z-index: 1;
114
+ position: absolute;
115
+ pointer-events: none;
116
+ }
117
+
118
+ .output_canvas {
119
+ transform: rotateY(180deg);
120
+ -webkit-transform: rotateY(180deg);
121
+ -moz-transform: rotateY(180deg);
122
+ }
123
+
124
+ .detectOnClick {
125
+ z-index: 0;
126
+ }
127
+
128
+ .detectOnClick img {
129
+ width: 100%;
130
+ }
131
+
132
+ .blend-shapes-item {
133
+ display: flex;
134
+ align-items: center;
135
+ height: 20px;
136
+ }
137
+
138
+ .blend-shapes-label {
139
+ display: flex;
140
+ width: 120px;
141
+ justify-content: flex-end;
142
+ align-items: center;
143
+ margin-right: 4px;
144
+ }
145
+
146
+ .blend-shapes-value {
147
+ display: flex;
148
+ height: 16px;
149
+ align-items: center;
150
+ background-color: #007f8b;
151
+ }