File size: 1,737 Bytes
3fe53b9
 
56babaf
 
 
 
 
 
 
 
 
4e533dc
fc398d6
 
 
 
 
 
 
 
 
56babaf
 
 
c65b75a
 
56babaf
 
c65b75a
 
56babaf
fc398d6
c65b75a
56babaf
 
 
c65b75a
 
 
 
 
82f8b61
 
 
 
 
 
c65b75a
 
 
 
 
 
 
 
 
 
 
 
 
fc398d6
56babaf
 
fc398d6
 
 
56babaf
a15201b
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
def get_custom_css():
    return """
    <style>
        /* Reduce top padding */
        .block-container {
            padding-top: 1rem !important;
            padding-bottom: 0rem !important;
        }
        
        /* Add negative margin to move content up */
        div.stApp {
            margin-top: 0px;
            background: white;
        }
        
        .main {
            padding: 2rem;
        }
        
        .stMarkdown {
            color: #2c3e50;
        }
        
        .stButton > button {
            width: 80%;
            margin-left: 10%;
            border-radius: 5px;
            height: 3em;
            background-color: #FFD700;
            color: black;
            font-weight: bold;
            transition: all 0.3s ease;
            border: 1px solid black;
        }
        
        .stButton > button:hover {
            background-color: #FFC800;
            transform: translateY(-2px);
        }
        
        /* Style for download button */
        [data-testid="stDownloadButton"] {
            text-align: center;
            display: flex;
            justify-content: center;
        }
        
        [data-testid="stDownloadButton"] button {
            width: 80%;
            border-radius: 5px;
            height: 3em;
            background-color: #4CAF50;
            color: black;
            font-weight: bold;
            transition: all 0.3s ease;
            border: 1px solid black;
        }
        
        [data-testid="stDownloadButton"] button:hover {
            background-color: #45a049;
            transform: translateY(-2px);
        }
        
        .stTextInput>div>div>input {
            border-radius: 5px;
        }
    </style>
    """