tahirsher commited on
Commit
8e11b31
·
verified ·
1 Parent(s): 4a12880

Create theme/Ranko_test.css

Browse files
Files changed (1) hide show
  1. theme/Ranko_test.css +72 -0
theme/Ranko_test.css ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Ranko_test.css */
2
+
3
+ /* General Body Styling */
4
+ html, body {
5
+ background-color: #f1f1f1; /* Light grey background */
6
+ color: #333333; /* Dark grey text */
7
+ font-family: 'Roboto', sans-serif; /* Default font */
8
+ }
9
+
10
+ /* Header Styling */
11
+ h1, h2, h3, h4 {
12
+ color: #5c6bc0; /* Indigo color for headings */
13
+ }
14
+
15
+ /* Styling for Tabs */
16
+ .gradio-tab {
17
+ background-color: #5c6bc0; /* Indigo for tab background */
18
+ color: white; /* White text */
19
+ }
20
+
21
+ .gradio-tab:hover {
22
+ background-color: #3949ab; /* Darker indigo on hover */
23
+ }
24
+
25
+ /* Button Styling */
26
+ .gr-button, .gr-button:focus {
27
+ background-color: #5c6bc0; /* Indigo button */
28
+ color: white;
29
+ border-radius: 8px;
30
+ padding: 10px 15px; /* Adjusted padding */
31
+ }
32
+
33
+ .gr-button:hover {
34
+ background: linear-gradient(to right, #7986cb, #5c6bc0); /* Gradient on hover */
35
+ }
36
+
37
+ /* Input Styling */
38
+ textarea, input {
39
+ background: white; /* Input background */
40
+ color: black; /* Text color */
41
+ border: 2px solid #5c6bc0; /* Indigo border for inputs */
42
+ padding: 10px;
43
+ border-radius: 8px;
44
+ }
45
+
46
+ /* Markdown Styling */
47
+ .markdown {
48
+ background-color: #e3f2fd; /* Light blue background for markdown */
49
+ padding: 15px; /* Padding for Markdown sections */
50
+ border-radius: 10px; /* Round corners */
51
+ border: 1px solid #5c6bc0; /* Border to distinguish */
52
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Light shadow */
53
+ }
54
+
55
+ /* DataFrame Container Styling */
56
+ .df-container {
57
+ background: #ffffff; /* White background for dataframes */
58
+ color: black; /* Black text */
59
+ border: 2px solid #5c6bc0; /* Matching border color for dataframes */
60
+ border-radius: 10px;
61
+ padding: 10px;
62
+ }
63
+
64
+ /* Dark Mode Styles */
65
+ body.dark {
66
+ background-color: #232323; /* Dark background */
67
+ color: #e0e0e0; /* Light text */
68
+ }
69
+
70
+ body.dark h1, body.dark h2, body.dark h3, body.dark h4 {
71
+ color: #bbdefb; /* Light color for headings in dark mode */
72
+ }