Spaces:
No application file
No application file
Create style.css
Browse files
style.css
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
@use "@material";
|
| 16 |
+
body {
|
| 17 |
+
font-family: roboto;
|
| 18 |
+
margin: 2em;
|
| 19 |
+
color: #3d3d3d;
|
| 20 |
+
--mdc-theme-primary: #007f8b;
|
| 21 |
+
--mdc-theme-on-primary: #f1f3f4;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
h1 {
|
| 25 |
+
color: #007f8b;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
h2 {
|
| 29 |
+
clear: both;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
em {
|
| 33 |
+
font-weight: bold;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
video {
|
| 37 |
+
clear: both;
|
| 38 |
+
display: block;
|
| 39 |
+
transform: rotateY(180deg);
|
| 40 |
+
-webkit-transform: rotateY(180deg);
|
| 41 |
+
-moz-transform: rotateY(180deg);
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
section {
|
| 45 |
+
opacity: 1;
|
| 46 |
+
transition: opacity 500ms ease-in-out;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
header,
|
| 50 |
+
footer {
|
| 51 |
+
clear: both;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.removed {
|
| 55 |
+
display: none;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.invisible {
|
| 59 |
+
opacity: 0.2;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
.note {
|
| 63 |
+
font-style: italic;
|
| 64 |
+
font-size: 130%;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.videoView,
|
| 68 |
+
.detectOnClick {
|
| 69 |
+
position: relative;
|
| 70 |
+
float: left;
|
| 71 |
+
width: 48%;
|
| 72 |
+
margin: 2% 1%;
|
| 73 |
+
cursor: pointer;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
.videoView p,
|
| 77 |
+
.detectOnClick p {
|
| 78 |
+
position: absolute;
|
| 79 |
+
padding: 5px;
|
| 80 |
+
background-color: #007f8b;
|
| 81 |
+
color: #fff;
|
| 82 |
+
border: 1px dashed rgba(255, 255, 255, 0.7);
|
| 83 |
+
z-index: 2;
|
| 84 |
+
font-size: 12px;
|
| 85 |
+
margin: 0;
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
.highlighter {
|
| 89 |
+
background: rgba(0, 255, 0, 0.25);
|
| 90 |
+
border: 1px dashed #fff;
|
| 91 |
+
z-index: 1;
|
| 92 |
+
position: absolute;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
.canvas {
|
| 96 |
+
z-index: 1;
|
| 97 |
+
position: absolute;
|
| 98 |
+
pointer-events: none;
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
.output_canvas {
|
| 102 |
+
transform: rotateY(180deg);
|
| 103 |
+
-webkit-transform: rotateY(180deg);
|
| 104 |
+
-moz-transform: rotateY(180deg);
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
.detectOnClick {
|
| 108 |
+
z-index: 0;
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
.detectOnClick img {
|
| 112 |
+
width: 100%;
|
| 113 |
+
}
|