diff --git a/HubCmdUI/docker-proxy.html b/HubCmdUI/docker-proxy.html index 9a93324..d6e15ef 100644 --- a/HubCmdUI/docker-proxy.html +++ b/HubCmdUI/docker-proxy.html @@ -53,6 +53,7 @@ } .container { max-width: 800px; + min-width: 800px; /* 固定容器宽度 */ width: 100%; margin: 20px auto; background: white; @@ -60,6 +61,7 @@ border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); flex-grow: 1; + position: relative; } h1, h2 { border-bottom: 2px solid #eaecef; @@ -95,6 +97,22 @@ button:hover { background-color: #2c974b; } + /* 广告容器样式 */ + .ad-container { + display: flex; + justify-content: center; + align-items: center; + margin-top: 90px; /* 与获取命令按钮之间的间距 */ + margin-bottom: 30px; + max-width: 800px; + min-width: 800px; + } + .ad-container img { + max-width: 100%; + width: 750; /* 广告图片宽度 */ + height: 300px; /* 广告图片高度 */ + border-radius: 8px; + } pre { background-color: #f6f8fa; border-radius: 4px; @@ -109,6 +127,10 @@ font-size: 12px; margin-top: -5px; background-color: #0366d6; + color: white; + border: none; + border-radius: 4px; + cursor: pointer; } .copy-btn:hover { background-color: #0256b9; @@ -178,39 +200,51 @@
+