joao-vectara commited on
Commit
e26f6e6
·
verified ·
1 Parent(s): 15736f4

Create style.css

Browse files
Files changed (1) hide show
  1. style.css +81 -0
style.css ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* 1) Overall page background and removal of Streamlit header */
2
+ [data-testid="stAppViewContainer"] {
3
+ background-color: #0E1117; /* Dark background similar to screenshot */
4
+ }
5
+
6
+ [data-testid="stHeader"] {
7
+ display: none; /* Hide default Streamlit header if you want a cleaner look */
8
+ }
9
+
10
+ /* 2) Main heading (H1) styling */
11
+ h1 {
12
+ color: #FFFFFF;
13
+ font-weight: 700;
14
+ font-size: 2.5rem; /* Adjust size as needed */
15
+ margin-bottom: 1rem;
16
+ }
17
+
18
+ /* 3) Icon + text container for “How may I help you?” */
19
+ .icon-container {
20
+ display: flex;
21
+ align-items: center;
22
+ gap: 10px;
23
+ margin-bottom: 1rem;
24
+ }
25
+
26
+ /* The background box behind the icon */
27
+ .icon-box {
28
+ background-color: #FFD24C; /* Similar to the gold/yellow in screenshot */
29
+ width: 40px;
30
+ height: 40px;
31
+ border-radius: 8px;
32
+ display: flex;
33
+ align-items: center;
34
+ justify-content: center;
35
+ color: #000000;
36
+ font-size: 20px;
37
+ }
38
+
39
+ /* The text “How may I help you?” */
40
+ .icon-text {
41
+ color: #FFFFFF;
42
+ font-size: 1.1rem;
43
+ margin: 0;
44
+ }
45
+
46
+ /* 4) Subheading for “Add additional files here” */
47
+ h4 {
48
+ color: #FFFFFF;
49
+ font-weight: 400;
50
+ margin-bottom: 0.5rem;
51
+ }
52
+
53
+ /* 5) Streamlit file uploader styling */
54
+ [data-testid="stFileUploader"] {
55
+ background-color: #2E2E38; /* Dark gray box background */
56
+ border: 1px solid #444; /* Subtle border */
57
+ border-radius: 8px;
58
+ padding: 1.2rem;
59
+ color: #FFFFFF;
60
+ }
61
+
62
+ /* Uploader label text (the main “Drag and drop file here”) */
63
+ [data-testid="stFileUploader"] label {
64
+ color: #FFFFFF;
65
+ font-size: 1rem;
66
+ font-weight: 500;
67
+ }
68
+
69
+ /* The subtext (the smaller “Limit 200MB per file”) */
70
+ [data-testid="stFileUploader"] .css-1f42894 {
71
+ color: #B4B4B4; /* Lighter gray for subtext */
72
+ font-size: 0.9rem;
73
+ margin-top: 0.4rem;
74
+ }
75
+
76
+ /* 6) Browse Files button */
77
+ button[kind="secondary"] {
78
+ background-color: #444 !important;
79
+ color: #FFFFFF !important;
80
+ border-radius: 8px !important;
81
+ }