-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
73 lines (60 loc) · 1.02 KB
/
styles.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
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
padding: 0;
margin: 0;
font-family: 'Courier New', Courier, monospace;
font-size: 40px;
}
.wrapper {
width: 400px;
background-color: #000000;
color: #ffffff;
margin: 50px auto;
border: 1px solid #000000;
border-radius: 5px;
}
.screen {
text-align: right;
padding: 20px 20px;
}
.calc-button-row {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
}
.calc-button {
background-color: #d8d9db;
color: #000000;
font-size: 40px;
height: 100px;
border: solid 1px #000000;
border-radius: 3px;
flex-basis: 25%;
}
.calc-button:last-child {
background-color: #df974c;
color: #ffffff;
}
.calc-button:last-child:hover {
background-color: #dfb07e;
}
.calc-button:last-child:active {
background-color: #dd8d37;
}
.calc-button:hover {
background-color: #ebebeb;
}
.calc-button:active {
background-color: ##bbbcbe;
}
.double {
flex-basis: 50%;
}
.triple {
flex-basis: 75%;
}