-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
103 lines (96 loc) · 1.92 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
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&family=Righteous&display=swap');
:root {
--white : #fff;
--black : #1c2b2d;
--light-blue : #9d0191;
--color-sec : #db6400;
--grey : #eee;
--dark-gray: #223831;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 10px;
background-image: url('Numbers.jpg');
}
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-div{
width: 40rem;
border:1px solid var(--grey);
padding:1 rem;
background-image: url('Random.jpg');
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;
color:var(--white);
font-weight:700;
border: none;
outline: none;
border-radius: 3px;
}
button.subtract {
background-image: linear-gradient( 135deg, #FDEB71 10%, #F8D800 100%);
}
button.subtract:hover{
color: black;
}
button.reset {
background-color: #ffffff17;
color: black;
font-family: 'Comfortaa',cursive;
font-size: x-large;
}
button.add {
background-image: linear-gradient( 135deg, #FCCF31 10%, #F55555 100%);
}
button.reset:hover{
background-color: #ffffff7d;
}
h1{
margin-top: 20px;
font-family: 'Comfortaa', cursive;
color: black;
font-size: xx-large;
}
.header-container{
background-color: #eeeeeea6;
border-radius: 30px;
margin: 30px;
align-self: center;
}
span{
background-color: #fff;
border-radius: 2px;
color: black;
font-size: 50px;
font-family: 'Comfortaa', cursive;
}