home/css/mobile.css

371 lines
5.5 KiB
CSS
Raw Normal View History

2021-09-25 22:57:18 +08:00
@charset"utf-8";
/*小于1400px时*/
2021-10-03 17:03:31 +08:00
@media (max-width: 1400px) {}
2021-09-25 22:57:18 +08:00
/*小于1200px时*/
@media (max-width: 1200px) {
/*总布局*/
.container,
.container-lg,
.container-md,
.container-sm {
max-width: 1000px !important;
2021-09-25 22:57:18 +08:00
}
.weekday {
display: none;
}
/*音乐播放器*/
.music-text {
max-width: 170px !important;
}
2021-09-25 22:57:18 +08:00
}
/*小于992px时*/
@media (max-width: 992px) {
/*总布局*/
.container,
.container-lg,
.container-md,
.container-sm {
max-width: 900px !important;
}
.col.left {
margin-right: 0.75rem;
}
.col.right {
margin-left: 0.75rem;
2021-09-26 21:30:38 +08:00
}
2021-09-25 22:57:18 +08:00
/*一言*/
.col.hitokotos {
display: none;
}
/*时间卡片*/
.col.times {
margin-left: 0rem;
}
2021-09-25 22:57:18 +08:00
/*日期显示*/
.weekday {
display: inline;
}
/*标题文字*/
.main-img img {
width: 110px;
}
span.img-title {
font-size: 4.75rem;
}
span.img-text {
font-size: 1.75rem;
}
2022-01-13 14:48:37 +08:00
/*链接卡片文字*/
span.link-name {
display: none !important;
}
.link-card i {
margin-left: 10px !important;
margin-right: 10px !important;
}
2021-09-25 22:57:18 +08:00
}
2021-10-03 17:03:31 +08:00
/*小于840px时*/
@media (max-width: 840px) {
2022-01-13 14:48:37 +08:00
2021-10-03 17:03:31 +08:00
/*社交链接*/
.social {
max-width: 100%;
justify-content: center;
}
#link-text {
display: none !important;
}
.link i {
margin: 0px 20px;
}
}
2021-09-25 22:57:18 +08:00
/*小于789px时*/
@media (max-width: 789px) {
/*标题文字*/
span.img-text {
display: none;
}
}
/*小于768px时*/
@media (max-width: 768px) {
/*标题文字*/
.main-img img {
width: 100px;
}
span.img-title {
font-size: 4.5rem;
}
}
/*小于720px时*/
@media (max-width: 720px) {
2021-09-25 22:57:18 +08:00
/*左侧栏高度*/
.main-left {
transform: translateY(20px);
}
/*左侧栏边距*/
.col.left {
margin-right: 0rem;
}
2021-09-25 22:57:18 +08:00
/*右侧栏隐藏*/
.col.right {
display: none;
}
/*右侧栏边距*/
.col.right {
margin-left: 0rem;
}
2021-09-25 22:57:18 +08:00
/*标题文字*/
span.img-text {
display: inline;
}
/*简介*/
.message {
max-width: 100%;
pointer-events: none;
}
/*
.des {
justify-content: space-between;
}
*/
2021-09-26 21:30:38 +08:00
2022-01-13 14:48:37 +08:00
/*链接卡片*/
.link-card {
height: 80px !important;
2022-01-13 14:48:37 +08:00
align-items: center !important;
flex-direction: column !important;
justify-content: center !important;
}
.link-card i {
font-size: 1.75rem;
}
2022-01-13 14:48:37 +08:00
span.link-name {
display: block !important;
2022-02-03 16:05:44 +08:00
font-size: 0.95rem;
}
span.line-text,
i.iconfont.icon-link {
2022-02-03 16:05:44 +08:00
font-size: 1.05rem;
2022-01-13 14:48:37 +08:00
}
2021-09-25 22:57:18 +08:00
/*菜单栏按钮*/
.menu {
display: flex;
justify-content: center;
position: fixed;
top: 84%;
}
.munu-button {
padding: 5px 20px;
background: rgb(0 0 0 / 20%);
backdrop-filter: blur(10px);
border-radius: 6px;
font-size: 1.25rem;
transition: 0.5s;
2021-10-03 17:03:31 +08:00
width: 60px;
display: flex;
justify-content: center;
align-items: center;
height: 40px;
2021-09-25 22:57:18 +08:00
}
/*页脚文字*/
footer {
font-size: 0.85rem;
}
2022-02-03 16:05:44 +08:00
/*一言*/
.col.hitokotos {
margin-right: 0rem;
}
2022-02-03 16:05:44 +08:00
.hitokoto-text,
.hitokoto-from {
font-size: 1.05rem;
}
/*音乐播放器*/
.music-text {
max-width: 100% !important;
}
2022-02-03 16:05:44 +08:00
#music-name {
font-size: 1.05rem;
}
#music-open {
display: none;
}
/*隐藏鼠标样式*/
#cursor {
background: transparent !important;
}
2021-09-25 22:57:18 +08:00
}
/*小于390px时*/
@media (max-width: 390px) {
.main-img img {
display: none;
}
}
2022-03-04 18:52:51 +08:00
/* 大于568px时 */
@media (min-width: 568px) {
.iziToast {
border-radius: 30px !important;
}
}
/* 大于720px时 */
@media (min-width: 720px) {
2021-09-25 22:57:18 +08:00
.menu {
display: none !important;
}
}
2021-10-03 17:03:31 +08:00
/* 大于992px时 */
@media (min-width: 992px) {
2022-01-13 14:48:37 +08:00
2021-10-03 17:03:31 +08:00
/*时钟显示*/
span#win_text,
span#win_speed {
display: none;
}
2021-09-25 22:57:18 +08:00
}
/* 大于1400px时 */
@media (min-width: 1400px) {
2022-01-13 14:48:37 +08:00
/*时钟显示*/
span#win_text,
span#win_speed {
display: inline !important;
2021-09-25 22:57:18 +08:00
}
}
/*
菜单按钮
*/
.menus .col.left {
display: none;
}
.menus .col.right {
display: block !important;
transition: 0.5s;
padding: 0rem 0.75rem;
}
/*功能区调整*/
.menus .col.hitokotos {
display: block;
}
.menus .col.times {
display: none;
}
/*边界布局*/
.menus .row {
--bs-gutter-x: 0rem;
}
.menus .col.\32 {
margin: 0 0.75rem;
}
.menus .logo {
display: inline !important;
2021-10-03 17:03:31 +08:00
text-align: center;
2021-09-25 22:57:18 +08:00
position: fixed;
top: 8%;
font-size: 1.75rem;
}
2022-01-13 14:48:37 +08:00
/*第二屏logo*/
.logo-text {
font-family: 'Pacifico-Regular' !important;
}
2021-09-25 22:57:18 +08:00
/*切换动画*/
2021-10-01 21:42:30 +08:00
/*
2021-09-25 22:57:18 +08:00
.hitokoto,
.time,
.link-card,
.message {
2021-09-26 20:21:22 +08:00
animation: fade-in;
2021-09-25 22:57:18 +08:00
-webkit-animation: fade-in 0.5s;
-moz-animation: fade-in 0.5s;
-o-animation: fade-in 0.5s;
-ms-animation: fade-in 0.5s;
}
2021-10-01 21:42:30 +08:00
*/
2021-09-25 22:57:18 +08:00
.logo,
.line,
.main-img,
2021-09-26 21:30:38 +08:00
.social,
2021-09-27 21:07:24 +08:00
.close,
2021-10-01 21:42:30 +08:00
.hitokoto,
.time,
.link-card,
.message,
2021-09-27 21:07:24 +08:00
#link-text {
2021-09-25 22:57:18 +08:00
animation: fade 0.5;
-webkit-animation: fade 0.5s;
-moz-animation: fade 0.5s;
-o-animation: fade 0.5s;
-ms-animation: fade 0.5s;
2021-09-28 20:56:14 +08:00
}
/*
移动端功能区切换
*/
.mobile .col.hitokotos {
display: none;
}
.mobile .col.times {
display: block;
2021-09-25 22:57:18 +08:00
}