Motion-SVG-Vector / style.css
dodoyy's picture
Deploy Motion SVG from GitHub d9e2636
29e1b52 verified
Raw History Blame Contribute Delete
2.69 kB
.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;
}
}