style: 增加时钟和信息板块之间的间隔

This commit is contained in:
MKStoler1024 2025-03-27 08:22:07 +00:00
parent 48761f0093
commit b90b5049cb
2 changed files with 5 additions and 0 deletions

View File

@ -99,6 +99,7 @@ h1 {
padding: 20px; padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
border-radius: 8px; border-radius: 8px;
margin-bottom: 20px; /* 增加时钟和信息板块之间的间隔 */
} }
#current-time { #current-time {

View File

@ -100,6 +100,10 @@ h1 {
border-radius: 8px; border-radius: 8px;
} }
.clock-section, .info-section {
margin-bottom: 20px; /* 增加时钟和信息板块之间的间隔 */
}
#current-time { #current-time {
font-size: 8rem; font-size: 8rem;
text-align: center; text-align: center;