-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyles.css
More file actions
82 lines (71 loc) · 1.6 KB
/
Copy pathstyles.css
File metadata and controls
82 lines (71 loc) · 1.6 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
81
82
* {
box-sizing: border-box;
}
body {
background: #f6f6f6;
padding-bottom: 1.875rem;
padding-top: 1.875rem;
font-family: 'Mina', sans-serif;
}
.calculator {
background: #000000;
background: -webkit-linear-gradient(to right, #434343, #000000);
background: linear-gradient(to right, #434343, #000000);
max-width: 25rem;
margin: 0 auto;
border: 2px solid #111;
border-radius: 5px;
}
#showvalue {
background: #ecf0f1;
border: none;
box-shadow: none;
padding: 5px;
width: 100%;
height: 6.25rem;
border-bottom: 2px solid #111;
padding: 1.25rem;
text-align: right;
font-size: 2.5rem;
overflow: hidden;
}
.calculator-buttons {
padding: 1.25rem;
display: grid;
grid-template: repeat(5, 1fr) / repeat(4, 1fr);
grid-gap: 15px;
}
.calc-button {
background: rgba(0, 0, 0, .5);
/* border: 1px solid #ecf0f1; */
padding: 1.25rem;
color: #EEE;
border-radius: 5px;
font-size: 1.375rem;
cursor: pointer;
box-shadow: 0 4px 0 black;
outline: none;
transition: all .2s ease;
}
.calc-button:active {
transform: translateY(2px);
box-shadow: 0 2px 0 black;
}
.is-zero{
grid-column: span 2;
}
.is-clear{
background: #fe8c00;
background: -webkit-linear-gradient(to right, #f83600, #fe8c00);
background: linear-gradient(to right, #f83600, #fe8c00);
}
.is-return {
background: -webkit-linear-gradient(to right, #fe8c00, #f83600);
background: linear-gradient(to right, #fe8c00, #f83600);
}
.is-equals {
grid-row: span 2;
background: #F7971E;
background: -webkit-linear-gradient(to top, #FFD200, #F7971E);
background: linear-gradient(to top, #FFD200, #F7971E);
}