-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
104 lines (82 loc) · 1.41 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
104
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
html {
height: 100%;
}
body {
display: flex;
height: 100%;
align-items: center;
justify-content: center;
}
.display {
display: flex;
flex-wrap: nowrap;
font-family: 'Lato', sans-serif;
font-weight: 500;
font-style: normal;
font-size: 70px;
min-height: 84px;
border-style: solid;
border-width: 1px;
border-color: black;
justify-content: end;
}
.break {
flex-basis: 100%;
height: 0;
}
div {
display: flex;
flex: 1 1 auto;
justify-content: center;
}
.container {
display: flex;
flex-grow: 1;
min-height: 105px;
align-self: stretch;
}
button:not(.zero) {
width: 100%;
height: 100%;
font-family: 'Lato', sans-serif;
font-weight: 500;
font-style: normal;
font-size: 50px;
border: 1px;
border-color: black;
border-style: solid;
}
.calculator {
display: flex;
flex-wrap: wrap;
min-height: 534px;
max-width: 426px;
align-items: center;
background-color: black;
}
.zero {
flex-basis: 212%;
font-family: 'Lato', sans-serif;
font-weight: 500;
font-style: normal;
font-size: 50px;
border: 1px;
border-color: black;
border-style: solid;
}
#ac {
background-color: red;
}
.numbers {
background-color: gray;
}
.operations {
background-color: orange;
}
#equals {
background-color: lightseagreen;
}
.display {
background-color: lightgray;
}