-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
75 lines (72 loc) · 1.35 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
@import url("https://fonts.googleapis.come/css2?family=Open+Sans:wght@300;400;600;700&display=swap");
:root{
--white:fff;
--black : #1c2b2d;
--blue : #31326f;
--light-blue: #005490;
--color-primary : #9d0191;
--color-sec: #db6400;
--grey: #eee;
--dark-grey: #222831;
}
*{
margin : 0;
padding : 0;
box-sizing: border-box;
}
html{
font-size: "Open Sans", "sans-serif";
}
p{
font-size: 1.6rem;
line-height: 1.5;
}
img{
width: 100%;
}
.container{
max-width: 900px;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content:center;
align-items: center;
height: 100vh;
}
.counter{
width: 40rem;
border: 1px solid grey;
padding: 1rem;
background-color:var(--light-blue);
color: white;
text-align:center;
border-radius: 5px;
}
.counter > *{
margin-bottom: 2rem;
}
.count{
font-size: 4rem;
}
.buttons button{
padding: 1rem;
margin: 0 1rem;
font-size: 1.5rem;
color: white;
border: none;
outline: none;
border-radius: 3px;
font-weight: 549;
cursor: pointer;
}
button.subtract{
background-color: greenyellow;
color: black;
}
button.add{
background-color: aqua;
color: black;}
button.reset{
background-color: aqua;
color: blueviolent;
}