-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
107 lines (85 loc) · 1.67 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
* {
font: bold 14px Arial, sans-serif;
}
#calculator{
width: 325px;
height: auto;
margin: 100px auto;
padding: 20px 20px 9px;
background: #9dd2ea;
border-radius: 3px;
box-shadow: 0px 4px #009de4, 0px 10px 15px rgba(0, 0, 0, 0.2);
}
button{
width: 66px;
height: 36px;
background: white;
border-radius: 3px;
box-shadow: 0px 4px rgba(0, 0, 0, 0.2);
margin: 0 7px 11px 0;
color: #888;
line-height: 36px;
text-align: center;
}
button.operator
{
background: #FFF0F5;
margin-right: 0;
}
button.reset{
width: 100px;
height: 36px;
background: #ff9fa8;
box-shadow: 0px 4px #ff7c87;
color: white;
}
button.eval{
width: 100px;
height: 36px;
background: #f1ff92;
box-shadow: 0px 4px #9da853;
color: #888e5f;
}
input{
height: 40px;
width: 262px;
margin: 5px;
padding: 0 10px;
background: rgba(0, 0, 0, 0.2);
border-radius: 3px;
box-shadow: inset 0px 4px rgba(0, 0, 0, 0.2);
/* Typography */
font-size: 17px;
line-height: 40px;
color: white;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
text-align: right;
letter-spacing: 1px
}
button:hover {
background: #9c89f6;
box-shadow: 0px 4px #6b54d3;
color: white;
}
button.eval:hover {
background: #abb850;
box-shadow: 0px 4px #717a33;
color: #ffffff;
}
button.reset:hover {
background: #f68991;
box-shadow: 0px 4px #d3545d;
color: white;
}
button:active {
box-shadow: 0px 0px #6b54d3;
top: 4px;
}
button.eval:active {
box-shadow: 0px 0px #717a33;
top: 4px;
}
button.reset:active {
top: 4px;
box-shadow: 0px 0px #d3545d;
}