-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
66 lines (58 loc) · 1.09 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
:root {
--clr-light: #ffffff;
--clr-dark: #101010;
--clr-slate: #949cb0;
--clr-primary: #6873ff;
--clr-secondary: #181818;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
color: var(--clr-slate);
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.container {
width: 100%;
height: 100vh;
background-color: var(--clr-dark);
display: flex;
justify-content: center;
align-items: center;
}
.calculator {
height: 575px;
width: 400px;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: repeat(6, 1fr);
grid-auto-flow: column;
border-radius: 50px;
background: #101010;
box-shadow: 25px 25px 50px #060606, -25px -25px 50px #1a1a1a;
}
.screen {
grid-column: span 5;
padding: 25px;
}
#display {
width: 100%;
height: 100%;
font-size: 3.5rem;
text-align: right;
outline: none;
border: none;
border-radius: 10px;
background: none;
}
.btn {
grid-column-start: span 1;
border-radius: 25px;
margin: 8px;
font-size: 1.5rem;
background-color: var(--clr-primary);
border: none;
}
.equal {
grid-column-start: span 2;
}