-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
61 lines (52 loc) · 992 Bytes
/
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
body {
margin: 0;
background-color: #D14A4C;
}
.calculator {
overflow: hidden;
margin: 50px auto;
width: 280px;
height: 495px;
background-color: white;
border-radius: 10px;
}
section.display {
width: 100%;
height: 148px;
background-color: #313748;
}
section.buttons {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: stretch;
align-content: stretch;
height: 347px;
}
section.buttons button {
flex-grow: 1;
flex-basis: 25%;
-webkit-appearance: none;
border: 1px solid white;
border-radius: 4px;
background-color: #F4F5F9;
transition: all 0.3s ease-in;
font-size: 20px;
}
section.buttons button:focus {
outline: none;
border: 1px solid #BBB;
}
section.buttons button:active {
border: 1px solid #313748;
}
section.buttons button.double {
flex-basis: 50%;
}
section.buttons button.operator {
background-color: #DCDFE5;
}
section.buttons button.equals {
background-color: #BD4345;
color: white;
}