-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
93 lines (82 loc) · 1.48 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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: rgb(51, 86, 84);
}
.calculator {
background-color: rgb(211, 211, 211);
padding: 20px;
border-radius: 10px;
}
.screen {
width: 224px;
background-color: rgb(176, 205, 176);
font-size: 40px;
text-align: end;
padding: 4px;
}
.buttons {
width: 232px;
display: flex;
flex-wrap: wrap;
}
button {
background-color: rgb(131, 129, 129);
border: none;
color: rgb(255, 255, 255);
font-size: 40px;
width: 50px;
height: 50px;
border-radius: 25px;
margin: 4px;
}
button:hover {
background-color: rgb(111, 110, 110);
}
button:active {
background-color: rgb(232, 232, 232);
}
#equals {
background-color: rgb(218, 2, 2);
}
#equals:hover {
background-color: rgb(198, 1, 1);
}
#clear {
width: 100%;
background-color: rgb(252, 226, 27);
font-size: 30px;
}
#clear:hover {
background-color: rgb(252, 201, 17);
}
@media only screen and (max-width: 750px) {
.calculator {
background-color: rgb(211, 211, 211);
padding: 5px;
border-radius: 10px;
}
.buttons {
width: 280px;
margin-left: 35px;
}
button {
background-color: rgb(131, 129, 129);
border: none;
color: rgb(255, 255, 255);
font-size: 30px;
width: 50px;
height: 50px;
border-radius: 25px;
margin: 4px;
}
.screen {
width: 300px;
background-color: rgb(176, 205, 176);
font-size: 40px;
text-align: end;
padding: 20px;
}
}