Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +16 -16
templates/index.html
CHANGED
|
@@ -6,35 +6,35 @@
|
|
| 6 |
<title>高雄市長選戰輿情分析</title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<style>
|
| 9 |
-
body {
|
| 10 |
background-color: #f3f4f6;
|
| 11 |
font-family: 'Microsoft JhengHei', 'Arial Unicode MS', 'SimHei', 'DejaVu Sans', sans-serif;
|
| 12 |
-
}
|
| 13 |
-
.card {
|
| 14 |
background-color: white;
|
| 15 |
border-radius: 0.5rem;
|
| 16 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 17 |
padding: 1.5rem;
|
| 18 |
margin-bottom: 1.5rem;
|
| 19 |
-
}
|
| 20 |
-
.chart-container {
|
| 21 |
max-width: 100%;
|
| 22 |
overflow-x: auto;
|
| 23 |
-
}
|
| 24 |
-
table {
|
| 25 |
border-collapse: collapse;
|
| 26 |
-
}
|
| 27 |
-
th, td {
|
| 28 |
text-align: left;
|
| 29 |
-
}
|
| 30 |
-
@media (max-width: 640px) {
|
| 31 |
-
.card {
|
| 32 |
padding: 1rem;
|
| 33 |
-
}
|
| 34 |
-
h2 {
|
| 35 |
font-size: 1.25rem;
|
| 36 |
-
}
|
| 37 |
-
}
|
| 38 |
</style>
|
| 39 |
</head>
|
| 40 |
<body class="p-4 sm:p-6">
|
|
|
|
| 6 |
<title>高雄市長選戰輿情分析</title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<style>
|
| 9 |
+
body {{
|
| 10 |
background-color: #f3f4f6;
|
| 11 |
font-family: 'Microsoft JhengHei', 'Arial Unicode MS', 'SimHei', 'DejaVu Sans', sans-serif;
|
| 12 |
+
}}
|
| 13 |
+
.card {{
|
| 14 |
background-color: white;
|
| 15 |
border-radius: 0.5rem;
|
| 16 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 17 |
padding: 1.5rem;
|
| 18 |
margin-bottom: 1.5rem;
|
| 19 |
+
}}
|
| 20 |
+
.chart-container {{
|
| 21 |
max-width: 100%;
|
| 22 |
overflow-x: auto;
|
| 23 |
+
}}
|
| 24 |
+
table {{
|
| 25 |
border-collapse: collapse;
|
| 26 |
+
}}
|
| 27 |
+
th, td {{
|
| 28 |
text-align: left;
|
| 29 |
+
}}
|
| 30 |
+
@media (max-width: 640px) {{
|
| 31 |
+
.card {{
|
| 32 |
padding: 1rem;
|
| 33 |
+
}}
|
| 34 |
+
h2 {{
|
| 35 |
font-size: 1.25rem;
|
| 36 |
+
}}
|
| 37 |
+
}}
|
| 38 |
</style>
|
| 39 |
</head>
|
| 40 |
<body class="p-4 sm:p-6">
|