home/css/style.css

664 lines
11 KiB
CSS
Raw Normal View History

2021-09-25 22:57:18 +08:00
@charset"utf-8";
2021-09-27 21:07:24 +08:00
2021-09-25 22:57:18 +08:00
/*全局样式*/
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background-color: #333;
2021-09-25 22:57:18 +08:00
}
*,
a,
p {
text-decoration: none;
transition: 0.3s;
color: #efefef;
user-select: none;
2022-01-21 13:39:47 +08:00
font-family: 'MiSans';
2021-09-25 22:57:18 +08:00
}
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;
}
2021-11-17 16:29:00 +08:00
#section {
background-image: url(https://api.ixiaowai.cn/gqapi/gqapi.php), url(../img/background.jpg);
background-repeat: no-repeat;
background-position: center center;
}
2021-09-25 22:57:18 +08:00
/*页面样式*/
section {
display: block;
position: fixed;
width: 100%;
height: 100%;
min-height: 600px;
transform: scale(1.10);
2022-01-20 21:56:06 +08:00
transition: ease 1.25s;
opacity: 0;
2022-01-20 21:56:06 +08:00
filter: blur(10px);
2021-09-25 22:57:18 +08:00
}
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;
2021-10-03 17:03:31 +08:00
justify-content: center;
2021-09-25 22:57:18 +08:00
width: 100%;
--bs-gutter-x: 0 !important;
}
.col.\32 {
margin: 0 1.5rem;
2021-09-25 22:57:18 +08:00
}
.main-left {
/*transform: translateY(240px);*/
transform: translateY(40px);
}
2021-09-27 21:07:24 +08:00
2021-09-25 22:57:18 +08:00
.row.rightone {
display: flex;
align-items: center;
}
/*头像*/
.main-img {
display: flex;
align-items: center;
}
.main-img img {
border-radius: 50%;
width: 120px;
}
2022-01-13 14:48:37 +08:00
.main-img img:hover {
transform: rotate(360deg);
}
2021-09-25 22:57:18 +08:00
.img-title {
width: 100%;
margin-left: 12px;
transform: translateY(-8%);
}
span.img-title {
font-size: 5rem;
2022-01-13 14:48:37 +08:00
font-family: 'Pacifico-Regular' !important;
2021-09-25 22:57:18 +08:00
}
span.img-text {
font-size: 2rem;
2022-01-13 14:48:37 +08:00
font-family: 'Pacifico-Regular' !important;
2021-09-25 22:57:18 +08:00
}
/*简介*/
.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;
2021-10-13 18:16:29 +08:00
cursor: pointer;
2021-09-25 22:57:18 +08:00
}
.des {
display: flex;
justify-content: space-between;
}
2022-01-21 13:39:47 +08:00
.des-title {
2021-09-25 22:57:18 +08:00
margin: 1rem 1rem;
line-height: 2rem;
2022-01-21 13:39:47 +08:00
/*font-size: 1.10rem;*/
2022-01-13 14:48:37 +08:00
}
span#change {
font-family: 'Pacifico-Regular' !important;
2021-09-25 22:57:18 +08:00
}
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;
}
2022-01-16 10:28:16 +08:00
/*
2022-01-13 14:48:37 +08:00
.social .link i:hover {
2022-01-16 10:28:16 +08:00
font-size: 2.5rem;
2022-01-13 14:48:37 +08:00
}
2022-01-16 10:28:16 +08:00
*/
2021-09-25 22:57:18 +08:00
#link-text {
display: none;
flex: 1;
text-align: right;
margin-right: 1rem;
}
/*一言*/
.col.hitokotos {
margin-right: 0.75rem;
}
2021-09-25 22:57:18 +08:00
.hitokoto {
width: 100%;
background: rgb(0 0 0 / 25%);
backdrop-filter: blur(10px);
padding: 20px;
border-radius: 6px;
2022-01-13 14:48:37 +08:00
height: 165px;
display: flex;
justify-content: center;
flex-direction: column;
2021-09-25 22:57:18 +08:00
}
.hitokoto-all {
margin-top: 10px;
display: flex;
flex-direction: column;
}
2022-01-13 14:48:37 +08:00
.hitokoto-text {
2022-01-21 13:39:47 +08:00
font-size: 1.10rem;
2022-01-13 14:48:37 +08:00
}
2021-09-25 22:57:18 +08:00
.hitokoto-from {
margin-top: 10px;
font-weight: bold;
align-self: flex-end;
2022-01-13 14:48:37 +08:00
font-size: 1.10rem;
2021-09-25 22:57:18 +08:00
}
.open-music {
2022-01-16 23:30:27 +08:00
display: none;
justify-content: center;
background: rgb(0 0 0 / 15%);
2022-01-16 23:30:27 +08:00
padding: 4px 0px;
animation: fade;
-webkit-animation: fade 0.5s;
-moz-animation: fade 0.5s;
-o-animation: fade 0.5s;
-ms-animation: fade 0.5s;
}
.open-music:hover {
background: rgb(0 0 0 / 30%);
}
/*音乐播放器卡片*/
#music {
display: none;
}
.music {
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;
animation: fade;
-webkit-animation: fade 0.3s;
-moz-animation: fade 0.3s;
-o-animation: fade 0.3s;
-ms-animation: fade 0.3s;
}
.music-all {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
height: 100%;
}
.music-button {
display: flex;
align-items: center;
margin-bottom: 6px;
}
.music-control {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-evenly;
width: 100%;
}
i.iconfont.icon-play,
i.iconfont.icon-pause {
font-size: 2.25rem;
padding: 6px;
border-radius: 6px;
}
i.iconfont.icon-play:hover,
i.iconfont.icon-pause:hover {
background: rgb(255 255 255 / 20%);
padding: 6px;
border-radius: 6px;
}
i#last,
i#next {
font-size: 2.0rem;
}
.music-text {
2022-01-21 13:39:47 +08:00
font-size: 1.10rem;
text-overflow: ellipsis;
2022-01-20 20:50:55 +08:00
max-width: 220px;
overflow-x: hidden;
white-space: nowrap;
}
#music-open,
#music-close {
background: rgb(255 255 255 / 15%);
padding: 2px 8px;
border-radius: 6px;
margin: 0px 6px;
text-overflow: ellipsis;
overflow-x: hidden;
white-space: nowrap;
}
#music-open:hover,
#music-close:hover {
background: rgb(255 255 255 / 30%);
}
2021-09-25 22:57:18 +08:00
/*时间卡片*/
.col.times {
margin-left: 0.75rem;
}
2021-09-25 22:57:18 +08:00
.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;
2022-01-13 14:48:37 +08:00
height: 165px;
font-size: 1.10rem;
2021-09-25 22:57:18 +08:00
}
span.time-text {
font-size: 3.25rem;
letter-spacing: 2px;
2022-01-13 14:48:37 +08:00
font-family: 'UnidreamLED' !important;
2021-09-25 22:57:18 +08:00
}
2022-01-13 14:48:37 +08:00
/*分割线*/
2021-09-25 22:57:18 +08:00
.line {
margin: 1rem 0.25rem;
margin-top: 2rem;
2022-01-21 13:39:47 +08:00
font-size: 1.10rem;
2022-01-13 14:48:37 +08:00
display: flex;
align-items: center;
}
span.line-text {
2022-01-21 13:39:47 +08:00
font-size: 1.2rem;
2022-01-13 14:48:37 +08:00
margin: 0px 6px;
}
i.iconfont.icon-link {
2022-01-21 13:39:47 +08:00
font-size: 1.2rem;
2021-09-25 22:57:18 +08:00
}
2022-01-13 14:48:37 +08:00
/*链接卡片*/
2021-09-25 22:57:18 +08:00
.link-card {
height: 100px;
width: 100%;
border-radius: 6px;
background: rgb(0 0 0 / 25%);
backdrop-filter: blur(10px);
display: flex;
align-items: center;
2022-01-13 14:48:37 +08:00
flex-direction: row;
justify-content: center;
}
.link-card i {
margin-left: 0px;
font-size: 2.2rem;
2021-09-25 22:57:18 +08:00
}
.link-card:hover {
background: rgb(0 0 0 / 40%);
transition: 0.5s;
}
2022-01-13 14:48:37 +08:00
span.link-name {
2022-01-21 13:39:47 +08:00
font-size: 1.1rem;
2022-01-13 14:48:37 +08:00
}
.link-card:hover span.link-name {
2022-01-21 13:39:47 +08:00
font-size: 1.15rem;
2022-01-13 14:48:37 +08:00
}
2021-09-25 22:57:18 +08:00
/*更多页面*/
.more {
2021-09-27 21:07:24 +08:00
display: none !important;
2021-09-25 22:57:18 +08:00
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;
2021-09-26 20:21:22 +08:00
padding: 30px;
2021-09-25 22:57:18 +08:00
}
.mores .more {
2021-09-27 21:07:24 +08:00
display: flex !important;
2021-09-26 20:21:22 +08:00
justify-content: space-evenly;
2021-09-25 22:57:18 +08:00
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;
}
2021-09-26 21:30:38 +08:00
/*关闭按钮*/
2021-09-26 20:21:22 +08:00
.close {
2021-09-26 21:30:38 +08:00
display: none;
2021-09-26 20:21:22 +08:00
left: auto;
top: 4px;
right: 8px;
font-size: 1.45rem;
}
2021-09-27 21:07:24 +08:00
.close:hover {
transform: scale(1.2);
}
2021-10-13 18:16:29 +08:00
/*时间胶囊*/
2021-09-26 20:21:22 +08:00
.progress {
width: 100%;
height: 20px;
align-items: center;
background: rgb(255 255 255 / 25%) !important;
backdrop-filter: blur(5px);
}
.progress-bar {
2022-01-13 14:48:37 +08:00
font-family: 'UnidreamLED' !important;
2021-09-26 20:21:22 +08:00
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;
}
2021-09-27 21:07:24 +08:00
/*box*/
2022-01-16 23:30:27 +08:00
.box-left {
flex: 0 44%;
min-width: 400px;
}
2021-09-27 21:07:24 +08:00
.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;
2022-01-16 23:30:27 +08:00
flex-direction: row;
justify-content: space-between;
2021-09-27 21:07:24 +08:00
}
.upnote {
margin-top: 2rem;
margin-left: 2rem;
display: flex;
flex-direction: column;
line-height: 40px;
2022-01-21 13:39:47 +08:00
font-size: 1.10rem;
2021-09-27 21:07:24 +08:00
}
.closebox {
left: auto;
2022-01-13 14:48:37 +08:00
top: 10px;
right: 16px;
2021-09-27 21:07:24 +08:00
}
.closebox:hover {
transform: scale(1.2);
}
i.iconfont.icon-close,
i.iconfont.icon-github1 {
2022-01-13 14:48:37 +08:00
font-size: 1.45rem;
}
2022-01-16 23:30:27 +08:00
/*Aplayer*/
.box-right {
flex: 0 54%;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.aplayer {
background: transparent !important;
width: 100%;
border-radius: 6px !important;
margin-right: 18px;
}
.aplayer.aplayer-withlrc .aplayer-pic {
border-radius: 6px !important;
}
/*歌曲名称*/
.aplayer .aplayer-info .aplayer-music .aplayer-title {
font-size: 16px !important;
}
/*音乐列表*/
.aplayer.aplayer-withlist .aplayer-list {
margin-top: 8px;
}
.aplayer .aplayer-list ol li.aplayer-list-light {
background: #ffffff57 !important;
border-radius: 6px !important;
}
.aplayer .aplayer-list ol li:hover {
background: #ffffff57 !important;
border-radius: 6px !important;
}
.aplayer .aplayer-list ol li {
border-top: 1px solid transparent !important;
}
.aplayer.aplayer-withlist .aplayer-info {
border-bottom: 1px solid transparent !important;
}
/*控制面板 - Bug*/
.aplayer .aplayer-info .aplayer-controller {
display: none !important;
}
/*歌词间距*/
.aplayer .aplayer-lrc {
margin: 4px 0 0px !important;
height: 34px !important;
}
/*歌词大小*/
.aplayer .aplayer-lrc p.aplayer-lrc-current {
font-size: 14.5px !important;
}
/*全局字体颜色*/
.aplayer .aplayer-info .aplayer-music .aplayer-title,
.aplayer .aplayer-info .aplayer-music .aplayer-author,
.aplayer .aplayer-lrc p,
span.aplayer-list-title,
span.aplayer-list-author,
span.aplayer-list-index {
color: white !important;
}
/*全局背景*/
.aplayer .aplayer-lrc:after,
.aplayer .aplayer-lrc:before {
background: transparent !important;
}
/*Aplayer结束*/
2022-01-13 14:48:37 +08:00
/*移动端页面切换按钮*/
i.iconfont.icon-bars,
i.iconfont.icon-times {
font-size: 1.25rem;
}
2021-09-25 22:57:18 +08:00
/*页脚样式*/
footer {
text-align: center;
height: 46px;
backdrop-filter: blur(10px);
background: rgb(0 0 0 / 25%);
}
.power {
line-height: 46px;
opacity: 0.8;
}
2022-01-18 12:31:38 +08:00
.lrc-show {
/*播放音乐时底栏歌词*/
2022-01-21 13:39:47 +08:00
font-size: 1.10rem;
2022-01-18 12:31:38 +08:00
}
2021-09-25 22:57:18 +08:00
/*弹窗样式*/
.iziToast {
background: rgb(0 0 0 / 45%) !important;
backdrop-filter: blur(10px) !important;
}
.iziToast>.iziToast-body .iziToast-title {
font-size: 16px !important;
}
2021-09-25 22:57:18 +08:00
.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;
}