Spaces:
Running
Running
Update genesis/static/style.css
Browse files- genesis/static/style.css +91 -79
genesis/static/style.css
CHANGED
@@ -1,115 +1,127 @@
|
|
1 |
-
/*
|
|
|
|
|
2 |
body {
|
3 |
-
background-color: #
|
|
|
4 |
font-family: 'Orbitron', sans-serif;
|
5 |
-
color: #e0e0e0;
|
6 |
margin: 0;
|
7 |
padding: 0;
|
8 |
-
overflow-x: hidden;
|
9 |
}
|
10 |
|
|
|
11 |
h1, h2, h3 {
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
}
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
a:hover {
|
22 |
-
text-shadow: 0 0 8px #ff9100;
|
23 |
}
|
24 |
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
padding:
|
|
|
30 |
}
|
31 |
|
32 |
-
.
|
33 |
-
background:
|
34 |
-
|
35 |
-
border-radius: 12px;
|
36 |
-
box-shadow: 0 0 15px rgba(0, 255, 157, 0.15);
|
37 |
-
padding: 15px;
|
38 |
-
margin-bottom: 20px;
|
39 |
-
transition: all 0.3s ease-in-out;
|
40 |
}
|
41 |
-
|
42 |
-
|
43 |
-
|
|
|
44 |
}
|
45 |
|
46 |
-
/*
|
47 |
-
button
|
48 |
-
background:
|
49 |
-
|
|
|
|
|
50 |
font-weight: bold;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
border-radius: 6px;
|
52 |
-
padding: 10px 20px;
|
53 |
-
border: none;
|
54 |
-
text-transform: uppercase;
|
55 |
-
box-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
|
56 |
-
cursor: pointer;
|
57 |
-
transition: all 0.3s ease;
|
58 |
}
|
59 |
-
|
60 |
-
|
61 |
-
|
|
|
62 |
}
|
63 |
|
64 |
-
/*
|
65 |
-
.
|
66 |
-
background:
|
|
|
|
|
67 |
border-radius: 8px;
|
68 |
-
|
69 |
-
box-shadow: 0 0 10px rgba(255, 145, 0, 0.3);
|
70 |
}
|
71 |
|
72 |
-
/*
|
73 |
-
|
74 |
-
|
|
|
|
|
75 |
}
|
76 |
-
|
77 |
-
|
|
|
|
|
|
|
|
|
78 |
}
|
79 |
-
|
80 |
-
|
81 |
-
|
|
|
|
|
|
|
82 |
}
|
83 |
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
border: 1px solid rgba(0, 255, 157, 0.2);
|
88 |
-
border-radius: 8px;
|
89 |
-
color: #fff;
|
90 |
-
padding: 8px;
|
91 |
}
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
box-shadow: 0 0
|
|
|
|
|
96 |
}
|
97 |
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
border-radius: 8px;
|
103 |
-
box-shadow: inset 0 0 15px rgba(0, 255, 157, 0.2);
|
104 |
}
|
105 |
|
106 |
-
|
107 |
-
|
108 |
-
0% { box-shadow: 0 0 5px rgba(0, 255, 157, 0.4); }
|
109 |
-
50% { box-shadow: 0 0 20px rgba(255, 145, 0, 0.6); }
|
110 |
-
100% { box-shadow: 0 0 5px rgba(0, 255, 157, 0.4); }
|
111 |
}
|
112 |
|
113 |
-
.
|
114 |
-
animation:
|
115 |
}
|
|
|
1 |
+
/* static/style.css */
|
2 |
+
|
3 |
+
/* ===== General Layout ===== */
|
4 |
body {
|
5 |
+
background-color: #0b0f0c; /* Deep biotech black */
|
6 |
+
color: #e0e5df; /* Light greenish text */
|
7 |
font-family: 'Orbitron', sans-serif;
|
|
|
8 |
margin: 0;
|
9 |
padding: 0;
|
|
|
10 |
}
|
11 |
|
12 |
+
/* ===== Headings ===== */
|
13 |
h1, h2, h3 {
|
14 |
+
color: #00ff7f; /* Neon green */
|
15 |
+
text-shadow: 0 0 10px rgba(0, 255, 127, 0.8);
|
16 |
+
letter-spacing: 2px;
|
17 |
}
|
18 |
|
19 |
+
/* ===== Tab Navigation ===== */
|
20 |
+
.gradio-tabs .tab-nav {
|
21 |
+
background-color: #111;
|
22 |
+
border-bottom: 3px solid #ff7f00; /* Orange accent */
|
|
|
|
|
23 |
}
|
24 |
|
25 |
+
.gradio-tabs .tab-nav button {
|
26 |
+
background-color: #1a1f1d;
|
27 |
+
color: #00ff7f;
|
28 |
+
border: none;
|
29 |
+
padding: 12px 20px;
|
30 |
+
transition: background 0.3s ease, color 0.3s ease;
|
31 |
}
|
32 |
|
33 |
+
.gradio-tabs .tab-nav button:hover {
|
34 |
+
background-color: #ff7f00;
|
35 |
+
color: #000;
|
|
|
|
|
|
|
|
|
|
|
36 |
}
|
37 |
+
|
38 |
+
.gradio-tabs .tab-nav button.active {
|
39 |
+
background-color: #00ff7f;
|
40 |
+
color: #000;
|
41 |
}
|
42 |
|
43 |
+
/* ===== Buttons ===== */
|
44 |
+
button {
|
45 |
+
background-color: #00ff7f;
|
46 |
+
border: none;
|
47 |
+
padding: 10px 18px;
|
48 |
+
color: #000;
|
49 |
font-weight: bold;
|
50 |
+
border-radius: 8px;
|
51 |
+
transition: transform 0.2s ease, background-color 0.3s ease;
|
52 |
+
}
|
53 |
+
|
54 |
+
button:hover {
|
55 |
+
background-color: #ff7f00;
|
56 |
+
transform: scale(1.05);
|
57 |
+
}
|
58 |
+
|
59 |
+
/* ===== Inputs & Textboxes ===== */
|
60 |
+
input, textarea, select {
|
61 |
+
background-color: #0f1512;
|
62 |
+
border: 1px solid #00ff7f;
|
63 |
+
color: #e0e5df;
|
64 |
+
padding: 10px;
|
65 |
border-radius: 6px;
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
}
|
67 |
+
|
68 |
+
textarea:focus, input:focus, select:focus {
|
69 |
+
border-color: #ff7f00;
|
70 |
+
outline: none;
|
71 |
}
|
72 |
|
73 |
+
/* ===== JSON & Data Outputs ===== */
|
74 |
+
.output-json {
|
75 |
+
background-color: #141c18;
|
76 |
+
border: 1px solid #00ff7f;
|
77 |
+
padding: 12px;
|
78 |
border-radius: 8px;
|
79 |
+
overflow: auto;
|
|
|
80 |
}
|
81 |
|
82 |
+
/* ===== Images ===== */
|
83 |
+
img {
|
84 |
+
border: 3px solid #ff7f00;
|
85 |
+
border-radius: 10px;
|
86 |
+
box-shadow: 0 0 15px rgba(255, 127, 0, 0.7);
|
87 |
}
|
88 |
+
|
89 |
+
/* ===== Audio Player ===== */
|
90 |
+
audio {
|
91 |
+
background-color: #0b0f0c;
|
92 |
+
border: 2px solid #00ff7f;
|
93 |
+
border-radius: 8px;
|
94 |
}
|
95 |
+
|
96 |
+
/* ===== PDF File Download ===== */
|
97 |
+
a[href$=".pdf"], .file-download {
|
98 |
+
color: #ff7f00;
|
99 |
+
font-weight: bold;
|
100 |
+
text-decoration: none;
|
101 |
}
|
102 |
|
103 |
+
a[href$=".pdf"]:hover, .file-download:hover {
|
104 |
+
color: #00ff7f;
|
105 |
+
text-decoration: underline;
|
|
|
|
|
|
|
|
|
106 |
}
|
107 |
+
|
108 |
+
/* ===== Glow Animations ===== */
|
109 |
+
@keyframes glowGreen {
|
110 |
+
0% { box-shadow: 0 0 5px #00ff7f; }
|
111 |
+
50% { box-shadow: 0 0 20px #00ff7f; }
|
112 |
+
100% { box-shadow: 0 0 5px #00ff7f; }
|
113 |
}
|
114 |
|
115 |
+
@keyframes glowOrange {
|
116 |
+
0% { box-shadow: 0 0 5px #ff7f00; }
|
117 |
+
50% { box-shadow: 0 0 20px #ff7f00; }
|
118 |
+
100% { box-shadow: 0 0 5px #ff7f00; }
|
|
|
|
|
119 |
}
|
120 |
|
121 |
+
button {
|
122 |
+
animation: glowGreen 2s infinite alternate;
|
|
|
|
|
|
|
123 |
}
|
124 |
|
125 |
+
.gradio-tabs .tab-nav button.active {
|
126 |
+
animation: glowOrange 2s infinite alternate;
|
127 |
}
|