-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
108 lines (96 loc) · 2.42 KB
/
style.css
File metadata and controls
108 lines (96 loc) · 2.42 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
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
108
body {
width: 500px;
margin: 12% auto;
font-family: sans-serif;
letter-spacing: 5px;
font-size: 1.8rem;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
background-image: linear-gradient(180deg, white, black);
background-size: cover;
}
.calculator {
padding: 20px;
-webkit-box-shadow: 5px 5px 5px 5px rgba(0,0,0,0.2);
box-shadow: 10px 10px 10px 10px rgba(0,0,0,0.2);
border-radius: 1px;
}
.input {
border: 1px solid #ddd;
border-radius: 1px;
height: 60px;
padding-right: 15px;
padding-top: 10px;
text-align: right;
margin-right: 6px;
font-size: 2.5rem;
overflow-x: auto;
transition: all .2s ease-in-out;
}
input:hover {
border: 1px solid #bbb;
-webkit-box-shadow: inset 0px 1px 4px 0px rgba(0,0,0,0.2);
box-shadow: inset 0px 1px 4px 0px rgba(0,0,0,0.2);
}
.operators div {
display: inline-block;
border: 1px solid #bbb;
border-radius: 1px;
width: 79px;
text-align: center;
padding: 10px;
margin: 20px 4px 10px 0;
cursor: pointer;
background-color: #ddd;
transition: border-color .2s ease-in-out, background-color .2s, box-shadwo .2s;
}
.operators div:hover {
background-color: #ddd;
-webkit-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.2);
box-shadow:0px 1px 4px 0px rgba(0,0,0,0.2);
border-color: #aaa;
}
.leftPanel {
display: inline-block;
}
.numbers div {
display: inline-block;
border: 1px solid #ddd;
border-radius: 1px;
width: 80px;
text-align: center;
padding: 10px;
margin: 10px 4px 10px 0;
cursor: pointer;
background-color: #f9f9f9;
transition: border-color .2s ease-in-out,background-color .2s, box-shadow .2s;
}
.numbers div:hover {
background-color: #f1f1f1;
-webkit-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.2);
box-shadow:0px 1px 4px 0px rgba(0,0,0,0.2);
border-color: #bbb;
}
div.equal {
display: inline-block;
border: 1px solid #3079ed;
border-radius: 1px;
width: 15%;
text-align: center;
padding: 230px 10px 10px ;
margin: 10px 6px 10px 0;
cursor: pointer;
color: #fff;
background-color: #4d90fe;
transition: all.2s ease-in-out;
}
div.equal:hover {
background-color: #307cf9;
-webkit-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.2);
box-shadow:0px 1px 4px 0px rgba(0,0,0,0.2);
border-color: #1857bb;
}
div.equal:active {
font-weight: bold;
}