-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalculator.css
More file actions
80 lines (67 loc) · 1.16 KB
/
calculator.css
File metadata and controls
80 lines (67 loc) · 1.16 KB
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
@import url(https://fonts.googleapis.com/css?family=Montserrat);
:root {
--main-color: #5959a6;
--main-color-dark: #505095;
}
body {
background-color: #73738c;
font-family: Montserrat;
font-size: 1.5em;
margin: 0;
padding: 0;
}
.calcContainer {
margin: 50px auto;
height: 300px;
width: 300px;
outline: 4px solid #222;
}
.calcDisplay {
background-color: white;
width: 300px;
height: 60px;
overflow: hidden;
}
.displayOut {
color: #444;
margin: 0 15px;
text-align: right;
line-height: 60px;
font-size: 1.5em;
}
.btnRow {
display: flex;
height: 60px;
}
.calcBtn {
outline: 2px solid #222;
display: inline-block;
width: 60px;
height: 60px;
padding: 0;
margin: 0;
text-align: center;
vertical-align: middle;
line-height: 60px;
}
.numberBtn {
color: var(--main-color);
background-color: white;
}
.numberBtn:active {
background-color: #e6e6fa;
}
.funcBtn {
color: #fff;
background-color: var(--main-color);
}
.funcBtn:active {
background-color: var(--main-color-dark);
}
.clearBtn {
color: white;
background-color: var(--main-color);
}
.clearBtn:active {
background-color: var(--main-color-dark);
}