-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
87 lines (68 loc) · 1.29 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
body{
box-sizing: border-box;
width: 100%;
height: 100%;
overflow-x: hidden;
}
button {
height: 50px;
margin: 2px;
font-size: 1.2em;
border-style: none;
/*background-color: #d6e0f5;*/
}
button:hover {
color: aliceblue;
background-color: #2952a3;
cursor: pointer;
border: 2px solid white;
}
.calculator {
position: relative;
top: 150px;
margin: 0 auto;
max-width: 300px;
}
.calcButtons {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
margin:0 auto;
background-color: #193366;
padding: 10px;
}
.calcButtons > button:nth-child(17) {
grid-column: 1/3;
}
.operator {
background-color: #d6e0f5;
}
.number {
background-color: #7094db;
}
.userInput {
position: relative;
height: 80px;
max-width: 100%;
text-align: right;
padding: 10px;
font-size: 25px;
/*border: 1px solid #193366;*/
background-color: #d6e0f5;
}
.calcButtons > button:nth-child(19) {
background-color: lightgreen;
}
.userEntry {
position: absolute;
bottom: 0;
padding: 0;
margin: 5px;
right:0;
}
.finalCalc{
position: absolute;
right:0;
margin:5px;
top:0;
padding:0;
}