From 71ae9c6d060d7398e73e54cfff588581d334ba96 Mon Sep 17 00:00:00 2001 From: Soga <57104622+soga11@users.noreply.github.com> Date: Tue, 22 Oct 2024 10:44:13 +0800 Subject: [PATCH] Update globals.css --- styles/globals.css | 181 +++++++-------------------------------------- 1 file changed, 28 insertions(+), 153 deletions(-) diff --git a/styles/globals.css b/styles/globals.css index 0453d70..39e0a18 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -62,7 +62,7 @@ right: 0; bottom: 0; z-index: -1; - background: url(https://t.mwm.moe/ys/) no-repeat center center fixed; + background: rgba(255, 255, 255, 0.5) url(https://t.mwm.moe/ys/) no-repeat center center fixed; background-size: cover; } @@ -70,16 +70,29 @@ .glowing-text { font-size: 50px; /* 调整字体大小 */ font-weight: bold; + color: white; /* 设置文字颜色 */ + text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* 增加发光效果 */ + padding: 15px; + border-radius: 10px; + background-color: rgba(0, 0, 0, 0.6); /* 背景半透明黑色 */ + display: inline-block; /* 保证文字背景大小合适 */ } .weather-detail { font-size: 24px; /* 调整天气详情字体大小 */ + color: white; + background-color: rgba(0, 0, 0, 0.6); /* 背景半透明黑色 */ + padding: 15px; + border-radius: 10px; + margin: 10px 0; } #mapContainer { width: 100%; height: 500px; /* 调整地图大小 */ margin-top: 20px; + border: 2px solid rgba(255, 255, 255, 0.8); /* 边框颜色 */ + border-radius: 10px; } .flag-img { @@ -91,161 +104,23 @@ - -
- 国旗 +
+ +

Geolocation and Weather Info

+ + +

当前温度:25°C,天气:晴

+ + +
+ + + 国旗
-

您的IPv4地址是:

-

-

详细地址(IPv4):

-

- -

您的IPv6地址是:

-

-

详细地址(IPv6):

-

- -

邮政编码:

-

- -

距离广州的距离:

-

- -

天气情况:

-

- -

当前日期时间:

-

- -

2025新年倒计时:

-

- -

地图位置:

-
- - - - +