-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
71 lines (61 loc) · 1.37 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
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Roboto", sans-serif;
display: flex;
flex-direction: column;
height: 100vh;
}
header {
background: url("https://images.pexels.com/photos/2473183/pexels-photo-2473183.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260")
no-repeat center;
color: #fff;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
header h1 {
font-size: 60px;
text-align: center;
}
.counters {
background: rgb(23, 23, 28);
background: linear-gradient(
90deg,
rgba(23, 23, 28, 1) 35%,
rgba(17, 17, 20, 1) 51%,
rgba(23, 23, 23, 1) 70%,
rgba(32, 34, 34, 1) 100%
);
width: 100%;
}
.counters .container {
display: grid;
grid-column-gap: 50px;
grid-template-columns: repeat(4, 1fr);
margin: 0 auto;
max-width: 90%;
}
.container > div {
justify-self: center;
padding: 40px 20px;
text-align: center;
}
.container i {
font-size: 55px;
}
.counter {
color: #fff;
font-size: 30px;
padding: 10px 0;
}
@media (max-width: 760px) {
.counters .container {
grid-template-columns: repeat(2, 1fr);
}
}