From 4b989ab692cdb2b174cb2cb032767dd2f845c18c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?TOP=E7=B3=AF=E7=B1=B3?= <1130395124@qq.com>
Date: Fri, 6 Oct 2023 12:41:43 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
about.html | 4 +++-
contact.html | 6 +++---
css/reset.css | 5 ++++-
css/style.css | 8 ++++++++
css/style.less | 9 +++++++++
5 files changed, 27 insertions(+), 5 deletions(-)
diff --git a/about.html b/about.html
index 5f99ba7..cef52d9 100644
--- a/about.html
+++ b/about.html
@@ -55,7 +55,9 @@
diff --git a/contact.html b/contact.html
index 80331b1..24c095d 100644
--- a/contact.html
+++ b/contact.html
@@ -38,16 +38,16 @@
-
diff --git a/css/reset.css b/css/reset.css
index dc2aa43..5c46da8 100644
--- a/css/reset.css
+++ b/css/reset.css
@@ -1,12 +1,15 @@
* {
padding: 0;
margin: 0;
- -webkit-tap-highlight-color:rgba(0,0,0,0);
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
+
ul {
list-style: none;
}
+
a {
color: unset;
text-decoration: none;
+ outline: none;
}
\ No newline at end of file
diff --git a/css/style.css b/css/style.css
index c504657..a2c9872 100644
--- a/css/style.css
+++ b/css/style.css
@@ -273,6 +273,9 @@
.section.article-detail .content {
padding: 30px 0;
}
+.section.article-detail .content img {
+ max-width: 100%;
+}
.full-wrap.about {
background-color: #F7F7F7;
}
@@ -307,6 +310,10 @@
text-align: center;
font-size: 0;
}
+.section.mapcont .mcont a {
+ display: block;
+ width: 100%;
+}
.section.mapcont .mcont img {
max-width: 100%;
}
@@ -371,6 +378,7 @@
background-color: #ffffff;
}
.section.contact-map .cm-map {
+ display: block;
position: absolute;
top: 170px;
height: 520px;
diff --git a/css/style.less b/css/style.less
index 8a4f536..1deb116 100644
--- a/css/style.less
+++ b/css/style.less
@@ -346,6 +346,9 @@
.content {
padding: 30px 0;
+ img {
+ max-width: 100%;
+ }
}
}
@@ -395,6 +398,11 @@
text-align: center;
font-size: 0;
+ a {
+ display: block;
+ width: 100%;
+ }
+
img {
max-width: 100%;
}
@@ -471,6 +479,7 @@
}
.cm-map {
+ display: block;
position: absolute;
top: 170px;
height: 520px;