451 lines
7.0 KiB
CSS
451 lines
7.0 KiB
CSS
@charset"utf-8";
|
|
|
|
/*全局样式*/
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
*,
|
|
a,
|
|
p {
|
|
text-decoration: none;
|
|
transition: 0.3s;
|
|
color: #efefef;
|
|
user-select: none;
|
|
font-family: 'PingFangSC';
|
|
}
|
|
|
|
a:hover {
|
|
color: white;
|
|
}
|
|
|
|
.cards {
|
|
transition: 0.5s;
|
|
}
|
|
|
|
.cards:hover {
|
|
transform: scale(1.01);
|
|
transition: 0.5s;
|
|
}
|
|
|
|
.cards:active {
|
|
transform: scale(0.95);
|
|
transition: 0.5s;
|
|
}
|
|
|
|
#section {
|
|
background-image: url(https://api.ixiaowai.cn/gqapi/gqapi.php), url(../img/background.jpg);
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|
|
|
|
/*页面样式*/
|
|
section {
|
|
display: block;
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
main {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgb(0 0 0 / 20%);
|
|
display: flex;
|
|
/*align-items: center;*/
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.row {
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.main-left {
|
|
/*transform: translateY(240px);*/
|
|
transform: translateY(40px);
|
|
}
|
|
|
|
/*
|
|
.main-right {
|
|
transform: translateY(38%);
|
|
}
|
|
*/
|
|
.row.rightone {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
/*头像*/
|
|
.main-img {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.main-img img {
|
|
border-radius: 50%;
|
|
width: 120px;
|
|
}
|
|
|
|
.main-img img:hover {
|
|
transform: rotate(360deg);
|
|
}
|
|
|
|
.img-title {
|
|
width: 100%;
|
|
margin-left: 12px;
|
|
transform: translateY(-8%);
|
|
}
|
|
|
|
span.img-title {
|
|
font-size: 5rem;
|
|
font-family: 'Pacifico-Regular' !important;
|
|
}
|
|
|
|
span.img-text {
|
|
font-size: 2rem;
|
|
font-family: 'Pacifico-Regular' !important;
|
|
}
|
|
|
|
/*简介*/
|
|
.message {
|
|
background: rgb(0 0 0 / 25%);
|
|
backdrop-filter: blur(10px);
|
|
/*margin: 0.5rem;*/
|
|
padding: 1rem;
|
|
border-radius: 6px;
|
|
margin-top: 3.5rem;
|
|
max-width: 460px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.des {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
p.des-title {
|
|
margin: 1rem 1rem;
|
|
line-height: 2rem;
|
|
font-size: 1.10rem;
|
|
}
|
|
|
|
span#change {
|
|
font-family: 'Pacifico-Regular' !important;
|
|
}
|
|
|
|
i.iconfont.icon-yinhao-copy {
|
|
align-self: flex-end;
|
|
}
|
|
|
|
/*社交链接*/
|
|
.social {
|
|
margin-top: 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
max-width: 460px;
|
|
}
|
|
|
|
.link i {
|
|
font-size: 1.75rem;
|
|
margin: 0px 10px;
|
|
}
|
|
|
|
/*
|
|
.social .link i:hover {
|
|
font-size: 2.5rem;
|
|
}
|
|
*/
|
|
#link-text {
|
|
display: none;
|
|
flex: 1;
|
|
text-align: right;
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
/*一言*/
|
|
.hitokoto {
|
|
width: 100%;
|
|
background: rgb(0 0 0 / 25%);
|
|
backdrop-filter: blur(10px);
|
|
padding: 20px;
|
|
border-radius: 6px;
|
|
height: 165px;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.hitokoto-all {
|
|
margin-top: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.hitokoto-text {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.hitokoto-from {
|
|
margin-top: 10px;
|
|
font-weight: bold;
|
|
align-self: flex-end;
|
|
font-size: 1.10rem;
|
|
}
|
|
|
|
/*时间卡片*/
|
|
.time {
|
|
width: 100%;
|
|
background: rgb(0 0 0 / 25%);
|
|
backdrop-filter: blur(10px);
|
|
padding: 20px;
|
|
border-radius: 6px;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 165px;
|
|
font-size: 1.10rem;
|
|
}
|
|
|
|
span.time-text {
|
|
font-size: 3.25rem;
|
|
letter-spacing: 2px;
|
|
font-family: 'UnidreamLED' !important;
|
|
}
|
|
|
|
/*分割线*/
|
|
.line {
|
|
margin: 1rem 0.25rem;
|
|
margin-top: 2rem;
|
|
font-size: 1.2rem;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
span.line-text {
|
|
font-size: 1.35rem;
|
|
margin: 0px 6px;
|
|
}
|
|
|
|
i.iconfont.icon-link {
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
/*链接卡片*/
|
|
.link-card {
|
|
height: 100px;
|
|
width: 100%;
|
|
border-radius: 6px;
|
|
background: rgb(0 0 0 / 25%);
|
|
backdrop-filter: blur(10px);
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
|
|
.link-card i {
|
|
margin-left: 0px;
|
|
font-size: 2.2rem;
|
|
}
|
|
|
|
.link-card:hover {
|
|
background: rgb(0 0 0 / 40%);
|
|
transition: 0.5s;
|
|
}
|
|
|
|
span.link-name {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.link-card:hover span.link-name {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
/*更多页面*/
|
|
.more {
|
|
display: none !important;
|
|
width: 46%;
|
|
z-index: 999;
|
|
position: fixed;
|
|
height: 82%;
|
|
right: 4%;
|
|
background: rgb(0 0 0 / 25%);
|
|
backdrop-filter: blur(10px);
|
|
top: 7%;
|
|
border-radius: 6px;
|
|
padding: 30px;
|
|
}
|
|
|
|
.mores .more {
|
|
display: flex !important;
|
|
justify-content: space-evenly;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
animation: fade;
|
|
-webkit-animation: fade 0.3s;
|
|
-moz-animation: fade 0.3s;
|
|
-o-animation: fade 0.3s;
|
|
-ms-animation: fade 0.3s;
|
|
}
|
|
|
|
.mores .col.right {
|
|
display: none;
|
|
}
|
|
|
|
/*关闭按钮*/
|
|
|
|
.close {
|
|
display: none;
|
|
left: auto;
|
|
top: 4px;
|
|
right: 8px;
|
|
font-size: 1.45rem;
|
|
}
|
|
|
|
.close:hover {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
/*时间胶囊*/
|
|
.progress {
|
|
width: 100%;
|
|
height: 20px;
|
|
align-items: center;
|
|
background: rgb(255 255 255 / 25%) !important;
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.progress-bar {
|
|
font-family: 'UnidreamLED' !important;
|
|
background-color: #efefef !important;
|
|
color: rgb(86 77 89) !important;
|
|
font-size: 0.95rem;
|
|
height: 20px;
|
|
}
|
|
|
|
.date {
|
|
width: 100%;
|
|
}
|
|
|
|
.date-text {
|
|
margin: 1rem 0rem 0.5rem 0rem;
|
|
}
|
|
|
|
/*更多页面链接*/
|
|
|
|
.mores .link-card {
|
|
height: 48px !important;
|
|
}
|
|
|
|
/*box*/
|
|
|
|
.box {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: 1996;
|
|
background-color: rgba(0, 0, 0, .5);
|
|
backdrop-filter: blur(20px);
|
|
animation: fade 0.3s;
|
|
}
|
|
|
|
.box-wrapper {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
-webkit-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
z-index: 1997;
|
|
width: 80%;
|
|
height: 80%;
|
|
background: rgb(255 255 255 / 40%);
|
|
border-radius: 6px;
|
|
-webkit-animation: fade .3s;
|
|
animation: fade .3s;
|
|
padding: 40px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.upnote {
|
|
margin-top: 2rem;
|
|
margin-left: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
line-height: 40px;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.closebox {
|
|
left: auto;
|
|
top: 10px;
|
|
right: 16px;
|
|
}
|
|
|
|
.closebox:hover {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
i.iconfont.icon-close {
|
|
font-size: 1.45rem;
|
|
}
|
|
|
|
/*移动端页面切换按钮*/
|
|
i.iconfont.icon-bars,
|
|
i.iconfont.icon-times {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
/*页脚样式*/
|
|
footer {
|
|
text-align: center;
|
|
height: 46px;
|
|
backdrop-filter: blur(10px);
|
|
background: rgb(0 0 0 / 25%);
|
|
}
|
|
|
|
.power {
|
|
line-height: 46px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/*弹窗样式*/
|
|
.iziToast {
|
|
background: rgb(0 0 0 / 45%) !important;
|
|
backdrop-filter: blur(10px) !important;
|
|
}
|
|
|
|
.iziToast-body .iziToast-message {
|
|
line-height: 18px !important;
|
|
}
|
|
|
|
.iziToast:after {
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.iziToast-message.slideIn {
|
|
margin-top: 5px !important;
|
|
}
|
|
|
|
.iziToast-message {
|
|
word-break: break-all !important;
|
|
}
|
|
|
|
.iziToast>.iziToast-close {
|
|
background: url(https://cdn.jsdelivr.net/gh/imsyy/file/pic/close.png) no-repeat 50% 50% !important;
|
|
background-size: 8px !important;
|
|
} |