forked from tjy-gitnub/tapple
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
63 lines (51 loc) · 842 Bytes
/
main.css
File metadata and controls
63 lines (51 loc) · 842 Bytes
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
@import url('base.css');
@import url('box.css');
body{
scroll-behavior: smooth;
}
.info{
color: #888;
}
.box.text{
font-size: 90px;
}
.box.text>*{
display: inline-block;
margin: 0;
}
.text.center{
text-align: center;
}
.box.card{
border-radius: 12px;
/* box-shadow: 5px 5px 10px #0000000f; */
margin: 8px;
background-color: #7f7f7f20;
padding: 10px 20px;
}
.box.card>.tit{
font-size: 40px;
line-height: 1.1;
font-weight: 500;
margin: 10px 0;
text-align: start;
}
.box.card>.tit.center{
text-align: center;
}
.grid{
width: 100%;
display: grid;
justify-content: center;
}
.card-group{
display: flex;
flex-wrap: wrap;
--card-width:300px;
}
.card-group.center{
justify-content: center;
}
.card-group>.card{
width: var(--card-width);
}