Spaces:
Running

shruti-browser / space_v3.css
jiteshkprasad's picture
shruti-browser: v3 look (brand v3 theme, family colour, light and dark), founder go 1 Dec 2026
e22e8a5 verified
Raw History Blame Contribute Delete
9.94 kB
/* Udgam Labs BRAND v3 for static Hugging Face Spaces. Generated by gradio_theme.py; do not edit by hand.
<body class="ul-root" data-family="sage"> with the page in <div class="ul-page">. Fonts: the HEAD link in
gradio_theme.py. Dark mode follows the visitor's setting; data-theme="light" or "dark" on body forces one. */
:root { color-scheme: light dark; }
body.ul-root { margin:0; background:var(--ul-paper); color:var(--ul-text); }
.ul-page { max-width:1312px; margin:0 auto; padding:0 24px; }
@media (max-width:640px) { .ul-page { padding:0 16px; } }
[data-family="marigold"] {
/* family colours; .dark is Gradio's dark-mode class (the visitor's setting) */
--f-deep:#8F5E10; --f-base:#F2BD57; --f-tint:#FBE9C3; --f-light:#F7D48B;
--ul-ink:#1C1B18; --ul-text:#1C1B18; --ul-text-2:#3F3C36; --ul-label:#5E5C57; --ul-muted:#8F8A7E;
--ul-paper:#FAF6EE; --ul-card:#FFFFFF; --ul-ivory:#F3EFE6; --ul-lift:0 8px 0 rgba(28,27,24,.06);
--ul-serif:'Newsreader', Georgia, 'Times New Roman', serif; --ul-sans:'Figtree', 'Helvetica Neue', Arial, sans-serif; --ul-mono:'IBM Plex Mono', Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) { [data-family="marigold"]:not([data-theme="light"]) {
--f-deep:#F2C46B; --f-tint:#2E2718; --f-light:#3A311E;
--ul-text:#F3EFE6; --ul-text-2:#C9C3B6; --ul-label:#A39D90; --ul-muted:#8F8A7E;
--ul-paper:#1C1B18; --ul-card:#26241F; --ul-ivory:#26241F; --ul-lift:none;
} }
[data-family="marigold"][data-theme="dark"] {
--f-deep:#F2C46B; --f-tint:#2E2718; --f-light:#3A311E;
--ul-text:#F3EFE6; --ul-text-2:#C9C3B6; --ul-label:#A39D90; --ul-muted:#8F8A7E;
--ul-paper:#1C1B18; --ul-card:#26241F; --ul-ivory:#26241F; --ul-lift:none;
}
[data-family="sage"] {
/* family colours; .dark is Gradio's dark-mode class (the visitor's setting) */
--f-deep:#3F6B4C; --f-base:#9CC2A1; --f-tint:#DFEDDD; --f-light:#B7D5BA;
--ul-ink:#1C1B18; --ul-text:#1C1B18; --ul-text-2:#3F3C36; --ul-label:#5E5C57; --ul-muted:#8F8A7E;
--ul-paper:#FAF6EE; --ul-card:#FFFFFF; --ul-ivory:#F3EFE6; --ul-lift:0 8px 0 rgba(28,27,24,.06);
--ul-serif:'Newsreader', Georgia, 'Times New Roman', serif; --ul-sans:'Figtree', 'Helvetica Neue', Arial, sans-serif; --ul-mono:'IBM Plex Mono', Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) { [data-family="sage"]:not([data-theme="light"]) {
--f-deep:#8FCB9E; --f-tint:#1F2A22; --f-light:#26342A;
--ul-text:#F3EFE6; --ul-text-2:#C9C3B6; --ul-label:#A39D90; --ul-muted:#8F8A7E;
--ul-paper:#1C1B18; --ul-card:#26241F; --ul-ivory:#26241F; --ul-lift:none;
} }
[data-family="sage"][data-theme="dark"] {
--f-deep:#8FCB9E; --f-tint:#1F2A22; --f-light:#26342A;
--ul-text:#F3EFE6; --ul-text-2:#C9C3B6; --ul-label:#A39D90; --ul-muted:#8F8A7E;
--ul-paper:#1C1B18; --ul-card:#26241F; --ul-ivory:#26241F; --ul-lift:none;
}
[data-family="sky"] {
/* family colours; .dark is Gradio's dark-mode class (the visitor's setting) */
--f-deep:#345C9E; --f-base:#9DB9E6; --f-tint:#DFE8F7; --f-light:#B9CEF0;
--ul-ink:#1C1B18; --ul-text:#1C1B18; --ul-text-2:#3F3C36; --ul-label:#5E5C57; --ul-muted:#8F8A7E;
--ul-paper:#FAF6EE; --ul-card:#FFFFFF; --ul-ivory:#F3EFE6; --ul-lift:0 8px 0 rgba(28,27,24,.06);
--ul-serif:'Newsreader', Georgia, 'Times New Roman', serif; --ul-sans:'Figtree', 'Helvetica Neue', Arial, sans-serif; --ul-mono:'IBM Plex Mono', Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) { [data-family="sky"]:not([data-theme="light"]) {
--f-deep:#93B9E6; --f-tint:#1C2530; --f-light:#232F3D;
--ul-text:#F3EFE6; --ul-text-2:#C9C3B6; --ul-label:#A39D90; --ul-muted:#8F8A7E;
--ul-paper:#1C1B18; --ul-card:#26241F; --ul-ivory:#26241F; --ul-lift:none;
} }
[data-family="sky"][data-theme="dark"] {
--f-deep:#93B9E6; --f-tint:#1C2530; --f-light:#232F3D;
--ul-text:#F3EFE6; --ul-text-2:#C9C3B6; --ul-label:#A39D90; --ul-muted:#8F8A7E;
--ul-paper:#1C1B18; --ul-card:#26241F; --ul-ivory:#26241F; --ul-lift:none;
}
[data-family="peach"] {
/* family colours; .dark is Gradio's dark-mode class (the visitor's setting) */
--f-deep:#8A4F2A; --f-base:#F5C3A5; --f-tint:#FBE4D6; --f-light:#F9D6C0;
--ul-ink:#1C1B18; --ul-text:#1C1B18; --ul-text-2:#3F3C36; --ul-label:#5E5C57; --ul-muted:#8F8A7E;
--ul-paper:#FAF6EE; --ul-card:#FFFFFF; --ul-ivory:#F3EFE6; --ul-lift:0 8px 0 rgba(28,27,24,.06);
--ul-serif:'Newsreader', Georgia, 'Times New Roman', serif; --ul-sans:'Figtree', 'Helvetica Neue', Arial, sans-serif; --ul-mono:'IBM Plex Mono', Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) { [data-family="peach"]:not([data-theme="light"]) {
--f-deep:#F5C3A5; --f-tint:#2F241D; --f-light:#3B2D24;
--ul-text:#F3EFE6; --ul-text-2:#C9C3B6; --ul-label:#A39D90; --ul-muted:#8F8A7E;
--ul-paper:#1C1B18; --ul-card:#26241F; --ul-ivory:#26241F; --ul-lift:none;
} }
[data-family="peach"][data-theme="dark"] {
--f-deep:#F5C3A5; --f-tint:#2F241D; --f-light:#3B2D24;
--ul-text:#F3EFE6; --ul-text-2:#C9C3B6; --ul-label:#A39D90; --ul-muted:#8F8A7E;
--ul-paper:#1C1B18; --ul-card:#26241F; --ul-ivory:#26241F; --ul-lift:none;
}
.ul-root, .ul-root * { font-family: var(--ul-sans); }
.ul-root code, .ul-root pre, .ul-root .ul-mono { font-family: var(--ul-mono) !important; }
.ul-root a { color: var(--f-deep); }
/* top bar: the lockup left, link pills right */
.ul-top { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding:22px 0 20px; }
.ul-top .ul-lockup { display:inline-flex; color:var(--ul-text); text-decoration:none; }
.ul-top .ul-lockup svg { height:30px; width:auto; display:block; }
.ul-links { display:flex; gap:8px; flex-wrap:wrap; }
.ul-pill { display:inline-block; border-radius:999px; padding:9px 18px; font-size:15px; font-weight:500; line-height:1.3;
white-space:nowrap; text-decoration:none; color:var(--ul-text); background:var(--ul-card); }
a.ul-pill { color:var(--ul-text) !important; text-decoration:none !important; }
a.ul-pill:hover { background:var(--f-tint); }
/* hero: the family tint, one large circle in the light shade, a kind pill, the name, one line, three facts */
.ul-hero { position:relative; overflow:hidden; background:var(--f-tint); border-radius:44px; padding:44px 52px 46px; }
.ul-hero .ul-circle { position:absolute; width:600px; height:600px; right:-300px; top:-300px; border-radius:50%;
background:var(--f-light); pointer-events:none; }
.ul-hero > *:not(.ul-circle) { position:relative; }
.ul-hero .ul-kind { background:var(--ul-card); color:var(--f-deep); }
.ul-hero h1 { font-family:var(--ul-serif) !important; font-weight:500; font-size:84px; line-height:1; letter-spacing:-0.025em;
color:var(--ul-text); margin:18px 0 0; padding:0; border:0; }
.ul-hero p { font-size:21px; line-height:1.45; margin:16px 0 0; max-width:760px; color:var(--ul-text-2); }
.ul-facts { display:flex; gap:10px; flex-wrap:wrap; margin-top:22px; }
/* cards and panels */
.ul-card { background:var(--ul-card) !important; border-radius:28px !important; box-shadow:var(--ul-lift) !important;
padding:28px !important; }
.ul-panel { background:var(--f-tint) !important; border-radius:28px !important; padding:20px !important; }
.ul-h2 { font-family:var(--ul-serif) !important; font-weight:500; font-size:32px; line-height:1.15; letter-spacing:-0.02em;
color:var(--ul-text); margin:0; }
.ul-note { color:var(--ul-label); font-size:14px; line-height:1.5; margin:12px 0 0; }
.ul-label { color:var(--ul-label); font-size:15px; font-weight:500; margin:0 0 10px; text-transform:none; letter-spacing:0; }
/* "Where it falls short": an ivory panel */
.ul-falls { background:var(--ul-ivory); border-radius:28px; padding:28px 34px; }
.ul-falls h2 { font-family:var(--ul-serif) !important; font-weight:500; font-size:28px; letter-spacing:-0.02em;
color:var(--ul-text); margin:0; border:0; padding:0; }
.ul-falls p { font-size:16px; line-height:1.55; color:var(--ul-text-2); margin:10px 0 0; max-width:none; }
.ul-falls h3 { font-size:16px; font-weight:600; color:var(--ul-text); margin:18px 0 0; }
.ul-falls ul { margin:8px 0 0; padding-left:20px; color:var(--ul-text-2); font-size:16px; line-height:1.55; }
.ul-falls li { margin-top:8px; }
.ul-falls li::marker { color:var(--f-deep); }
/* footer */
.ul-foot { padding:28px 0 36px; font-size:14px; color:var(--ul-label); }
.ul-foot .ul-foot-links { line-height:1.8; margin-bottom:14px; }
.ul-foot .ul-sign { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.ul-foot a { color:var(--ul-text-2); }
/* a gallery of real outputs with their prompts */
.ul-gallery { display:grid; grid-template-columns:repeat(auto-fill, minmax(170px, 1fr)); gap:16px; margin-top:16px; }
.ul-gallery figure { margin:0; }
.ul-gallery img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:12px; display:block; }
.ul-gallery figcaption { font-size:14px; line-height:1.4; color:var(--ul-label); margin-top:8px; }
/* static Spaces: buttons and fields */
.ul-btn { display:inline-block; border:0; border-radius:999px; background:var(--f-base); color:#1C1B18; font-weight:600;
font-size:18px; padding:16px 28px; cursor:pointer; }
.ul-btn:hover { background:var(--f-light); color:#1C1B18; }
.ul-field { background:var(--ul-paper); color:var(--ul-text); border:2px solid transparent; border-radius:12px; padding:14px 16px;
font-size:17px; }
.ul-field:focus { outline:none; border-color:var(--f-base); }
.ul-chip { display:inline-block; border-radius:999px; padding:8px 16px; font-size:14px; background:var(--f-tint);
color:var(--ul-text); border:0; cursor:pointer; }
@media (max-width: 640px) {
.ul-top { padding:14px 0 14px; }
.ul-top .ul-lockup svg { height:24px; }
.ul-pill { padding:7px 14px; font-size:14px; }
.ul-hero { border-radius:28px; padding:26px 22px 28px; }
.ul-hero .ul-circle { width:320px; height:320px; right:-170px; top:-170px; }
.ul-hero h1 { font-size:52px; }
.ul-hero p { font-size:17px; }
.ul-card { padding:20px !important; }
.ul-falls { padding:22px 22px; }
.ul-gallery { grid-template-columns:repeat(2, 1fr); gap:12px; }
}