-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
60 lines (59 loc) · 1.21 KB
/
style.css
File metadata and controls
60 lines (59 loc) · 1.21 KB
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
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
*{
box-sizing:border-box;
margin: 0;
padding:0;
}
body{
font-family:'Roboto','sans-serif';
background:lightskyblue url('https://i.pinimg.com/originals/3c/24/46/3c24462450c2a902bf7e18f3d9aada81.jpg');
color:#fff;
display: flex;
flex-direction: column;
justify-content: flex-end;
height:100vh;
}
.container{
max-width:1100px;
margin:0 auto;
overflow:auto;
}
header{
flex:1;
height:100%;
display: flex;
align-items:center;
justify-content:center;
}
header h1{
font-size:60px;
}
.counters{
background:#0f479a;
color:#fff;
padding: 40px 20px;
border-top:3px lightskyblue solid;
}
.counters .container{
display:grid;
grid-gap:30px;
grid-template-columns:repeat(4,1fr);
text-align:center;
}
.counters i{
color:lightskyblue;
margin-bottom:5px;
}
.counters .counter{
font-size:45px;
margin:10px 0;
}
@media(max-width:700px){
.counters .container{
grid-template-columns:repeat(2,1fr);
}
.counters .container > div:nth-of-type(1),.counters .container > div:nth-of-type(2){
border-bottom:1px lightskyblue solid;
padding-bottom:20px;
}
}