💄 调整成就页面UI

This commit is contained in:
目棃
2025-03-19 14:59:24 +08:00
parent 1b5ddf9b3f
commit 96dfec969c
5 changed files with 119 additions and 44 deletions

View File

@@ -6,13 +6,22 @@
/* Card传入theme参数 */
@mixin github-card($theme: 'default') {
@include github-card-shadow($theme);
@if $theme == 'default' {
background: #ffffff;
border: 1px solid #d1d9e0;
box-shadow: rgba(31, 35, 40, 0.06) 0 1px 1px 0, rgba(31, 35, 40, 0.06) 0 1px 3px 0;
} @else {
background: #0d1117;
border: 1px solid #3d444d;
}
}
/* CardShadow传入theme参数 */
@mixin github-card-shadow($theme: 'default') {
@if $theme == 'default' {
box-shadow: rgba(31, 35, 40, 0.06) 0 1px 1px 0, rgba(31, 35, 40, 0.06) 0 1px 3px 0;
} @else {
box-shadow: rgba(1, 4, 9, 0.6) 0 1px 1px 0, rgba(1, 4, 9, 0.6) 0 1px 3px 0;
}
}