Spaces:
Sleeping
Sleeping
Update styles.py
Browse files
styles.py
CHANGED
|
@@ -1,6 +1,77 @@
|
|
| 1 |
# styles.py
|
| 2 |
main_styles = """
|
| 3 |
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
/* General Report Styling */
|
| 5 |
.report-container {
|
| 6 |
max-width: 1200px;
|
|
|
|
| 1 |
# styles.py
|
| 2 |
main_styles = """
|
| 3 |
<style>
|
| 4 |
+
|
| 5 |
+
/* Headers */
|
| 6 |
+
h1 {
|
| 7 |
+
color: #1a237e;
|
| 8 |
+
font-size: 32px;
|
| 9 |
+
font-weight: 600;
|
| 10 |
+
margin-bottom: 24px;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
h2 {
|
| 14 |
+
color: #1565c0;
|
| 15 |
+
font-size: 24px;
|
| 16 |
+
font-weight: 500;
|
| 17 |
+
margin-top: 32px;
|
| 18 |
+
margin-bottom: 16px;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
h3 {
|
| 22 |
+
color: #1976d2;
|
| 23 |
+
font-size: 20px;
|
| 24 |
+
font-weight: 500;
|
| 25 |
+
margin-top: 24px;
|
| 26 |
+
margin-bottom: 12px;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
/* Content */
|
| 30 |
+
p {
|
| 31 |
+
color: #333;
|
| 32 |
+
font-size: 16px;
|
| 33 |
+
line-height: 1.6;
|
| 34 |
+
margin-bottom: 16px;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
/* Expandable sections */
|
| 38 |
+
.streamlit-expanderHeader {
|
| 39 |
+
font-size: 18px;
|
| 40 |
+
font-weight: 500;
|
| 41 |
+
color: #1565c0;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
/* Warning/Info boxes */
|
| 45 |
+
.stAlert {
|
| 46 |
+
font-size: 16px;
|
| 47 |
+
padding: 16px;
|
| 48 |
+
margin: 16px 0;
|
| 49 |
+
border-radius: 8px;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
/* Download button */
|
| 53 |
+
.stDownloadButton {
|
| 54 |
+
background-color: #1976d2;
|
| 55 |
+
color: white;
|
| 56 |
+
padding: 12px 24px;
|
| 57 |
+
font-weight: 500;
|
| 58 |
+
border-radius: 8px;
|
| 59 |
+
margin-top: 32px;
|
| 60 |
+
border: none;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.stDownloadButton:hover {
|
| 64 |
+
background-color: #1565c0;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
/* Sources list */
|
| 68 |
+
.source-item {
|
| 69 |
+
padding: 8px 12px;
|
| 70 |
+
margin: 4px 0;
|
| 71 |
+
background-color: #f5f5f5;
|
| 72 |
+
border-radius: 4px;
|
| 73 |
+
font-size: 14px;
|
| 74 |
+
}
|
| 75 |
/* General Report Styling */
|
| 76 |
.report-container {
|
| 77 |
max-width: 1200px;
|