-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
88 lines (74 loc) · 1.57 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
#bodyid {
background-color: moccasin;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.gen{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border: 10px solid #232323;
background-image:url("images/circuit.jpg");
background-size: contain;
border-radius: 5%;
width: 500px;
height: 500px;
}
.screen {
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: center;
background-color: antiquewhite;
padding: 1%;
border: 5px solid #232323;
width: 85%;
height: 20%;
}
.previous{
font: 28px Arial, sans-serif;
background-color: rgb(250, 209, 154);
display: block;
}
.current {
font: 42px Arial, sans-serif;
}
.keys {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 1.5%;
padding-left: 2%;
padding-right: 2%;
border-radius: 5%;
font: bold 24px Arial, sans-serif;
height: 70%;
width: 90%;
}
.key {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
border-radius: 10%;
border: 1px solid #232323;
background-color: sandybrown;
width: 22%;
height: 14%;
}
.equal, .zero {height: 30%;
background-color: khaki;
color: black;
}
.operator, .func{border: 1px solid green;
background-color: rosybrown;
}
.key:hover {
background-color: whitesmoke;
font-size: xx-large;
}