607 lines
8.8 KiB
CSS
607 lines
8.8 KiB
CSS
body {
|
|
background-color: skyblue;
|
|
margin: 0;
|
|
}
|
|
|
|
#header {
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: #ffffff;
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
#header .logo {
|
|
margin-right: 40px;
|
|
}
|
|
|
|
#header .nav {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
#header .nav ul {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style-type: none;
|
|
}
|
|
|
|
#header .nav ul li {
|
|
font-size: 20px;
|
|
padding: 10px 15px;
|
|
}
|
|
|
|
#header .language {
|
|
margin-left: 40px;
|
|
}
|
|
|
|
#header .language ul {
|
|
display: flex;
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
#header .language ul li {
|
|
font-size: 18px;
|
|
padding: 10px 15px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
#header .nav ul li:hover,
|
|
#header .language ul li:hover {
|
|
background-color: #f0f0f0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#swipper {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
position: relative;
|
|
height: 400px;
|
|
}
|
|
|
|
.swipper-container {
|
|
display: flex;
|
|
width: 400%;
|
|
transition: transform 0.5s ease;
|
|
}
|
|
|
|
.swipper-slide {
|
|
width: 25%;
|
|
}
|
|
|
|
.swipper-slide-img {
|
|
width: 100%;
|
|
height: 400px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.prev, .next {
|
|
position: absolute;
|
|
width: 40px;
|
|
height: 40px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.prev:hover, .next:hover {
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.prev img, .next img {
|
|
width: 20px;
|
|
height: 20px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.prev {
|
|
left: 20px;
|
|
}
|
|
|
|
.next {
|
|
right: 20px;
|
|
}
|
|
|
|
.counter {
|
|
position: absolute;
|
|
display: flex;
|
|
gap: 10px;
|
|
bottom: 20px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.point {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.point:hover {
|
|
background-color: #fff;
|
|
}
|
|
|
|
#newsman {
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
#newsman h1 {
|
|
font-size: 36px;
|
|
margin-bottom: 30px;
|
|
position: relative;
|
|
color: #333;
|
|
}
|
|
|
|
#newsman p {
|
|
font-size: 16px;
|
|
color: #666;
|
|
max-width: 1000px;
|
|
margin: 0 auto 30px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
#newsman h1::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -10px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 60px;
|
|
height: 3px;
|
|
background-color: #00a0e9;
|
|
}
|
|
|
|
.info-section {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
max-width: 1200px;
|
|
margin: 30px auto 0;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.info-item {
|
|
flex: 1;
|
|
margin: 0 20px;
|
|
text-align: center;
|
|
padding: 20px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.info-item::before {
|
|
content: '';
|
|
display: block;
|
|
width: 60px;
|
|
height: 60px;
|
|
margin: 0 auto 20px;
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
.info-item:nth-child(1)::before {
|
|
background-image: url('../images/index-cultural01.png');
|
|
}
|
|
|
|
.info-item:nth-child(2)::before {
|
|
background-image: url('../images/index-cultural02.png');
|
|
}
|
|
|
|
.info-item:nth-child(3)::before {
|
|
background-image: url('../images/index-cultural03.png');
|
|
}
|
|
|
|
.info-item:nth-child(4)::before {
|
|
background-image: url('../images/index-cultural04.png');
|
|
}
|
|
|
|
.info-item h2 {
|
|
font-size: 24px;
|
|
margin-bottom: 15px;
|
|
color: #333;
|
|
}
|
|
|
|
.info-item p {
|
|
font-size: 14px;
|
|
color: #666;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.info-item:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
#product {
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
#product h1 {
|
|
font-size: 28px;
|
|
margin-bottom: 15px;
|
|
color: #333;
|
|
}
|
|
|
|
#product h1::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -10px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 60px;
|
|
height: 3px;
|
|
background-color: #00a0e9;
|
|
}
|
|
|
|
#product p {
|
|
font-size: 14px;
|
|
color: #666;
|
|
max-width: 800px;
|
|
margin: 0 auto 30px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.product-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, 1fr);
|
|
gap: 20px;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.product-item {
|
|
background: #fff;
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
transition: transform 0.3s ease;
|
|
text-align: center;
|
|
}
|
|
|
|
.product-item img {
|
|
width: 100%;
|
|
height: auto;
|
|
margin-bottom: 10px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.product-item h3 {
|
|
font-size: 14px;
|
|
color: #333;
|
|
margin: 0;
|
|
padding: 5px 0;
|
|
}
|
|
|
|
.product-item:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
#news {
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
background-color: #fff;
|
|
}
|
|
|
|
#news h1 {
|
|
font-size: 28px;
|
|
margin-bottom: 15px;
|
|
color: #333;
|
|
position: relative;
|
|
}
|
|
|
|
#news h1::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -10px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 60px;
|
|
height: 3px;
|
|
background-color: #00a0e9;
|
|
}
|
|
|
|
#news p {
|
|
font-size: 14px;
|
|
color: #666;
|
|
max-width: 800px;
|
|
margin: 0 auto 30px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.news-container {
|
|
display: flex;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
gap: 30px;
|
|
}
|
|
|
|
.news-left {
|
|
flex: 1;
|
|
background: #fff;
|
|
border: 1px solid #e4e4e4;
|
|
position: relative;
|
|
}
|
|
|
|
.news-left img {
|
|
width: 100%;
|
|
height: 300px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.news-text {
|
|
padding: 20px;
|
|
text-align: left;
|
|
}
|
|
|
|
.news-date {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 20px;
|
|
background: #00a0e9;
|
|
color: #fff;
|
|
padding: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.news-date .day {
|
|
display: block;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.news-date .month {
|
|
display: block;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.news-text h3 {
|
|
font-size: 18px;
|
|
color: #333;
|
|
margin: 0 0 15px;
|
|
}
|
|
|
|
.news-right {
|
|
flex: 1;
|
|
background: #fff;
|
|
border: 1px solid #e4e4e4;
|
|
padding: 20px;
|
|
}
|
|
|
|
.news-right ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.news-right li {
|
|
padding: 15px 0;
|
|
border-bottom: 1px dashed #e4e4e4;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.news-right li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.news-time {
|
|
color: #999;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.news-right a {
|
|
color: #333;
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.news-right a:hover {
|
|
color: #00a0e9;
|
|
}
|
|
|
|
.video {
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
.video h1 {
|
|
font-size: 28px;
|
|
margin-bottom: 15px;
|
|
color: #333;
|
|
position: relative;
|
|
}
|
|
|
|
.video h1::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -10px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 60px;
|
|
height: 3px;
|
|
background-color: #00a0e9;
|
|
}
|
|
|
|
.video p {
|
|
font-size: 14px;
|
|
color: #666;
|
|
max-width: 800px;
|
|
margin: 0 auto 30px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.video-container {
|
|
display: flex;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
gap: 20px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.video-item {
|
|
flex: 0 0 calc(25% - 15px);
|
|
position: relative;
|
|
cursor: pointer;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.video-item img {
|
|
width: 100%;
|
|
height: 200px;
|
|
object-fit: cover;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.video-item .play-icon {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 50px;
|
|
height: 50px;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.video-item .play-icon::before {
|
|
content: '';
|
|
border-style: solid;
|
|
border-width: 10px 0 10px 16px;
|
|
border-color: transparent transparent transparent #fff;
|
|
}
|
|
|
|
.video-item:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.video-text {
|
|
padding: 15px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.video-text h3 {
|
|
font-size: 16px;
|
|
color: #333;
|
|
margin: 0 0 8px;
|
|
}
|
|
|
|
.video-text p {
|
|
font-size: 14px;
|
|
color: #666;
|
|
margin: 0;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
#footer {
|
|
background-color: #333;
|
|
color: #fff;
|
|
padding: 50px 0 20px;
|
|
}
|
|
|
|
.footer-content {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.footer-section {
|
|
flex: 1;
|
|
min-width: 200px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.footer-section h4 {
|
|
font-size: 18px;
|
|
margin-bottom: 20px;
|
|
position: relative;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.footer-section h4::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 30px;
|
|
height: 2px;
|
|
background-color: #0088ff;
|
|
}
|
|
|
|
.footer-section ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.footer-section ul li {
|
|
margin-bottom: 10px;
|
|
color: #999;
|
|
cursor: pointer;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.footer-section ul li:hover {
|
|
color: #0088ff;
|
|
}
|
|
|
|
.contact-info p {
|
|
color: #999;
|
|
margin-bottom: 10px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.footer-bottom {
|
|
text-align: center;
|
|
margin-top: 30px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #444;
|
|
}
|
|
|
|
.footer-bottom p {
|
|
color: #666;
|
|
font-size: 14px;
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.footer-section {
|
|
flex: 0 0 50%;
|
|
padding: 0 15px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.footer-section {
|
|
flex: 0 0 100%;
|
|
}
|
|
|
|
.footer-content {
|
|
padding: 0 15px;
|
|
}
|
|
}
|
|
}
|