-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
88 lines (77 loc) · 1.45 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
76
77
78
79
80
81
82
83
84
85
86
87
88
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
html {
font-size: 30px;
font-family: 'Inter', sans-serif;
background-color: black;
}
.calculator {
width: 25%;
height: 50%;
margin: 0 auto;
}
.display {
display: flex;
flex-flow: column;
width: 100%;
font-size: 2rem;
}
#previous {
height: 65px;
background-color: black;
margin: 0;
color: white;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
text-align: right;
}
#current {
height: 100px;
background-color: black;
margin: 0;
color: white;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
text-align: right;
}
.buttons {
display: flex;
}
.number-btns {
display:flex;
flex-flow: row wrap;
align-items: center;
justify-content: space-around;
width: 75%;
}
.number-btn, .equal-btn {
padding: 20px;
font-size: 2rem;
border-radius: 50%;
width: 100px;
height: 100px;
align-items: center;
text-align: center;
margin: 4px;
background-color: #333333;
border: none;
color: white;
}
.operation-btns {
display: flex;
flex-flow: column wrap;
}
.operation-btn {
padding: 20px;
font-size: 2rem;
border-radius: 50%;
width: 100px;
height: 100px;
align-items: center;
text-align: center;
margin: 4px;
background-color: #FF9F0A;
border: none;
color: white;
}