From 670072fa70ea3ab6af4cf7ad532fc48f7fa029e2 Mon Sep 17 00:00:00 2001 From: skimrme Date: Sun, 29 Jun 2025 05:09:55 +0800 Subject: [PATCH] dev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 再次网页导航栏修改 使其画面不割裂 能够自然呢自适应分辨率 2025.6.29-1 --- .gitignore | 2 +- public/css/body/background-color.css | 6 ++++-- public/css/body/background-image.css | 6 ++++-- public/css/body/body_index.css | 13 ++++++------ public/css/body/div_top_navbar_li.css | 6 ++++++ public/navbar/div_top_navbar_li.html | 29 ++++++++++++++++----------- 6 files changed, 39 insertions(+), 23 deletions(-) create mode 100644 public/css/body/div_top_navbar_li.css diff --git a/.gitignore b/.gitignore index 1849bf1..c236276 100755 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ databases/ -src/user/ +src/ *.db \ No newline at end of file diff --git a/public/css/body/background-color.css b/public/css/body/background-color.css index 8689513..affbe83 100755 --- a/public/css/body/background-color.css +++ b/public/css/body/background-color.css @@ -1,4 +1,6 @@ -body +/* body { background-image: url('./css/body/img/index-img.jpg'); -} \ No newline at end of file +} */ + +/* 弃用 */ \ No newline at end of file diff --git a/public/css/body/background-image.css b/public/css/body/background-image.css index 22b0483..596be46 100755 --- a/public/css/body/background-image.css +++ b/public/css/body/background-image.css @@ -1,4 +1,6 @@ -body +/* body { background-image: url('./img/index-img.jpg'); -} \ No newline at end of file +} */ + +/* 弃用 */ \ No newline at end of file diff --git a/public/css/body/body_index.css b/public/css/body/body_index.css index 70f8869..83e1625 100755 --- a/public/css/body/body_index.css +++ b/public/css/body/body_index.css @@ -39,18 +39,19 @@ /*8888888888888888888888888888888888888888*/ /* 页面顶上 top */ -#div_top +/*#div_top { /* 页面边距 上、右、下、左 */ /* margin: 15px 35px 0px 10%; */ - background-color: rgba(0, 0, 0, 0.616); +/* background-color: rgba(0, 0, 0, 0.616); position:absolute; left: 7.5%; top: 0%; right: 7.5%; color:rgba(0, 0, 0, 0); height: 12%; -} -#div_top_navbar_li +} */ + +/* #div_top_navbar_li { /* 页面边距 上、右、下、左 */ - margin: -63px 0px 0px -8px; +/* margin: -63px 0px 0px -8px; color: rgba(0, 0, 0, 0); -} \ No newline at end of file +} */ \ No newline at end of file diff --git a/public/css/body/div_top_navbar_li.css b/public/css/body/div_top_navbar_li.css new file mode 100644 index 0000000..dace193 --- /dev/null +++ b/public/css/body/div_top_navbar_li.css @@ -0,0 +1,6 @@ +#div_top_navbar_li +{ + /* 页面边距 上、右、下、左 */ + margin: -64px 0px 0px 0px; + background-color: rgba(0, 0, 0, 0.433); +} \ No newline at end of file diff --git a/public/navbar/div_top_navbar_li.html b/public/navbar/div_top_navbar_li.html index ca4565f..1e031da 100755 --- a/public/navbar/div_top_navbar_li.html +++ b/public/navbar/div_top_navbar_li.html @@ -1,13 +1,18 @@ -
  • - 视频 -
  • -
  • - 关于 -
  • -
  • - 留言板 -
  • -
  • - 上传文件 -
  • \ No newline at end of file + + + +
    +
  • + 视频 +
  • +
  • + 关于 +
  • +
  • + 留言板 +
  • +
  • + 上传文件 +
  • +
    \ No newline at end of file