-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
95 lines (80 loc) · 1.45 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
background: linear-gradient(240deg,
rgba(0, 0, 0, 1) 27%,
rgba(0, 212, 255, 1) 91%);
color: #fff;
overflow: hidden;
}
section {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
.center {
border: 2px solid #fff;
background: rgb(19, 190, 194);
background: linear-gradient(60deg,
rgba(19, 190, 194, 1) 41%,
rgba(0, 0, 0, 1) 93%);
border-radius: 6px;
padding: 2rem 4rem;
}
h1 {
text-transform: uppercase;
color: #fff;
margin-bottom: 2rem;
user-select: none;
}
input {
width: 80%;
padding: 1rem;
text-align: center;
font-size: large;
margin-bottom: 1rem;
}
/* buttons */
button {
padding: 0.6rem 2rem;
margin: 1rem;
color: #fff;
background-color: #000;
border-radius: 5px;
text-transform: capitalize;
border: none;
}
button:hover {
background-color: #222;
}
button:active {
transform: scale(0.9);
}
.add {
background: green;
}
.add:hover {
background: rgba(0, 128, 0, 0.781);
}
.sub {
background: red;
}
.sub:hover {
background: rgba(255, 0, 0, 0.822);
}
footer {
padding: 0.4rem 2rem;
background-color: #000;
position: fixed;
inset: auto 0 0 0;
}
footer a {
color: #fff;
}