JeCabrera commited on
Commit
4e85f7a
·
verified ·
1 Parent(s): 54c7013

Update style.py

Browse files
Files changed (1) hide show
  1. style.py +22 -40
style.py CHANGED
@@ -1,41 +1,23 @@
1
- # Custom CSS styles for the application
2
- styles = {
3
- "main_layout": """
4
- /* Reducir espacio superior */
5
- .block-container {
6
- padding-top: 1rem;
7
- padding-bottom: 5rem;
8
- }
9
-
10
- /* Ajustar espaciado del título */
11
- h1 {
12
- margin-top: 0rem;
13
- padding-top: 1rem;
14
- }
15
-
16
- /* Ajustar espaciado del subtítulo */
17
- h4 {
18
- margin-top: 0.5rem;
19
- padding-top: 0rem;
20
- }
21
- """,
22
- "button": """
23
- div.stButton > button {
24
- background-color: #FFCC00;
25
- color: black;
26
- width: 90%;
27
- height: 60px;
28
- font-weight: bold;
29
- font-size: 22px;
30
- text-transform: uppercase;
31
- border: 1px solid #000000;
32
- border-radius: 8px;
33
- display: block;
34
- margin: 0 auto;
35
- }
36
- div.stButton > button:hover {
37
- background-color: #FFD700;
38
- color: black;
39
- }
40
- """
41
  }
 
1
+ # Custom CSS styles for the application
2
+ styles = {
3
+ "main_layout": """
4
+ <style>
5
+ .block-container { padding-top: 1rem; padding-bottom: 5rem; }
6
+ h1 { margin-top: 0rem; padding-top: 1rem; }
7
+ h4 { margin-top: 0.5rem; padding-top: 0rem; }
8
+ </style>
9
+ """,
10
+ "button": """
11
+ <style>
12
+ .stButton > button {
13
+ width: 100%;
14
+ margin-top: 1rem;
15
+ }
16
+ </style>
17
+ """,
18
+ "results_container": """
19
+ padding: 15px;
20
+ border: 1px solid #ddd;
21
+ border-radius: 8px;
22
+ """
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  }