-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
106 lines (82 loc) · 1.56 KB
/
style.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
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap");
:root {
--white: #fff;
--black: #1c2b2d;
--blue: #31326f;
--light-blue: #39286a;
--color-primary: #9d0191;
--color-sec: #db6400;
--grey: #eee;
--dark-grey: #222831;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
#particles-js {
width: 100%;
height: 100vh;
}
html {
font-size: 10px;
}
body {
font-family: "Open Sans", sans-serif;
background-color: rgb(0, 126, 244);
overflow: hidden;
background-image: url(cool-background.png);
background-size: cover;
}
p {
font-size: 1.6rem;
line-height: 1.5;
}
img {
width: 100%;
}
.container {
max-width: 900px;
margin: 0 auto;
padding: 0 20px;
display:flex;
flex-direction: column;
justify-content: top;
align-items: center;
height: 100vh;
}
.counter-div{
width: 40rem;
border: 1px solid var(--grey);
padding: 1rem;
background-color: var(--light-blue);
color: var(--white);
text-align: center;
border-radius: 5px;
}
.counter-div > *{
margin-bottom: 2rem;
}
.count{
font-size: 4rem;
}
.buttons button{
padding: 1rem;
margin: 0 1rem;
font-size: 1.5rem;
border: none;
outline: none;
border-radius: 3px;
cursor: pointer;
}
button.subtract {
background-color: orangered;
}
button.reset {
background-color: var(--white);
color: var(--black);
}
button.add {
background-color: green;
}
Version 1.0 @PranshuBask copyright