Spaces:
Running on Zero
Running on Zero
File size: 2,685 Bytes
29e1b52 | 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 | .gradio-container {
max-width: 1140px !important;
margin: 0 auto !important;
padding: clamp(20px, 4vw, 50px) clamp(15px, 4vw, 42px) !important;
}
.motion-title {
display: flex;
align-items: center;
gap: clamp(14px, 3vw, 23px);
padding: 0 0 22px;
color: #211536;
}
.motion-mark {
display: grid;
flex: none;
place-items: center;
width: clamp(45px, 7vw, 66px);
aspect-ratio: 1;
border: 1px solid #d8c8f1;
border-radius: 20px;
background: #eee5fb;
color: #6c48be;
font-size: clamp(25px, 4vw, 34px);
}
.motion-title h1 {
margin: 0;
font-family: Georgia, serif;
font-size: clamp(3rem, 7vw, 5rem);
font-weight: 400;
line-height: .99;
letter-spacing: -.075em;
}
.motion-title h1 em {
color: #7046c7;
font-weight: 400;
}
.motion-title p {
margin: 9px 0 0;
color: #665876;
font-size: .97rem;
word-break: keep-all;
}
#motion-workspace {
align-items: flex-start;
gap: 16px;
}
.motion-panel {
padding: clamp(15px, 2.5vw, 24px);
border: 1px solid #e6ddef;
border-radius: 20px;
background: #fff;
box-shadow: 0 8px 28px #3c1f6310;
}
.motion-panel h2 {
margin: 0;
color: #271b3d;
font-size: 1.15rem;
font-weight: 680;
}
.motion-panel .editor-heading {
padding-top: 17px;
border-top: 1px solid #ebe4f2;
margin-top: 6px;
}
.input-actions > button {
min-width: 92px;
}
#motion-preview iframe {
display: block;
width: 100%;
height: auto;
aspect-ratio: 4 / 3;
border: 1px solid #e5dbf3;
border-radius: 14px;
background-color: #f6f0ff;
background-image: radial-gradient(#d6c7eb 1px, transparent 1px);
background-size: 18px 18px;
}
#motion-preview .preview-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin-top: 12px;
}
#motion-preview .preview-actions :is(button, a) {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 40px;
padding: 7px 13px;
border: 1px solid #e5dcf1;
border-radius: 9px;
background: #faf7fd;
color: #392465;
font: inherit;
font-size: .86rem;
text-decoration: none;
cursor: pointer;
}
#motion-preview .preview-actions :is(button, a):hover {
background: #eee4fb;
}
#motion-preview .preview-actions :is(button, a):focus-visible {
outline: 2px solid #7046c7;
outline-offset: 2px;
}
#motion-preview .preview-actions a {
margin-inline-start: auto;
background: #eae0fc;
font-weight: 650;
}
@media (max-width: 720px) {
.gradio-container {
padding: 24px 8px !important;
}
.motion-title h1 {
font-size: clamp(2.3rem, 10vw, 3rem);
}
.motion-title p {
font-size: .85rem;
}
#motion-workspace {
flex-direction: column;
align-items: stretch;
}
}
|