-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
117 lines (106 loc) · 1.9 KB
/
styles.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
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
116
117
body,
html {
margin: 0;
padding: 0;
background-color: #f8f7f3;
font-family: "Overpass", sans-serif;
}
#container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
max-width: 1280px;
margin: 80px auto 0;
padding: 0 20px;
gap: 20px;
box-sizing: border-box;
}
header {
background-color: #1a24fb;
color: #fff;
padding: 10px 20px;
font-size: 12px;
letter-spacing: 0.2em;
font-weight: normal;
text-align: left;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 999;
text-transform: uppercase;
}
.card {
background-color: #fff;
border: 1px solid #1a24fb;
margin-bottom: 100px;
padding: 40px;
position: relative;
box-sizing: border-box;
flex: 0 1 calc(33.333% - 20px);
}
.card-number {
color: #1a24fb;
font-size: 24px;
font-family: "Montserrat", sans-serif;
position: absolute;
top: 10px;
right: 10px;
font-weight: 600;
}
.card-sub {
font-size: 16px;
letter-spacing: 0.2em;
font-weight: 500;
color: #1a24fb;
margin-bottom: 30px;
text-transform: uppercase;
}
.card-title {
font-family: "Montserrat", sans-serif;
font-size: 36px;
font-weight: bold;
color: #1a24fb;
}
.card-text {
font-size: 16px;
font-weight: 500;
color: #1a24fb;
margin-bottom: 20px;
}
.card button {
background-color: #f8f7f3;
color: #1a24fb;
padding: 0px 10px;
font-size: 14px;
border: none;
cursor: pointer;
text-transform: uppercase;
position: absolute;
bottom: -28px;
left: -10px;
text-align: center;
text-transform: lowercase;
}
.card:hover button {
background-color: #1a24fb;
color: #f8f7f3;
padding: 0px 10px;
font-size: 14px;
border: none;
cursor: pointer;
text-transform: uppercase;
position: absolute;
bottom: -28px;
left: -10px;
text-align: center;
text-transform: lowercase;
}
@media (max-width: 768px) {
.card {
flex: 0 1 calc(100% - 20px);
}
header {
position: static;
}
}