-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
100 lines (84 loc) · 1.58 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
89
90
91
92
93
94
95
96
97
98
99
100
body {
font-family: 'Courier New', Courier, monospace;
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: column;
background-color: lightyellow;
}
h1 {
font-weight: 500;
padding-top: 20px;
padding-bottom: 20px;
}
footer {
color: black;
padding-top: 180px;
}
.buttons {
display: grid;
flex-direction: column;
align-items: center;
justify-content: center;
border: 1px solid black;
height: 250px;
width: 220px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
background-color: black;
padding-bottom: 20px;
}
.display {
border: 1px solid black;
width: 220px;
height: 60px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
background-color: black;
}
.calculator-display {
border: 1px solid #383838;
width: 170px;
height: 40px;
margin-left: 25px;
margin-top: 15px;
border-radius: 5px;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: flex-end;
background-color: lightgray;
}
.zero {
width: 80px;
}
.btn {
border: 1px solid white;
}
.operator {
background-color: orange;
}
.equal {
background-color: orange;
}
.number {
background-color: darkgray;
}
.decimal {
background-color: darkgray;
}
#percent {
background-color: lightgray;
}
#clear {
background-color: lightgray;
width: 35px;
text-align: start;
}
#backspace {
background-color: lightgray;
}
.calculator {
border: 5px solid #383838;
border-radius: 10px;
}