pages(media): add 320px device

This commit is contained in:
2022-01-19 17:34:41 +08:00
parent 3c5f6efc2e
commit 183a3e88b9
21 changed files with 874 additions and 530 deletions

View File

@@ -3,21 +3,11 @@
// 友链
.links {
>ul {
padding: 0.625rem 0.1rem;
>.friend {
font-size: 1.5rem;
font-weight: bold;
line-height: 2.2rem;
padding: 0.5rem 0;
// 浅色
color: #262626;
// 深色
@include darkmode {
color: #dbdbdb;
}
}
>li {
@@ -28,15 +18,24 @@
line-height: 1.5rem;
>a {
// 浅色
color: #595959;
&:hover {
color: #59595980;
}
}
}
}
// 深色
@include darkmode {
// =========== 深色 ===========
@include darkmode {
>ul {
>.friend {
color: #dbdbdb;
}
>li {
>a {
color: #dbdbdb;
&:hover {
@@ -44,6 +43,25 @@
}
}
}
}
}
// =========== 320px 设备 ===========
@media (max-width: 320px) {
>ul {
padding: 2.5% 1%;
>.friend {
padding: 2.5% 0;
text-align: center;
}
>li {
justify-content: center;
padding-bottom: 1%;
}
}
}
}