-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
76 lines (69 loc) · 1.35 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
body {
height: 100vh;
display: flex;
justify-content: center;
font-family: Arial, Helvetica, sans-serif;
align-items: center;
}
.calculator-body {
width: 350px;
height: 500px;
border: 1px solid black;
border-radius: 10px;
background-color: #9a6cb4;
display: flex;
flex-direction: column;
padding: 30px;
}
.calculator-display {
width: 100%;
height: 150px;
border: 1px solid black;
border-radius: 10px;
background-color: #d1b2e2;
display: flex;
flex-direction: column;
margin-bottom: 15px;
box-sizing: border-box;
padding: 15px;
}
.button-container {
width: 100%;
height: 15%;
display: flex;
flex-direction: row;
gap: 10px;
margin-top: 10px;
}
button {
font-size: 25px;
color: black;
height: 100%;
width: 100%;
border-radius: 10px;
border: 1px solid black;
background-color: #ecd4d7;
}
button:hover {
background-color: hsla(353, 39%, 88%, 0.768);
}
.second-display {
flex: 1;
color: black;
font-size: 20px;
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: flex-start;
overflow: auto;
}
.main-display {
flex: 2;
color: black;
font-size: 40px;
display: flex;
align-items: center;
flex-wrap: wrap;
overflow: auto;
justify-content: flex-start;
}