-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
88 lines (77 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
77
78
79
80
81
82
83
84
85
86
87
88
html, body {
margin: 0;
padding: 0;
overflow: hidden;
}
.body {
display: flex;
flex-direction: column;
align-items: center;
}
.heading {
margin: 20px auto;
width: fit-content;
font-size: 24px;
font-weight: bold;
color: blue;
}
#message-box {
display: flex;
justify-content: center;
align-items: center;
margin: 20px auto;
width: 300px;
height: 80px;
border: 2px solid black;
border-radius: 10px;
color: green;
text-align: center;
}
#calculator {
display: flex;
margin: 40px auto;
padding: 8px;
background-color: paleturquoise;
border: 2px solid black;
border-radius: 10px;
flex-direction: column;
gap: 2px;
height: 480px;
width: 330px;
}
@media screen and (min-width: 1100px) {
.body {
flex-direction: row;
justify-content: center;
justify-items: center;
gap: 200px;
}
#message-box {
margin: 20px 0;
}
#calculator {
margin: 40px 0;
}
}
#display {
display: flex;
background-color: white;
justify-content: end;
align-items: center;
padding: 4px;
height: 50px;
text-align: right;
border: 1px solid black;
}
.container {
display: flex;
gap: 2px;
flex: 1 0 0;
}
.btn {
flex: 1 0 0;
font-size: 20px;
}
#clear {
flex: 1 0 0;
}