Update style.css
Browse files
style.css
CHANGED
|
@@ -2,28 +2,36 @@ body {
|
|
| 2 |
margin: 0;
|
| 3 |
padding: 0;
|
| 4 |
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 5 |
-
background: transparent;
|
|
|
|
| 6 |
}
|
| 7 |
|
| 8 |
h1 {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
font-size: 16px;
|
| 10 |
-
margin
|
|
|
|
| 11 |
}
|
| 12 |
|
| 13 |
p {
|
| 14 |
-
color:
|
| 15 |
-
font-size:
|
| 16 |
-
margin
|
| 17 |
-
margin-top: 5px;
|
| 18 |
}
|
| 19 |
|
| 20 |
.card {
|
| 21 |
-
max-width:
|
| 22 |
-
margin:
|
| 23 |
-
padding:
|
| 24 |
-
border: 1px solid
|
| 25 |
-
border-radius:
|
| 26 |
-
background:
|
|
|
|
| 27 |
}
|
| 28 |
|
| 29 |
.card p:last-child {
|
|
@@ -31,38 +39,69 @@ p {
|
|
| 31 |
}
|
| 32 |
|
| 33 |
#videoPreview, #canvasOutput {
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
}
|
| 41 |
|
| 42 |
input[type="range"] {
|
| 43 |
width: 100%;
|
| 44 |
-
margin:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
}
|
| 46 |
|
| 47 |
label {
|
| 48 |
font-size: 14px;
|
| 49 |
-
|
| 50 |
}
|
| 51 |
|
| 52 |
button {
|
| 53 |
padding: 8px 16px;
|
| 54 |
-
background: #
|
| 55 |
color: white;
|
| 56 |
border: none;
|
| 57 |
-
border-radius:
|
| 58 |
cursor: pointer;
|
|
|
|
| 59 |
}
|
| 60 |
|
| 61 |
button:hover {
|
| 62 |
-
background: #
|
| 63 |
}
|
| 64 |
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
}
|
|
|
|
| 2 |
margin: 0;
|
| 3 |
padding: 0;
|
| 4 |
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 5 |
+
background: transparent;
|
| 6 |
+
overflow: hidden;
|
| 7 |
}
|
| 8 |
|
| 9 |
h1 {
|
| 10 |
+
font-size: 18px;
|
| 11 |
+
margin: 0 0 10px;
|
| 12 |
+
color: #333;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
h2 {
|
| 16 |
font-size: 16px;
|
| 17 |
+
margin: 10px 0 5px;
|
| 18 |
+
color: #444;
|
| 19 |
}
|
| 20 |
|
| 21 |
p {
|
| 22 |
+
color: #6b7280;
|
| 23 |
+
font-size: 14px;
|
| 24 |
+
margin: 5px 0;
|
|
|
|
| 25 |
}
|
| 26 |
|
| 27 |
.card {
|
| 28 |
+
max-width: 640px;
|
| 29 |
+
margin: 10px auto;
|
| 30 |
+
padding: 20px;
|
| 31 |
+
border: 1px solid #e5e7eb;
|
| 32 |
+
border-radius: 12px;
|
| 33 |
+
background: rgba(255, 255, 255, 0.95);
|
| 34 |
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
| 35 |
}
|
| 36 |
|
| 37 |
.card p:last-child {
|
|
|
|
| 39 |
}
|
| 40 |
|
| 41 |
#videoPreview, #canvasOutput {
|
| 42 |
+
position: absolute;
|
| 43 |
+
top: 0;
|
| 44 |
+
left: 0;
|
| 45 |
+
width: 1920px;
|
| 46 |
+
height: 1080px;
|
| 47 |
+
object-fit: cover;
|
| 48 |
+
z-index: 1;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
#controlPanel {
|
| 52 |
+
position: relative;
|
| 53 |
+
z-index: 2;
|
| 54 |
+
display: none; /* Hidden by default for OBS */
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
#status, #noVideo {
|
| 58 |
+
font-size: 14px;
|
| 59 |
+
color: #dc2626;
|
| 60 |
+
text-align: center;
|
| 61 |
+
margin-top: 10px;
|
| 62 |
}
|
| 63 |
|
| 64 |
input[type="range"] {
|
| 65 |
width: 100%;
|
| 66 |
+
margin: 8px 0;
|
| 67 |
+
accent-color: #3b82f6;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
input[type="radio"],
|
| 71 |
+
input[type="checkbox"] {
|
| 72 |
+
margin-right: 8px;
|
| 73 |
+
accent-color: #3b82f6;
|
| 74 |
}
|
| 75 |
|
| 76 |
label {
|
| 77 |
font-size: 14px;
|
| 78 |
+
color: #374151;
|
| 79 |
}
|
| 80 |
|
| 81 |
button {
|
| 82 |
padding: 8px 16px;
|
| 83 |
+
background: #3b82f6;
|
| 84 |
color: white;
|
| 85 |
border: none;
|
| 86 |
+
border-radius: 6px;
|
| 87 |
cursor: pointer;
|
| 88 |
+
transition: background 0.2s;
|
| 89 |
}
|
| 90 |
|
| 91 |
button:hover {
|
| 92 |
+
background: #2563eb;
|
| 93 |
}
|
| 94 |
|
| 95 |
+
#previewToggle {
|
| 96 |
+
position: fixed;
|
| 97 |
+
top: 10px;
|
| 98 |
+
right: 10px;
|
| 99 |
+
z-index: 3;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
@media (max-width: 640px) {
|
| 103 |
+
.card {
|
| 104 |
+
margin: 10px;
|
| 105 |
+
padding: 15px;
|
| 106 |
+
}
|
| 107 |
}
|