-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
82 lines (68 loc) · 1.32 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
* {
margin: 0;
padding: 0;
border: 0;
box-sizing: border-box;
}
body {
font-family: 'Spartan', Arial, Helvetica, sans-serif;
background-color: hsl(222, 26%, 31%);
}
.container {
width: 300px;
margin: 0 auto;
transform: translate(-0%, 20%);
}
.result-num {
background-color: #242D44;
height: 128px;
width: 300px;
margin-bottom: 10px;
border-radius: 5px;
text-align: right;
padding: 20px;
color: white;
font-size: 35px;
}
.row {
display:flex;
text-align: center;
}
.numbers {
background-color: #242D44;
border-radius: 5px;
padding: 10px;
}
.num, .ops, .del, .dot {
padding: 10px 10px;
background-color: #EAE3DC;
margin: 10px;
width: 80px;
height: 40px;
border-radius: 10px;
border-bottom: 3px solid #979797;
font-size:15px;
}
.num, .equals, .reset, .del, .dot, .ops {
cursor: pointer;
}
div.del:nth-child(4) {
color:white;
background-color: #647198;
border-bottom: 3px solid #4e5975;
}
.lastRow .reset, .lastRow .equals {
padding: 10px 10px;
border-radius: 10px;
margin: 10px;
flex: 1;
color: white;
}
.lastRow .reset {
background-color: #647198;
border-bottom: 3px solid #4e5975;
}
.lastRow .equals {
background-color: #D03F2F;
border-bottom: 3px solid #98271f;
}