Spaces:
Running on Zero
Running on Zero
File size: 4,358 Bytes
d066167 | 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 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 | :root {
--primary-color: #9b59b6;
--primary-light: #d6c6e1;
--secondary-color: #2ecc71;
--text-color: #333333;
--background-color: #f9f9f9;
--card-bg: #ffffff;
--border-radius: 10px;
--shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
--shadow-md: 0 5px 15px rgba(0, 0, 0, 0.07);
--shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
--gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
--input-border: #e0e0e0;
--input-bg: #ffffff;
--font-weight-normal: 500;
--font-weight-bold: 700;
}
/* Base styles */
body, html {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-weight: var(--font-weight-normal);
background-color: var(--background-color);
color: var(--text-color);
width: 100vw;
overflow-x: hidden;
}
* {
box-sizing: border-box;
}
/* Force full width layout */
#main-interface,
.gradio-app,
.gradio-container {
width: 100vw !important;
max-width: 100vw !important;
margin: 0 !important;
padding: 0 !important;
box-shadow: none !important;
border: none !important;
overflow-x: hidden !important;
}
/* Header styling */
#header-row {
background: white;
padding: 15px 20px;
margin-bottom: 20px;
box-shadow: var(--shadow-sm);
border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-container {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
padding: 10px 0;
}
.app-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 15px;
}
.app-header .emoji {
font-size: 36px;
}
/* Fix for Colorize Diffusion title visibility */
.gradio-markdown h1,
.gradio-markdown h2,
#header-row h1,
#header-row h2,
.title-text,
.app-header .title-text {
display: inline-block !important;
visibility: visible !important;
opacity: 1 !important;
position: relative !important;
color: var(--primary-color) !important;
font-size: 32px !important;
font-weight: 800 !important;
}
/* Badge links under the header */
.paper-links-icons {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
margin-top: 5px;
}
.paper-links-icons a {
transition: transform 0.2s ease;
opacity: 0.9;
}
.paper-links-icons a:hover {
transform: translateY(-3px);
opacity: 1;
}
/* Content layout */
#content-row {
padding: 0 20px 20px 20px;
max-width: 100%;
margin: 0 auto;
}
/* Apply bold font to all text elements for better readability */
p, span, label, button, input, textarea, select, .gradio-button, .gradio-checkbox, .gradio-dropdown, .gradio-textbox {
font-weight: var(--font-weight-normal);
}
/* Make headings bolder */
h1, h2, h3, h4, h5, h6 {
font-weight: var(--font-weight-bold);
}
/* Improved font styling for Gradio UI elements */
.gradio-container,
.gradio-container *,
.gradio-app,
.gradio-app * {
font-family: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
font-weight: 500 !important;
}
/* Style for labels and slider labels */
.gradio-container label,
.gradio-slider label,
.gradio-checkbox label,
.gradio-radio label,
.gradio-dropdown label,
.gradio-textbox label,
.gradio-number label,
.gradio-button,
.gradio-checkbox span,
.gradio-radio span {
font-family: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
font-weight: 600 !important;
letter-spacing: 0.01em;
}
/* Style for buttons */
button,
.gradio-button {
font-family: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
font-weight: 600 !important;
}
/* Style for input values */
input,
textarea,
select,
.gradio-textbox textarea,
.gradio-number input {
font-family: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
font-weight: 500 !important;
}
/* Better styling for drop areas */
.upload-box,
[data-testid="image"] {
font-family: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
font-weight: 500 !important;
}
/* Additional styling for values in sliders and numbers */
.wrap .wrap .wrap span {
font-family: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
font-weight: 600 !important;
}
|