mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
🔧 调整排序&格式化
This commit is contained in:
@@ -29,10 +29,11 @@ rules:
|
||||
type: at-rule
|
||||
- name: include
|
||||
type: at-rule
|
||||
- custom-properties
|
||||
- at-rules
|
||||
- declarations
|
||||
- rules
|
||||
- at-rules
|
||||
- name: keyframes
|
||||
type: at-rule
|
||||
prettier/prettier: true
|
||||
property-no-vendor-prefix:
|
||||
- true
|
||||
|
||||
@@ -19,11 +19,13 @@
|
||||
/* CardShadow,传入theme参数 */
|
||||
@mixin github-card-shadow($theme: "default") {
|
||||
@if $theme == "default" {
|
||||
box-shadow: #1f23280f 0 1px 1px 0,
|
||||
#1f23280f 0 1px 3px 0;
|
||||
box-shadow:
|
||||
#1f23280f 0 1px 1px 0,
|
||||
#1f23280f 0 1px 3px 0;
|
||||
} @else {
|
||||
box-shadow: #01040999 0 1px 1px 0,
|
||||
#01040999 0 1px 3px 0;
|
||||
box-shadow:
|
||||
#01040999 0 1px 1px 0,
|
||||
#01040999 0 1px 3px 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ onMounted(async () => {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 10px;
|
||||
grid-gap: 10px;
|
||||
gap: 10px;
|
||||
grid-template-columns: repeat(auto-fill, minmax(180px, 0.2fr));
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -71,7 +71,7 @@ onMounted(async () => {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 10px;
|
||||
grid-gap: 10px;
|
||||
gap: 10px;
|
||||
grid-template-columns: repeat(auto-fill, minmax(180px, 0.2fr));
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -43,7 +43,7 @@ function getTitle(avatar: TGApp.Sqlite.Record.Avatar): string {
|
||||
<style lang="css" scoped>
|
||||
.tur-ag-box {
|
||||
display: grid;
|
||||
grid-gap: 8px;
|
||||
gap: 8px;
|
||||
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -13,7 +13,7 @@ defineProps<{ modelValue: Array<TGApp.Sqlite.Record.Home> }>();
|
||||
.tur-hg-box {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
grid-gap: 8px;
|
||||
gap: 8px;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -13,7 +13,7 @@ defineProps<{ modelValue: Array<TGApp.Sqlite.Record.WorldExplore> }>();
|
||||
.tur-wg-box {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
grid-gap: 8px;
|
||||
gap: 8px;
|
||||
grid-template-columns: repeat(3, 0.33fr);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -474,8 +474,8 @@ function handleUserClick(user: TGApp.BBS.Post.User, gid: number): void {
|
||||
|
||||
.pc-posts {
|
||||
display: grid;
|
||||
grid-auto-rows: auto;
|
||||
gap: 8px;
|
||||
grid-auto-rows: auto;
|
||||
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -404,8 +404,8 @@ function handleUserClick(user: TGApp.BBS.Post.User, gid: number): void {
|
||||
.posts-grid {
|
||||
display: grid;
|
||||
font-family: var(--font-title);
|
||||
grid-auto-rows: auto;
|
||||
gap: 8px;
|
||||
grid-auto-rows: auto;
|
||||
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user