-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
124 lines (109 loc) · 2.17 KB
/
style.css
File metadata and controls
124 lines (109 loc) · 2.17 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/* 頁面基本樣式 */
body {
background-color: #0a0a12;
color: white;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
display: contents;
width: 90%;
max-width: 12000px;
}
/* 左側內容 */
.left-panel {
width: 40%;
text-align: center;
}
.clock {
font-size: 9rem;
font-weight: bold;
color: #ffca99;
text-align: left;
padding-left: 10px;
}
.date {
font-size: 2.5rem;
color: lightgreen;
text-align: left;
padding-left: 10px;
}
.slideshow-container {
width: 100%;
height: 500px;
display: flex;
justify-content: center;
align-items: center;
/*overflow: hidden;*/
margin-top: 100px;
}
.slideshow-container img {
width: 100%;
height: 600px;
object-fit: contain;
transition: opacity 5s;
}
/* 分隔線 */
.divider {
width: 3px;
background-color: rgb(255, 255, 255);
height: 100%;
margin: 10 20px;
}
/* 右側內容 */
.main-content {
width: 70%;
padding: 20px;
}
.today-data {
border: 2px solid white;
padding: 15px;
border-radius: 10px;
}
.charts {
display: flex;
justify-content: space-between;
}
/* 錯誤訊息 */
.hidden {
display: none;
}
#error-message {
font-size: 2rem;
color: red;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(255, 255, 255, 0.678);
}
/* 頁底 跑馬燈 */
.footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: rgb(255, 239, 147); /* 背景色可以改 */
color: rgb(0, 0, 0); /* 讓字更明顯 */
text-align: center;
font-weight: bold; /* 讓字變粗 */
padding: 15px 0; /* 增加上下間距 */
height: 80px; /* 固定 footer 高度 */
display: flex;
align-items: center;
justify-content: center;
}
/* 跑馬燈區域 */
.footer marquee {
width: 100%;
font-size: 5rem; /* 調整字體大小 */
font-weight: bold;
white-space: nowrap; /* 防止換行 */
overflow: hidden;
text-overflow: ellipsis; /* 防止文字溢出 */
}