Blame view

src/routes/index.css 1.78 KB
36821dd7   张志伟   feat: init
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
  html,
  body {
    padding: 0;
    margin: 0;
    font-family: PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
    background: linear-gradient(to bottom, transparent, #fff) #eceeef;
  }
  
  p {
    margin: 0;
  }
  
  * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
  }
  
  .container-box {
    min-height: 100vh;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
  }
  
  main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .title {
    display: flex;
    margin: 4rem 0 4rem;
    align-items: center;
    font-size: 4rem;
    font-weight: 600;
  }
  
  .logo {
    width: 6rem;
    margin: 7px 0 0 1rem;
  }
  
  .name {
    color: #4ecaff;
  }
  
  .description {
    text-align: center;
    line-height: 1.5;
    font-size: 1.3rem;
    color: #1b3a42;
    margin-bottom: 5rem;
  }
  
  .code {
    background: #fafafa;
    border-radius: 12px;
    padding: 0.6rem 0.9rem;
    font-size: 1.05rem;
    font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
      Bitstream Vera Sans Mono, Courier New, monospace;
  }
  
  .container-box .grid {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1100px;
    margin-top: 3rem;
  }
  
  .card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100px;
    color: inherit;
    text-decoration: none;
    transition: 0.15s ease;
    width: 45%;
  }
  
  .card:hover,
  .card:focus {
    transform: scale(1.05);
  }
  
  .card h2 {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
  }
  
  .card p {
    opacity: 0.6;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 1rem;
  }
  
  .arrow-right {
    width: 1.3rem;
    margin-left: 0.5rem;
    margin-top: 3px;
  }