256 lines
4.3 KiB
CSS
256 lines
4.3 KiB
CSS
/* Basic Reset & Body Style */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body, html {
|
|
height: 100%;
|
|
width: 100%;
|
|
/* 增加中文字体支持 */
|
|
font-family: 'ZCOOL KuaiLe', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
|
|
overflow: hidden;
|
|
color: #fff;
|
|
|
|
/* 禁止选中 */
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
/* Background Video Styling */
|
|
.video-background {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: -1;
|
|
}
|
|
|
|
#bg-video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* Main content container */
|
|
.main-container {
|
|
position: relative;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Positioning Elements */
|
|
|
|
.logo {
|
|
position: absolute;
|
|
top: 4vw;
|
|
left: 4vw;
|
|
width: 30vw;
|
|
max-width: 450px;
|
|
}
|
|
|
|
.top-right-icons {
|
|
position: absolute;
|
|
top: 4vw;
|
|
right: 4vw;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.top-right-icons .icon-link {
|
|
display: block;
|
|
width: 6vh;
|
|
height: 6vh;
|
|
margin-left: 1.5vw;
|
|
}
|
|
|
|
/* --- Navigation Styles --- */
|
|
.main-nav {
|
|
position: absolute;
|
|
top: 30%;
|
|
right: 5vw;
|
|
transform: translateY(-50%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.main-nav a {
|
|
margin: 0.8vh 0;
|
|
width: 28vh; /* 统一宽度 */
|
|
display: block;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.main-nav a:hover {
|
|
transform: scale(1.05); /* 悬停效果 */
|
|
}
|
|
|
|
/* SVG 按钮样式 */
|
|
.nav-button-svg {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.2));
|
|
}
|
|
|
|
.slogan {
|
|
position: absolute;
|
|
bottom: 12vh;
|
|
left: 5vw;
|
|
width: 35vw;
|
|
max-width: 480px;
|
|
}
|
|
|
|
.downloads {
|
|
position: absolute;
|
|
bottom: 8vh;
|
|
right: 5vw;
|
|
display: flex;
|
|
}
|
|
|
|
.downloads a {
|
|
margin-left: 1.5vw;
|
|
width: 18vh;
|
|
}
|
|
|
|
/* General image style */
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* --- Welcome Overlay Styles --- */
|
|
#welcome-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 100;
|
|
transition: opacity 0.5s ease;
|
|
}
|
|
|
|
#enter-button {
|
|
padding: 15px 40px;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
color: white;
|
|
background-color: #ff5722;
|
|
border: 2px solid white;
|
|
border-radius: 50px;
|
|
cursor: pointer;
|
|
text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
#enter-button:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
/* --- Modal Styles --- */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 101;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
background-color: rgba(0,0,0,0.6);
|
|
}
|
|
|
|
.modal-content {
|
|
background: #fdf2e3;
|
|
margin: 15% auto;
|
|
padding: 30px;
|
|
border: 8px solid #fff;
|
|
width: 90%;
|
|
max-width: 500px;
|
|
color: #4a2b16;
|
|
border-radius: 20px;
|
|
font-family: inherit;
|
|
text-align: center;
|
|
position: relative;
|
|
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.close-btn {
|
|
color: #a46f49;
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 20px;
|
|
font-size: 35px;
|
|
font-weight: bold;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.close-btn:hover,
|
|
.close-btn:focus {
|
|
color: #7c4d2b;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.modal h2 {
|
|
font-size: 2.5em;
|
|
margin-bottom: 20px;
|
|
color: #d66847;
|
|
text-shadow: 2px 2px #fff;
|
|
}
|
|
|
|
.modal p {
|
|
font-size: 1.2em;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.modal input[type="file"] {
|
|
margin: 20px 0;
|
|
display: inline-block;
|
|
}
|
|
|
|
.modal button {
|
|
padding: 12px 30px;
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
color: white;
|
|
background-color: #f79474;
|
|
border: 3px solid white;
|
|
border-radius: 30px;
|
|
cursor: pointer;
|
|
text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
|
|
transition: transform 0.2s ease;
|
|
font-family: 'ZCOOL KuaiLe', sans-serif;
|
|
}
|
|
|
|
.modal button:hover {
|
|
transform: scale(1.05);
|
|
background-color: #e86b55;
|
|
}
|
|
|
|
#report-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
#report-list li {
|
|
background: #fff8f0;
|
|
margin: 10px 0;
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
border: 2px dashed #f79474;
|
|
}
|