bildbearbeitung / _res /_custom.css
Sebastiankay's picture
Update _res/_custom.css
a6f75e9 verified
@import url('https://fonts.googleapis.com/css2?family=Baloo+Tamma+2:wght@400..800&display=swap');
@font-face {
font-family: "Geist Mono";
src: url("file=_res/assets/webfonts/GeistMono-Thin.woff2") format("woff2");
font-weight: 100;
font-style: normal;
}
@font-face {
font-family: "Geist Mono";
src: url("file=_res/assets/webfonts/GeistMono-Light.woff2") format("woff2");
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: "Geist Mono";
src: url("file=_res/assets/webfonts/GeistMono-Regular.woff2") format("woff2");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: "Geist Mono";
src: url("file=_res/assets/webfonts/GeistMono-SemiBold.woff2") format("woff2");
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: "Geist Mono";
src: url("file=_res/assets/webfonts/GeistMono-Bold.woff2") format("woff2");
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: "Qartella-Light";
src: url("file=_res/assets/webfonts/Qartella-Light.woff2") format("woff2"), url("file=_res/assets/webfonts/Qartella-Light.woff") format("woff");
font-weight: normal;
font-style: light;
}
@font-face {
font-family: "Qartella-Bold";
src: url("file=_res/assets/webfonts/Qartella-Bold.woff2") format("woff2"), url("file=_res/assets/webfonts/Qartella-Bold.woff") format("woff");
font-weight: normal;
font-style: bold;
}
::-webkit-scrollbar {
width: 0px;
}
body {
background: var(--background-fill-primary) !important;
background: linear-gradient(180deg, var(--primary-800) 355px, var(--background-fill-primary) 355px) !important;
}
.gradio-container-5-29-0 {
padding-top: 30px !important;
transition: opacity 0.4s linear;
position: relative;
font-family: "Geist Mono", sans-serif !important;
font-weight: 400;
}
/* .md-header-wrapper,
.md-header>span>div {
width: 100%;
height: 200px;
display: flex;
flex-direction: column;
justify-content: flex-end;
position: relative;
/* background-image: url("gradio_api/file=_res/assets/Schaafe.png");
background-position: 70% bottom;
background-repeat: no-repeat; * /
padding: 0 10px;
h1 {
--sc: rgb(2, 44, 32);
font-family: "Baloo Tamma 2", system-ui;
font-optical-sizing: auto;
font-weight: 600;
font-style: normal;
font-size: 3.8rem;
padding: 8px;
text-shadow: 2px 2px 2px var(--sc), -2px 2px 2px var(--sc), -2px -2px 0 var(--sc), 2px -2px 0 var(--sc);
/* display: flex;
flex-direction: column;
text-align: right;
margin-right: 45%;
position: absolute;
right: 0;
bottom: 0; * /
& span {
font-weight: 400;
font-size: 2rem;
margin-top: -20px;
text-transform: uppercase;
}
}
p {
margin-top: var(--spacing-xs);
}
} */
.md-header-wrapper,
.md-header > span > div {
width: 100%;
height: 200px;
display: flex;
flex-direction: column;
justify-content: flex-end;
position: relative;
background-position: 70% bottom;
background-repeat: no-repeat;
padding: 0 10px;
h1, h3 {
--sc: rgb(2, 44, 32);
display: inline;
font-optical-sizing: auto;
font-weight: 600;
font-style: normal;
font-size: 2.3rem;
text-transform: uppercase;
padding: 0 8px;
margin-bottom: 0;
color: var(--primary-950);
/* text-shadow: 2px 2px 2px var(--sc), -2px 2px 2px var(--sc), -2px -2px 0 var(--sc), 2px -2px 0 var(--sc); */
& span {
font-weight: 400;
font-size: 1.4rem;
margin-top: -20px;
text-transform: uppercase;
filter: invert(1);
color: var(--text-color-by-luminance);
}
}
h3 {
font-weight: 400;
font-size: 1.6rem;
}
p {
color: var(--text-color-by-luminance);
margin-top: var(--spacing-xs);
padding: 0 8px;
font-size: 1rem;
span {
font-weight: 400;
filter: invert(1);
color: var(--text-color-by-luminance);
}
#wink,
#heart {
display: inline;
width: 26px;
margin-bottom: 8px;
}
#wink {
animation: wink 3s ease-in-out infinite;
}
#heart {
animation: beat 2s ease-in-out infinite;
}
}
}
.row-main {
padding: 16px;
background-color: var(--neutral-900) !important;
border-right-width: 0px !important;
border-bottom-width: 0px !important;
border-left-width: 0px !important;
border-top: 8px solid var(--primary-600) !important;
border-radius: var(--container-radius) !important;
}
.app.svelte-1y320eu.svelte-1y320eu {
position: relative;
margin: auto;
padding: var(--size-4) var(--size-8);
width: 100%;
height: 100%
}
@media(min-width: 640px) {
.fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
max-width:640px
}
}
@media(min-width: 768px) {
.fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
max-width:768px
}
}
@media(min-width: 1024px) {
.fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
max-width:1024px
}
}
@media(min-width: 1280px) {
.fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
max-width:1280px
}
}
@media(min-width: 1536px) {
.fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
max-width:1536px
}
}
@media(min-width: 1920px) {
.fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
max-width:1536px !important
}
}
.info.svelte-1y320eu.svelte-1y320eu {
display: flex;
position: absolute;
bottom: 0;
justify-content: flex-start;
border-top: 1px solid var(--button-secondary-border-color);
padding: var(--size-1) var(--size-5);
width: 100%;
color: var(--body-text-color-subdued);
font-size: var(--text-md);
white-space: nowrap
}
.app.svelte-1y320eu.svelte-1y320eu {
max-width:1536px !important;
position: relative;
margin: auto;
padding: var(--size-4) var(--size-8);
width: 100%;
height: 100%;
}
/* label.svelte-1bx8sav>.svelte-1bx8sav+.svelte-1bx8sav {
margin-left: 0;
}
.hidethis,
input.svelte-1e02hys.svelte-1e02hys.svelte-1e02hys,
input.svelte-1bx8sav.svelte-1bx8sav.svelte-1bx8sav{
display: none;
}
*/
/* MARK: Toggle Button Checkbox */
/* INFO: gr.Checkbox elem_classes="toggle-btn" */
.toggle-btn {
display: flex;
flex-direction: column-reverse;
& > div.wrap {
display: none;
}
& > div:not(.wrap) {
margin-top: var(--spacing-lg);
margin-bottom: 0;
}
& > label {
position: relative;
width: 57px;
height: 27px;
display: inline-block;
border-radius: 13px;
background: var(--neutral-700);
box-shadow: var(--shadow-inset);
transition: background-color 0.3s, cursor 0.3s;
border: solid 0.4px var(--border-color-primary);
cursor: pointer;
& > input[type="checkbox"] {
width: 0;
height: 0;
opacity: 0;
}
& > span {
position: absolute;
left: 60px;
height: 27px;
min-width: 140px;
line-height: 27px;
}
}
& > label:has(input[type="checkbox"])::after {
content: "";
position: absolute;
top: 3px;
left: 3px;
width: 20px;
height: 20px;
border-radius: 50%;
background: var(--neutral-900);
box-shadow: var(--shadow-inset);
transition: left 0.2s ease-in-out, background 0.2s ease-in-out;
}
& > label:has(input[type="checkbox"]:checked)::after {
content: "";
position: absolute;
background: var(--neutral-900);
opacity: 0.8;
left: 32px;
}
& > label:has(input[type="checkbox"]:checked) {
background: var(--primary-600);
}
}
#component-53 > div.p-0.html-container.svelte-phx28p.padding.p-0
.gr-radio {
/* & > div.wrap {
display: none;
}
& > div:not(.wrap) {
margin-top: var(--spacing-lg);
margin-bottom: 0;
}*/
& label:hover,
label.svelte-1bx8sav.svelte-1bx8sav.svelte-1bx8sav:hover {
color: var(--checkbox-label-text-color-selected);
}
& label {
& input[type="radio"] {
display: none;
}
& span {
margin-left: unset;
}
}
}
}
#component-53 > div.html-container.svelte-phx28p.padding {
padding: 0 !important;
& > h1 {
margin: 0 !important;
}
}
/* Keyframes */
@keyframes wink {
0%,
60%,
100% {
transform: rotate(0deg);
}
10%,
30%,
70%,
90% {
transform: rotate(14deg);
}
20%,
80% {
transform: rotate(-8deg);
}
40% {
transform: rotate(-4deg);
}
50% {
transform: rotate(10deg);
}
}
@keyframes beat {
0% {
transform: scale(1);
}
5% {
transform: scale(0.75);
}
20% {
transform: scale(1);
}
30% {
transform: scale(1);
}
35% {
transform: scale(0.75);
}
50% {
transform: scale(1);
}
55% {
transform: scale(0.75);
}
70% {
transform: scale(1);
}
}
/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
:root, :host {
--font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji';
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
monospace;
--color-sky-300: oklch(82.8% 0.111 230.318);
--color-sky-400: oklch(74.6% 0.16 232.661);
--color-sky-800: oklch(44.3% 0.11 240.79);
--color-gray-100: oklch(96.7% 0.003 264.542);
--color-gray-300: oklch(87.2% 0.01 258.338);
--color-gray-700: oklch(37.3% 0.034 259.733);
--color-gray-950: oklch(13% 0.028 261.692);
--color-white: #fff;
--spacing: 0.25rem;
--container-lg: 32rem;
--text-sm: 0.875rem;
--font-weight-medium: 500;
--font-weight-semibold: 600;
--radius-xl: 0.75rem;
--default-font-family: var(--font-sans);
--default-mono-font-family: var(--font-mono);
}
}
@layer base {
*, ::after, ::before, ::backdrop, ::file-selector-button {
box-sizing: border-box;
margin: 0;
padding: 0;
border: 0 solid;
}
html, :host {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
tab-size: 4;
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
font-feature-settings: var(--default-font-feature-settings, normal);
font-variation-settings: var(--default-font-variation-settings, normal);
-webkit-tap-highlight-color: transparent;
}
hr {
height: 0;
color: inherit;
border-top-width: 1px;
}
abbr:where([title]) {
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
h1, h2, h3, h4, h5, h6 {
font-size: inherit;
font-weight: inherit;
}
a {
color: inherit;
-webkit-text-decoration: inherit;
text-decoration: inherit;
}
b, strong {
font-weight: bolder;
}
code, kbd, samp, pre {
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
font-feature-settings: var(--default-mono-font-feature-settings, normal);
font-variation-settings: var(--default-mono-font-variation-settings, normal);
font-size: 1em;
}
small {
font-size: 80%;
}
sub, sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
table {
text-indent: 0;
border-color: inherit;
border-collapse: collapse;
}
:-moz-focusring {
outline: auto;
}
progress {
vertical-align: baseline;
}
summary {
display: list-item;
}
ol, ul, menu {
list-style: none;
}
img, svg, video, canvas, audio, iframe, embed, object {
display: block;
vertical-align: middle;
}
img, video {
max-width: 100%;
height: auto;
}
button, input, select, optgroup, textarea, ::file-selector-button {
font: inherit;
font-feature-settings: inherit;
font-variation-settings: inherit;
letter-spacing: inherit;
color: inherit;
border-radius: 0;
background-color: transparent;
opacity: 1;
}
:where(select:is([multiple], [size])) optgroup {
font-weight: bolder;
}
:where(select:is([multiple], [size])) optgroup option {
padding-inline-start: 20px;
}
::file-selector-button {
margin-inline-end: 4px;
}
::placeholder {
opacity: 1;
}
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
::placeholder {
color: currentcolor;
@supports (color: color-mix(in lab, red, red)) {
color: color-mix(in oklab, currentcolor 50%, transparent);
}
}
}
textarea {
resize: vertical;
}
::-webkit-search-decoration {
-webkit-appearance: none;
}
::-webkit-date-and-time-value {
min-height: 1lh;
text-align: inherit;
}
::-webkit-datetime-edit {
display: inline-flex;
}
::-webkit-datetime-edit-fields-wrapper {
padding: 0;
}
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
padding-block: 0;
}
::-webkit-calendar-picker-indicator {
line-height: 1;
}
:-moz-ui-invalid {
box-shadow: none;
}
button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
appearance: button;
}
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
height: auto;
}
[hidden]:where(:not([hidden='until-found'])) {
display: none!important;
}
}
@layer utilities {
.relative {
position: relative;
}
.-top-px {
top: -1px;
}
.-right-px {
right: -1px;
}
.-bottom-px {
bottom: -1px;
}
.-left-px {
left: -1px;
}
.col-span-full {
grid-column: 1 / -1;
}
.col-start-1 {
grid-column-start: 1;
}
.col-start-2 {
grid-column-start: 2;
}
.col-start-3 {
grid-column-start: 3;
}
.col-start-4 {
grid-column-start: 4;
}
.row-span-full {
grid-row: 1 / -1;
}
.row-start-1 {
grid-row-start: 1;
}
.row-start-2 {
grid-row-start: 2;
}
.row-start-3 {
grid-row-start: 3;
}
.row-start-4 {
grid-row-start: 4;
}
.my-6 {
margin-block: calc(var(--spacing) * 6);
}
.mb-3 {
margin-bottom: calc(var(--spacing) * 3);
}
.mb-11\.5 {
margin-bottom: calc(var(--spacing) * 11.5);
}
.ml-3 {
margin-left: calc(var(--spacing) * 3);
}
.flex {
display: flex;
}
.grid {
display: grid;
}
.h-6 {
height: calc(var(--spacing) * 6);
}
.h-\[1lh\] {
height: 1lh;
}
.h-px {
height: 1px;
}
.min-h-screen {
min-height: 100vh;
}
.w-5\.5 {
width: calc(var(--spacing) * 5.5);
}
.w-full {
width: 100%;
}
.max-w-lg {
max-width: var(--container-lg);
}
.shrink-0 {
flex-shrink: 0;
}
.grid-cols-\[1fr_2\.5rem_auto_2\.5rem_1fr\] {
grid-template-columns: 1fr 2.5rem auto 2.5rem 1fr;
}
.grid-rows-\[1fr_1px_auto_1px_1fr\] {
grid-template-rows: 1fr 1px auto 1px 1fr;
}
.flex-col {
flex-direction: column;
}
.space-y-3 {
:where(& > :not(:last-child)) {
--tw-space-y-reverse: 0;
margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
}
}
.space-y-6 {
:where(& > :not(:last-child)) {
--tw-space-y-reverse: 0;
margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
}
}
.rounded-xl {
border-radius: var(--radius-xl);
}
.border-x {
border-inline-style: var(--tw-border-style);
border-inline-width: 1px;
}
.border-\(--pattern-fg\) {
border-color: var(--pattern-fg);
}
.border-x-\(--pattern-fg\) {
border-inline-color: var(--pattern-fg);
}
.bg-\(--pattern-fg\) {
background-color: var(--pattern-fg);
}
.bg-gray-100 {
background-color: var(--color-gray-100);
}
.bg-white {
background-color: var(--color-white);
}
.bg-\[image\:repeating-linear-gradient\(315deg\,_var\(--pattern-fg\)_0\,_var\(--pattern-fg\)_1px\,_transparent_0\,_transparent_50\%\)\] {
background-image: repeating-linear-gradient(315deg, var(--pattern-fg) 0, var(--pattern-fg) 1px, transparent 0, transparent 50%);
}
.bg-\[size\:10px_10px\] {
background-size: 10px 10px;
}
.bg-fixed {
background-attachment: fixed;
}
.fill-sky-400\/25 {
fill: color-mix(in srgb, oklch(74.6% 0.16 232.661) 25%, transparent);
@supports (color: color-mix(in lab, red, red)) {
fill: color-mix(in oklab, var(--color-sky-400) 25%, transparent);
}
}
.stroke-sky-400\/25 {
stroke: color-mix(in srgb, oklch(74.6% 0.16 232.661) 25%, transparent);
@supports (color: color-mix(in lab, red, red)) {
stroke: color-mix(in oklab, var(--color-sky-400) 25%, transparent);
}
}
.stroke-sky-800 {
stroke: var(--color-sky-800);
}
.p-2 {
padding: calc(var(--spacing) * 2);
}
.p-10 {
padding: calc(var(--spacing) * 10);
}
.font-mono {
font-family: var(--font-mono);
}
.text-sm\/7 {
font-size: var(--text-sm);
line-height: calc(var(--spacing) * 7);
}
.font-medium {
--tw-font-weight: var(--font-weight-medium);
font-weight: var(--font-weight-medium);
}
.font-semibold {
--tw-font-weight: var(--font-weight-semibold);
font-weight: var(--font-weight-semibold);
}
.text-gray-700 {
color: var(--color-gray-700);
}
.text-gray-950 {
color: var(--color-gray-950);
}
.underline {
text-decoration-line: underline;
}
.decoration-sky-400 {
text-decoration-color: var(--color-sky-400);
}
.underline-offset-3 {
text-underline-offset: 3px;
}
.\[--pattern-fg\:var\(--color-gray-950\)\]\/5 {
--pattern-fg: color-mix(in srgb, oklch(13% 0.028 261.692) 5%, transparent);
@supports (color: color-mix(in lab, red, red)) {
--pattern-fg: color-mix(in oklab, var(--color-gray-950) 5%, transparent);
}
}
.not-dark\:hidden {
@media not (prefers-color-scheme: dark) {
display: none;
}
}
.hover\:decoration-2 {
&:hover {
@media (hover: hover) {
text-decoration-thickness: 2px;
}
}
}
.lg\:block {
@media (width >= 64rem) {
display: block;
}
}
.dark\:hidden {
@media (prefers-color-scheme: dark) {
display: none;
}
}
.dark\:bg-gray-950 {
@media (prefers-color-scheme: dark) {
background-color: var(--color-gray-950);
}
}
.dark\:bg-white\/10 {
@media (prefers-color-scheme: dark) {
background-color: color-mix(in srgb, #fff 10%, transparent);
@supports (color: color-mix(in lab, red, red)) {
background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
}
}
}
.dark\:stroke-sky-300 {
@media (prefers-color-scheme: dark) {
stroke: var(--color-sky-300);
}
}
.dark\:text-gray-300 {
@media (prefers-color-scheme: dark) {
color: var(--color-gray-300);
}
}
.dark\:text-white {
@media (prefers-color-scheme: dark) {
color: var(--color-white);
}
}
.dark\:\[--pattern-fg\:var\(--color-white\)\]\/10 {
@media (prefers-color-scheme: dark) {
--pattern-fg: color-mix(in srgb, #fff 10%, transparent);
@supports (color: color-mix(in lab, red, red)) {
--pattern-fg: color-mix(in oklab, var(--color-white) 10%, transparent);
}
}
}
}
@property --tw-space-y-reverse {
syntax: "*";
inherits: false;
initial-value: 0;
}
@property --tw-border-style {
syntax: "*";
inherits: false;
initial-value: solid;
}
@property --tw-font-weight {
syntax: "*";
inherits: false;
}
@layer properties {
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
*, ::before, ::after, ::backdrop {
--tw-space-y-reverse: 0;
--tw-border-style: solid;
--tw-font-weight: initial;
}
}
}
/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */