You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
2.7 KiB

@font-face {
font-family: 'STHUPO';
src: url('fonts/STHUPO.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'aabairimengxiangjia';
src: url('fonts/aabairimengxiangjia.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'STXINGKA';
src: url('fonts/STXINGKA.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}
html, body {
height: 100%;
margin: 0;
}
body {
background: linear-gradient(180deg, rgba(255,255,255,1) 0%,rgba(204,204,204,1) 100%);
background-size: 100% 100%;
position: relative;
}
#interface {
width: 500px;
height: 500px;
background: radial-gradient(0.5% 0.5% at 50% 50%, rgba(255,248,248,0) 0%,rgba(227,227,227,1) 100%);
box-shadow: -4px 4px 2px 2px rgba(0,0,0,0.4);
border: 6px solid rgba(79,79,79,1);
border-radius: 100%;
position: relative;
margin: 50px auto;
}
#nameDisplay {
width: 300px;
height: 100px;
color: rgba(93,93,93,1);
border-radius: 10%;
position: absolute;
top: 130px;
left: 100px;
font-size: 45px;
text-align: center;
line-height: 100px;
overflow: hidden;
font-family: STHUPO;
}
button {
width: 240px;
height: 90px;
left: 125px;
font-size: 30px;
border-radius: 10%;
background-color: lightgray;
position: absolute;
bottom: 50px;
text-align: center;
line-height: 50px;
}
@keyframes jump {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.custom-text {
position: absolute;
font-size: 20px;
color: rgba(93,93,93,1);
font-family: aabairimengxiangjia;
animation: jump 1.5s infinite;
}
#leftText {
bottom: 10px;
left: 10px;
}
#rightText {
bottom: 10px;
right: 10px;
}
#topBanner {
width: 100%;
height: 8%;
background-color: rgba(227,227,227,1);
color: rgba(93,93,93,1);
box-shadow: 0px 2px 2px 1px rgba(0,0,0,0.4);
position: absolute;
top: 0;
font-family: STHUPO;
display: flex;
align-items: center;
justify-content: center;
font-size: 33px;
color: rgba(93,93,93,1);
}
/* 上传容器的样式 */
.upload-container {
position: relative;
top: 10px;
left: 10px;
}
/* 上传按钮的样式 */
.upload-button {
display: inline-block;
padding: 10px 20px;
border-radius: 15px;
background: linear-gradient(180deg, rgba(239,239,239,1) 0%,rgba(219,219,219,1) 100%);
color: rgba(79,79,79,1);
box-shadow: -4px 4px 1px 0px rgba(0,0,0,0.4);
cursor: pointer;
}
/* 文件名显示的样式 */
#file-name {
margin-left: 10px;
font-size: 16px;
}