快乐的昕的电脑
2025-12-03 0c8f85d16c97a8fd4ba381dce13ea9f0b051e6c1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
@use "sass:math";
@import './design-tokens.scss';
@import './mixins.scss';
 
:root {
    font-size: 14px;
}
 
page {
    background-color: $color-bg-base;
    color: $color-text-primary;
    font-family: $font-family-base;
}
 
.page-container {
    width: 100%;
    min-height: 100vh;
    padding: $spacing-lg $spacing-xl;
    background: linear-gradient(180deg, #f8fafc 0%, #edf1f7 100%);
    @include smooth-font;
 
    @include respond(compact) {
        padding: $spacing-md;
    }
}
 
.page-scroll {
    @include scroll-y;
    padding-bottom: $spacing-xl;
}
 
.content-panel {
    background-color: $color-bg-panel;
    border-radius: $radius-lg;
    border: $border-base;
    box-shadow: $shadow-card;
    padding: $spacing-lg;
}
 
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: $spacing-lg;
}
 
$grid-columns: 12;
@for $i from 1 through $grid-columns {
    .col-#{$i} {
        flex: 0 0 percentage(math.div($i, $grid-columns));
        max-width: percentage(math.div($i, $grid-columns));
 
        @include respond(compact) {
            flex: 0 0 100%;
            max-width: 100%;
        }
    }
}
 
.section-title {
    font-size: $font-size-lg;
    font-weight: 600;
    letter-spacing: $letter-spacing-wide;
    color: $color-text-primary;
    margin-bottom: $spacing-sm;
}
 
.section-subtitle {
    font-size: $font-size-sm;
    color: $color-text-muted;
    margin-bottom: $spacing-md;
}
 
.inline-gap {
    display: inline-flex;
    gap: $spacing-sm;
    align-items: center;
}
 
.tablet-only {
    @include respond(wide) {
        display: block;
    }
 
    @include respond(compact) {
        display: none;
    }
}