-
Notifications
You must be signed in to change notification settings - Fork 0
/
04-HTML:CSS-main.css
78 lines (65 loc) · 1.15 KB
/
04-HTML:CSS-main.css
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
/*
- light grey #f1f5f9
- white #fff
- light pink #ffe8f1
- dark pink #ff69a6
- light blue #ecf4ff
- dark blue #68a3ff
*/
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
background: #f1f5f9;
}
.card {
background: #fff;
padding: 1.5rem 2rem;
text-align: center;
max-width: 300px;
margin: 3rem;
border-radius: 0.5rem;
border: 1px solid transparent;
margin: 3rem auto;
}
.card-1 {
border-color: #ff69a6;
}
.icon {
width: 40px;
height: 40px;
background: red;
border-radius: 50%;
margin: 0 auto;
}
.card-1 .icon {
background: #ff69a6;
}
.title {
text-transform: capitalize;
letter-spacing: 2px;
}
.text {
line-height: 1.5;
color: grey;
}
.btn {
text-transform: capitalize;
border: transparent;
border-radius: 0.5rem;
padding: 0.5rem 1rem;
letter-spacing: 2px;
}
.btn-pink {
background: #ffe8f1;
color: #ff69a6;
}
.btn-blue {
background: #ecf4ff;
color: #68a3ff;
}
.card-2 .icon {
background: #68a3ff;
}
.card-2 {
border-color: #68a3ff;
}